Skip to content

Commit ae455a4

Browse files
authored
Merge pull request cnoe-io#32 from cnoe-io/fix-kc-region
fix kc region var
2 parents 2b4e135 + 3f0881f commit ae455a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/keycloak.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource "aws_iam_policy" "external-secrets" {
2020
"secretsmanager:ListSecretVersionIds"
2121
],
2222
"Resource": [
23-
"arn:aws:secretsmanager:us-west-2:${data.aws_caller_identity.current.account_id}:secret:cnoe/keycloak/*"
23+
"arn:aws:secretsmanager:${var.region}:${data.aws_caller_identity.current.account_id}:secret:cnoe/keycloak/*"
2424
]
2525
}
2626
]

0 commit comments

Comments
 (0)