From 934652b89d25ba2beaa61921fa9e3d2d538a0b6a Mon Sep 17 00:00:00 2001 From: Randy DeFauw Date: Tue, 16 Oct 2018 10:07:35 -0600 Subject: [PATCH] Add a note about setting the region via 'aws configure' if necessary. Fixes #543. --- 01-path-basics/102-your-first-cluster/readme.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/01-path-basics/102-your-first-cluster/readme.adoc b/01-path-basics/102-your-first-cluster/readme.adoc index 3b3bba51..1e94a32a 100644 --- a/01-path-basics/102-your-first-cluster/readme.adoc +++ b/01-path-basics/102-your-first-cluster/readme.adoc @@ -50,6 +50,12 @@ Create a Kubernetes cluster using the following command. Run it in the "bash" te --resources-vpc-config subnetIds=${EKS_SUBNET_IDS},securityGroupIds=${EKS_SECURITY_GROUPS} \ --kubernetes-version 1.10 +Note: If you receive the error message: +``` +You must specify a region. You can also configure your region by running "aws configure". +``` +Run `aws configure` and specify the region you are working in. You do not have to enter a value for the other prompts. + The `EKS_SERVICE_ROLE`, `EKS_SUBNET_IDS`, and `EKS_SECURITY_GROUPS` environment variables should have been set during the link:../101-start-here[Cloud9 Environment Setup]. Cluster provisioning usually takes less than 10 minutes. You can query the status of your cluster with the following command. When your cluster status is `ACTIVE`, you can proceed.