Skip to content

Commit 105a97a

Browse files
committed
Fix: override possible
1 parent b21fb4f commit 105a97a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/create-infrastructure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
environment=$1
44
cluster=${2:-all}
5+
export USE_CURRENT_USER=${USE_CURRENT_USER:-1} # We don't want to change the ARN in exec
56
echo "Creating infrastructure for environment ${environment} and cluster ${cluster}"
67

78
set -Eeuo pipefail
@@ -14,7 +15,6 @@ source $SCRIPT_DIR/lib/common-env.sh
1415
bash $SCRIPT_DIR/update-iam-role.sh $environment
1516

1617
sleep 5
17-
export USE_CURRENT_USER=1 # We don't want to change the ARN in exec
1818

1919
cluster_exists=0
2020
aws eks describe-cluster --name "${EKS_CLUSTER_NAME}" &> /dev/null || cluster_exists=$?

0 commit comments

Comments
 (0)