From 61bbf0bd19dc1cee5a634008c9ec572fca8dbad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sun, 21 Apr 2024 16:16:04 +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 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 = [