Kamal - AWS IAM Users with Multiple Roles #822
Bozazitz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you have an AWS IAM user with multiple roles and need to switch between staging and production for the Kamal registry, here's a quick guide on how to do it efficiently.
deploy.yml
ech-login.sh
Don't forget to make your script executable with:
chmod +x ecr-login.sh
the login will default to staging, make sure the ENVIRONMENT variable is resolving to your application environment being used.
Beta Was this translation helpful? Give feedback.
All reactions