diff --git a/share/gitea-tekton-org/gitea_hook.tf b/share/gitea-tekton-org/gitea_hook.tf index 882c40f..5bb4423 100644 --- a/share/gitea-tekton-org/gitea_hook.tf +++ b/share/gitea-tekton-org/gitea_hook.tf @@ -47,6 +47,7 @@ resource "restapi_object" "gitea_org_hook" { resource "restapi_object" "ci-user-token" { path = "/users/org-${var.organization}-ci/tokens" create_method = "POST" + id_attribute = "name" data = jsonencode({ name = "${var.organization}-tekton-${var.component}-${var.namespace}-${var.instance}" scopes = [