Skip to content

Commit

Permalink
delete cbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Oct 9, 2024
1 parent 29b323c commit cc3c78d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/deleteEnvironment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ terragrunt destroy -var-file ../$ENVIRONMENT.tfvars --terragrunt-non-interactive
popd
echo "Done."

# Delete Cloud Based Sensor Bucket
echo "Deleting Cloud Based Sensor S3 Bucket..."
pushd ../env/$ENVIRONMENT/common
terragrunt destroy -var-file ../$ENVIRONMENT.tfvars --target module.cbs_logs_bucket --terragrunt-non-interactive -auto-approve
popd
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..."
Expand Down

0 comments on commit cc3c78d

Please sign in to comment.