Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Oct 8, 2024
1 parent 9928be6 commit feaa4d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deleteEnvironment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ echo "Done."
# Run the first round of aws-nuke. It will eventually end up in a loop where it can't delete some resources. This is expected.
# After 100 retries, it will stop and we will run it again.
echo "Starting first round of aws-nuke..."
aws-nuke run -c awsNuke.cfg --quiet --no-dry-run --max-wait-retries 100 --force --log-level error
aws-nuke run -c awsNuke.cfg --quiet --no-dry-run --max-wait-retries 100 --force -l trace
echo "Done."

# Sleep 5 minutes to make sure any lingering resources from the above aws-nuke run are deleted
Expand All @@ -65,7 +65,7 @@ echo "Done."

# Run the second round of aws-nuke. This should delete all remaining resources.
echo "Starting second round of aws-nuke..."
aws-nuke run -c awsNuke.cfg --quiet --no-dry-run --max-wait-retries 300 --force --log-level error
aws-nuke run -c awsNuke.cfg --quiet --no-dry-run --max-wait-retries 300 --force -l trace
echo "Done."

# aws-nuke can't delete the below resources because they are part of a account-wide blacklist in the aws-nuke config
Expand Down

0 comments on commit feaa4d4

Please sign in to comment.