aws-workshop-for-kubernetes
aws-workshop-for-kubernetes copied to clipboard
AWS_REGION is not set in the Cloud 9 environment
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.
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
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.