nice-airport-15607
10/24/2019, 5:23 PMstack1
, I’m getting and error when trying to deploy stack2
. I’ve exported my environment via export AWS_PROFILE=staging
and logged into the appropriate s3 endpoint, but I’m getting the following error. Does anyone know what I could be doing wrong?
Error: invocation of aws:cloudformation/getStack:getStack returned an error: unable to discover AWS AccessKeyID and/or SecretAccessKey
.colossal-beach-47527
10/24/2019, 6:32 PM~/.aws/config
file exists, and references the right profiles.
- You might want to have export AWS_SDK_LOAD_CONFIG=1
as well. See:
https://docs.aws.amazon.com/sdk-for-go/api/aws/session/#pkg-indexnice-airport-15607
10/24/2019, 6:35 PMcredentials
file that has the appropriate profiles, should it be in config
?
- I’ll look at the aws load config.
thx.stack1
with no issues, so i know the credentials
work, but when i got to log into stack2
the deploy fails with same creds.AWS_SDK_LOAD_CONFIG
seemed to have worked… not sure why yet, but I’ll look into that option. thx.