I am trying to deploy to staging account with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY that works
but when I am trying to deploy to prod and change them it does not.
Any help/workaround
I found a workaround
Staging Step
- aws configure set aws_access_key_id $STAGING_AWS_ACCESS_KEY_ID
- aws configure set aws_secret_access_key $STAGING_AWS_SECRET_ACCESS_KEY
- aws configure set default.region $AWS_DEFAULT_REGION
Prod Step
- aws configure set aws_access_key_id $PROD_AWS_ACCESS_KEY_ID
- aws configure set aws_secret_access_key $PROD_AWS_SECRET_ACCESS_KEY
- aws configure set default.region $AWS_DEFAULT_REGION
The product should provide the ability the add Environment Var per Stage
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.