fix(terraform): corregir sintaxis HCL en trust policy OIDC
ForAnyValue:StringEquals debe ir entre comillas dentro de jsonencode() para que Terraform lo interprete correctamente. Sin las comillas, terraform init/plan falla con: Missing attribute separator.
This commit is contained in:
@@ -79,7 +79,7 @@ resource "aws_iam_role" "bitbucket_ci_cd" {
|
||||
}
|
||||
Action = "sts:AssumeRoleWithWebIdentity"
|
||||
Condition = {
|
||||
ForAnyValue:StringEquals = {
|
||||
"ForAnyValue:StringEquals" = {
|
||||
"${trimprefix(local.bitbucket_oidc_url, "https://")}:aud" = [
|
||||
"sts.amazonaws.com",
|
||||
"ari:cloud:bitbucket::workspace/${local.bitbucket_workspace_uuid}"
|
||||
|
||||
Reference in New Issue
Block a user