Skip to content

Instantly share code, notes, and snippets.

@dpvpro
dpvpro / aws_route53_delete.sh
Last active September 7, 2021 21:23 — forked from earljon/aws_route53_delete.sh
Delete a Route 53 Record Set in AWS CLI
#!/bin/sh
# NOTE:
# Make sure that the value of Name, Type, TTL are the same with your DNS Record Set
HOSTED_ZONE_ID="ZCOKAAJ9UMS0T"
DNS_NAME="\\\\052.dev1.danwerspb.devops.rebrain.srwx.net"
RECORD_TYPE="A"
TTL=300
RESOURCE_VALUE="92.53.91.116"