I want to write a bash script to delete the subdomain name in Route 53.
I have given access to my ec2 server by using
$ echo "[Credentials]" > ~/.boto
$ echo "AWS_ACCESS_KEY_ID=key" >> ~/.boto
$ echo "AWS_SECRET_ACCESS_KEY=secret" >> ~/.boto
$ chmod 640 ~/.boto
Now,I am using cli53 rrdelete subdomain_name CNAME
command on my ubuntu server but got
"usage: cli53 rrdelete [-h] [-i IDENTIFIER] [--wait] zone rr [{A,AAAA,CNAME,SOA,NS,MX,PTR,SPF,SRV,TXT,ALIAS}] cli53 rrdelete: error: argument zone: Zone 'stagingmunnar1.bizom.in' not found"
error. So,Kindly let me know how to use this command to delete my subdomain in AWS Route 53.