From 77d243153c949e23f3c35eeb6fd2334a60066267 Mon Sep 17 00:00:00 2001 From: Niall Thomson Date: Mon, 16 Dec 2024 14:36:55 -0700 Subject: [PATCH] Fix destroy infrastructure script to ignore delete failure --- hack/destroy-infrastructure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/destroy-infrastructure.sh b/hack/destroy-infrastructure.sh index 6a2342870..4597dcd6f 100644 --- a/hack/destroy-infrastructure.sh +++ b/hack/destroy-infrastructure.sh @@ -14,7 +14,7 @@ aws eks describe-cluster --name "${EKS_CLUSTER_NAME}" &> /dev/null || cluster_ex if [ $cluster_exists -eq 0 ]; then echo "Deleting cluster ${EKS_CLUSTER_NAME}" - bash $SCRIPT_DIR/shell.sh "${environment}" 'delete-environment || true' + bash $SCRIPT_DIR/shell.sh "${environment}" 'delete-environment' || true bash $SCRIPT_DIR/exec.sh "${environment}" 'eksctl delete cluster --name ${EKS_CLUSTER_NAME} --region ${AWS_REGION} --wait --force --disable-nodegroup-eviction --timeout 45m' else