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