You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
if [ -f "./load-keys.sh" ]; then source "./load-keys.sh"; fi
if [ -z ${stackName} ]; then echo "stackName is unset" && exit 1; fi
# delete S3 bucket content for BIG-IP clusters
for i in `aws s3api list-buckets --query "[Buckets][*][?contains(Name, '$stackName')].[Name]" | jq -r .[][][]`;
do
echo $i
aws s3 ls s3://$i
aws s3 rm s3://$i --recursive
done
# find BIG-IP management IP addresses, deprovision internal stacks before external stacks
for ip in `aws cloudformation list-exports --query "Exports[?contains(Name, '$stackName')]|[?contains(Name, 'BIGIP2')]|[?contains(Name, 'Management')].[Value]" | jq -r .[][]`;
for ip in `aws cloudformation list-exports --query "Exports[?contains(Name, '$stackName')]|[?contains(Name, 'BIGIP1')]|[?contains(Name, 'Management')].[Value]" | jq -r .[][]`;