aws-workshop-for-kubernetes icon indicating copy to clipboard operation
aws-workshop-for-kubernetes copied to clipboard

AWS_REGION is not set in the Cloud 9 environment

Open khuey opened this issue 5 years ago • 2 comments

And when you get to https://github.com/aws-samples/aws-workshop-for-kubernetes/tree/master/01-path-basics/102-your-first-cluster#create-the-worker-nodes creating that CloudFormation stack from the Cloud9 environment will fail.

khuey avatar Aug 15 '18 19:08 khuey

The lab-ide-build.sh sets the value of AWS_DEFAULT_REGION, which is the preferred environment variable for aws-cli. Is there a specific need for AWS_REGION to be set?

https://github.com/aws-samples/aws-workshop-for-kubernetes/blob/dac8e1f5bf755cda7e3d16bf2f9f2c80a2997eae/01-path-basics/101-start-here/scripts/lab-ide-build.sh#L34-L36

buzzsurfr avatar Aug 28 '18 13:08 buzzsurfr

Saw this today too when running the workshop. One person (out of ~50) had this issue, and the awscli didn't have a region set. Setting one with aws configure resolved.

PaulMaddox avatar Sep 05 '18 14:09 PaulMaddox