diff --git a/share/organisation/ci-space.tf b/share/organisation/ci-space.tf index deddca6..3f76bae 100644 --- a/share/organisation/ci-space.tf +++ b/share/organisation/ci-space.tf @@ -83,7 +83,7 @@ resource "kubernetes_secret_v1" "ci-user-token-secret" { data = { url = "gitea-http.${var.domain}-ci.svc:3000" username = gitea_user.user-ci[0].username - token = resource.gitea_token.ci-user-token.token + token = resource.gitea_token.ci-user-token[0].token } }