From da9c4d053660c67bba5484705a1321c53d0172db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 21 Apr 2024 16:12:23 +0200 Subject: [PATCH] fix --- share/gitea-tekton-org/gitea_hook.tf | 1 + 1 file changed, 1 insertion(+) 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 = [