We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b21fb4f commit 105a97aCopy full SHA for 105a97a
1 file changed
hack/create-infrastructure.sh
@@ -2,6 +2,7 @@
2
3
environment=$1
4
cluster=${2:-all}
5
+export USE_CURRENT_USER=${USE_CURRENT_USER:-1} # We don't want to change the ARN in exec
6
echo "Creating infrastructure for environment ${environment} and cluster ${cluster}"
7
8
set -Eeuo pipefail
@@ -14,7 +15,6 @@ source $SCRIPT_DIR/lib/common-env.sh
14
15
bash $SCRIPT_DIR/update-iam-role.sh $environment
16
17
sleep 5
-export USE_CURRENT_USER=1 # We don't want to change the ARN in exec
18
19
cluster_exists=0
20
aws eks describe-cluster --name "${EKS_CLUSTER_NAME}" &> /dev/null || cluster_exists=$?
0 commit comments