Skip to content

Commit ee6304e

Browse files
authored
Add wait when deleting cluster to wait for cloudformation stacks to delete (#876)
1 parent 53a99c3 commit ee6304e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/uninstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ EKSCTL_TIMEOUT=45m
2020

2121
echo -e "spinning down the cluster ...\n"
2222

23-
eksctl delete cluster --name=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION --timeout=$EKSCTL_TIMEOUT
23+
eksctl delete cluster --wait --name=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION --timeout=$EKSCTL_TIMEOUT
2424

2525
echo -e "\n✓ please check CloudFormation to ensure that all resources for the ${CORTEX_CLUSTER_NAME} cluster eventually become successfully deleted: https://console.aws.amazon.com/cloudformation/home?region=${CORTEX_REGION}#/stacks?filteringText=-${CORTEX_CLUSTER_NAME}-"

0 commit comments

Comments
 (0)