This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ./r53-wipe domain.com | |
| # chmod +x r53-wipe.sh | |
| # sudo apt install jq | |
| # Description: This is a basic script to remove hosted zones from r53. It's a real pain in the ass when you have to do it manually. | |
| for domain in "$@"; do | |
| echo "removing $domain and it's records ... " | |
| hosted_zone_id=$(aws route53 list-hosted-zones --output text --query 'HostedZones[?Name==`'$domain'.`].Id') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $( document ).on('submit_success', function( event, response ){ | |
| if ( response.data ) { | |
| console.log( response ); | |
| console.log( response.data ); | |
| console.log( response.data.form_name ); | |
| } | |
| }); | |
| </script> |
NewerOlder