Skip to content

Commit 5be568c

Browse files
authored
Merge pull request aws-samples#503 from nickksun/fix
[Fix] - Renamed "AWS_MASTER_STACK" to "AWS_STACK_NAME" when creating
2 parents 4fdd242 + f73c0a1 commit 5be568c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

01-path-basics/101-start-here/scripts/lab-ide-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export EKS_SERVICE_ROLE=$(aws cloudformation describe-stacks --stack-name $AWS_M
5555
# Persist lab variables
5656
echo "AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION" >> ~/.bashrc
5757
echo "AWS_AVAILABILITY_ZONES=$AWS_AVAILABILITY_ZONES" >> ~/.bashrc
58+
echo "AWS_STACK_NAME=$AWS_STACK_NAME" >> ~/.bashrc
5859
echo "AWS_MASTER_STACK=$AWS_MASTER_STACK" >> ~/.bashrc
5960
echo "KOPS_STATE_STORE=$KOPS_STATE_STORE" >> ~/.bashrc
6061

01-path-basics/102-your-first-cluster/readme.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ To launch your worker nodes, run the following CloudFormation CLI command:
6666
--stack-name k8s-workshop-worker-nodes \
6767
--template-url https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/amazon-eks-nodegroup.yaml \
6868
--capabilities "CAPABILITY_IAM" \
69-
--parameters "[{\"ParameterKey\": \"KeyName\", \"ParameterValue\": \"${AWS_MASTER_STACK}\"},
69+
--parameters "[{\"ParameterKey\": \"KeyName\", \"ParameterValue\": \"${AWS_STACK_NAME}\"},
7070
{\"ParameterKey\": \"NodeImageId\", \"ParameterValue\": \"${EKS_WORKER_AMI}\"},
7171
{\"ParameterKey\": \"ClusterName\", \"ParameterValue\": \"k8s-workshop\"},
7272
{\"ParameterKey\": \"NodeGroupName\", \"ParameterValue\": \"k8s-workshop-nodegroup\"},
7373
{\"ParameterKey\": \"ClusterControlPlaneSecurityGroup\", \"ParameterValue\": \"${EKS_SECURITY_GROUPS}\"},
7474
{\"ParameterKey\": \"VpcId\", \"ParameterValue\": \"${EKS_VPC_ID}\"},
7575
{\"ParameterKey\": \"Subnets\", \"ParameterValue\": \"${EKS_SUBNET_IDS}\"}]"
7676

77-
The `AWS_MASTER_STACK`, `EKS_WORKER_AMI`, `EKS_VPC_ID`, `EKS_SUBNET_IDS`, and `EKS_SECURITY_GROUPS` environment variables should have been set during the link:../101-start-here[Cloud9 Environment Setup].
77+
The `AWS_STACK_NAME`, `EKS_WORKER_AMI`, `EKS_VPC_ID`, `EKS_SUBNET_IDS`, and `EKS_SECURITY_GROUPS` environment variables should have been set during the link:../101-start-here[Cloud9 Environment Setup].
7878

7979
Node provisioning usually takes less than 5 minutes. You can query the status of your cluster with the following command. When your cluster status is `CREATE_COMPLETE`, you can proceed.
8080

0 commit comments

Comments
 (0)