Skip to content
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

Attempting to create stack in incorrect region #3

Closed
filipeestacio opened this issue Nov 7, 2024 · 2 comments
Closed

Attempting to create stack in incorrect region #3

filipeestacio opened this issue Nov 7, 2024 · 2 comments

Comments

@filipeestacio
Copy link
Contributor

I have an organization in EU-WEST-2. When attempting to run this script with NPX, I notice that it reads the identity-store-id correctly (so assuming that it is understanding that my AWS region has been set correctly in the environment variables). However it is trying to create the SsoAssignments stack in EU-WEST-1 and failing because it can't find the identity-store-id in that region.

@filipeestacio
Copy link
Contributor Author

I think I found the issue. In templates/sso-assignments-base.yml.njk, on line 12, the region is hardcoded as eu-west-1. If you're happy for me to contribute, I'll try to submit a PR to add the ability to pass the correct region into the template. Is there a preferred way to get the region? Maybe through a flag when running the script or from environment variables?

@lmammino
Copy link
Owner

lmammino commented Nov 9, 2024

Closed by #4

@lmammino lmammino closed this as completed Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants