Skip to content

Conversation

@gavinnhh
Copy link
Contributor

@gavinnhh gavinnhh commented Mar 3, 2025

Allow script to continue deleting other resources even if delete cluster failed.
Also add to wait for cluster deletion.

Issue #, if available:

Cluster teardown in tekton pipeline exit early due to cluster not found and hence never reached to delete VPC and other resources. Cluster delete step should not exit early or block the entire teardown workflow.

Description of changes:
Add set +e to allow the script to continue execution even if a command fails.
Add wait command to wait for cluster deletion in case VPC stack deletion fail due to resources like subnet still attached to cluster.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@mengqiy mengqiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hakuna-matatah hakuna-matatah merged commit f27971f into awslabs:main Mar 4, 2025
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants