Skip to content

Commit

Permalink
Adding destroy script
Browse files Browse the repository at this point in the history
  • Loading branch information
sijo5722-2021 committed Mar 12, 2024
1 parent ae91100 commit ed89b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control-center-cleanup.sh → destroy-control-center.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ then
export IAC_TERRAFORM_MODULES_TAG=$1
else
echo "Please pass IAC_TERRAFORM_MODULES_TAG as the first parameter"
echo "Usage cleanup.sh IAC_TERRAFORM_MODULES_TAG AWS_PROFILE [WORKDIR]"
echo "Usage destroy-control-center.sh IAC_TERRAFORM_MODULES_TAG AWS_PROFILE [WORKDIR]"
exit 1
fi
if [ -n "$2" ]
then
export AWS_PROFILE=$2
else
echo "Please pass AWS_PROFILE as the second parameter"
echo "Usage cleanup.sh IAC_TERRAFORM_MODULES_TAG AWS_PROFILE [WORKDIR]"
echo "Usage destroy-control-center-cleanup.sh IAC_TERRAFORM_MODULES_TAG AWS_PROFILE [WORKDIR]"
exit 1
fi

Expand Down

0 comments on commit ed89b33

Please sign in to comment.