fix
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user