gray-yak-9058
04/23/2020, 11:36 PMpulumi preview --stack main
, but I am getting this error:
error: failed to load checkpoint: blob (key ".pulumi/stacks/main.json") (code=Unknown): MissingRegion: could not find region configuration
I am running CircleCI locally like this:
circleci local execute \
--job build \
-e AWS_ACCESS_KEY_ID=<redacted>\
-e AWS_SECRET_ACCESS_KEY=<redacted> \
-e AWS_REGION=us-east-1
I'm also using aws as my backend.. any idea why I would be getting this error about a missing region configuration when I am clearly passing in the region as an environment variable?~/.aws/credentials
and ~/.aws/config
files and that works.. Not sure why it doesn't read from the env vars if the credential files aren't therewhite-balloon-205
?region=us-west-2
in the s3 login url if your environment isn’t setup such that this can be found automatically.gray-yak-9058
04/25/2020, 6:03 PM