awsam icon indicating copy to clipboard operation
awsam copied to clipboard

AWS Cli requiring AWS_DEFAULT_REGION

Open genofedanzo opened this issue 8 years ago • 2 comments

It seems that there was a change recently with aws cli that is requiring the region to be set. This can be set via env var AWS_DEFAULT_REGION. Since aem add asks for a region can this be exposed as a value for AWS_DEFAULT_REGION?

genofedanzo avatar Nov 01 '17 17:11 genofedanzo

@genofedanzo Yes, this is exposed from aenv:

$ aenv env | grep REGION
AWS_DEFAULT_REGION=us-east-2

mheffner avatar Nov 01 '17 19:11 mheffner

I'm realizing that yesterday when I first looked into this problem I could see that there was shell var for $AWS_DEFAULT_REGION but it was not an env var so it seemed to be ignored by aws cli.

genofedanzo avatar Nov 01 '17 22:11 genofedanzo