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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.