-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS region is hard coded in the IAM Policy for Keyclock (keyclock.tf) #20
Comments
Maybe related, but tried to isntall ref architecture, and hist the following : |
takes a bit of time for the idpbuilder to reconcile and register |
I just see the postgresql failed also, seems i need to install ebs csi driver |
with that it works, but I also patch the terraform to use my region, not sure if it was needed or not |
in fact it does not progress: kubectl_manifest.application_argocd_keycloak: Still creating... [21m50s elapsed] while the ArgoCD keycload Application seems healthy: argocd keycloak Synced Healthy |
AWS region is hard coded to
us-west-2
when creating the IAM policy for keyclock. If the user chooses to deploy the reference architecture in a different AWS region, the KeyClock IAM policy still looks for a secret inus-west-2
which does not exist and breaks the implementation.Proposed Solution:
"arn:aws:secretsmanager:us-west-2:${data.aws_caller_identity.current.account_id}:secret:cnoe/keycloak/*"
should be replaced by"arn:aws:secretsmanager:${var.region}:${data.aws_caller_identity.current.account_id}:secret:cnoe/keycloak/*"
The text was updated successfully, but these errors were encountered: