Skip to content

Commit 73acf9c

Browse files
committed
fix: rename auto cluster to eks-workshop-SUFFIX-auto for IAM policy compatibility
1 parent 62b2b9c commit 73acf9c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

hack/lib/common-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -z "$environment" ]; then
55
export EKS_CLUSTER_AUTO_NAME="eks-workshop-auto"
66
else
77
export EKS_CLUSTER_NAME="eks-workshop-${environment}"
8-
export EKS_CLUSTER_AUTO_NAME="eks-workshop-auto-${environment}"
8+
export EKS_CLUSTER_AUTO_NAME="eks-workshop-${environment}-auto"
99
fi
1010

1111
AWS_REGION=${AWS_REGION:-""}

lab/bin/reset-environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ if [ ! -z "$module" ]; then
148148
mkdir -p /eks-workshop/terraform-data
149149
export TF_DATA_DIR="/eks-workshop/terraform-data"
150150
export TF_VAR_eks_cluster_id="$EKS_CLUSTER_NAME"
151+
export TF_VAR_eks_cluster_auto_id="$EKS_CLUSTER_AUTO_NAME"
151152
export TF_VAR_resources_precreated="false"
152153

153154
tf_dir=$(realpath --relative-to="$PWD" '/eks-workshop/terraform')

0 commit comments

Comments
 (0)