avatarTeri Radichel

Summary

The website content describes a technical issue encountered while attempting to delete a CNAME record in AWS Route 53 and the subsequent creation of a blog post detailing the solution using the AWS CLI.

Abstract

The author, Teri Radichel, experienced an error when trying to delete a CNAME DNS record in AWS Route 53. The error message indicated that the request was invalid because it lacked the necessary parameters such as AliasTarget, TTL, ResourceRecords, or TrafficPolicyInstanceId. This led Radichel to explore the complexity of deleting a DNS record using the AWS CLI, which she found to be more involved than expected. As a result, she authored a comprehensive blog post titled "Delete a DNS Record in a Hosted Zone with the AWS CLI," which addresses the challenges and provides guidance on the process. The post emphasizes that the task is not as straightforward as one might assume. Additionally, Radichel invites readers to follow her for updates and to explore her other works, including cybersecurity books, presentations, and her recognition as a SANS Award recipient, AWS Security Hero, and IANS Faculty member.

Opinions

  • The author suggests that the process of deleting a DNS record via the AWS CLI is unexpectedly complex.
  • Radichel implies that there might be a more straightforward method for deleting a DNS record, possibly involving an id or similar identifier.
  • The blog post is presented as a valuable resource for those facing similar issues with AWS Route 53 DNS record deletion.
  • The author's credentials and expertise in cybersecurity are highlighted to establish credibility and encourage engagement with her content and services.

Invalid request: Expected exactly one of [AliasTarget, all of [TTL, and ResourceRecords], or TrafficPolicyInstanceId]

but found none in Change with [Action=DELETE, Name=x., Type=CNAME, SetIdentifier=null]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics | Code.

🔒 Related Stories: Bugs | AWS Security | Secure Code | CloudFormation

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Got this error trying to delete a CNAME record in AWS Route53.

An error occurred (InvalidInput) when calling the ChangeResourceRecordSets operation: Invalid request: Expected exactly one of [AliasTarget, all of [TTL, and ResourceRecords], or TrafficPolicyInstanceId], but found none in Change with [Action=DELETE, Name=x., Type=CNAME, SetIdentifier=null]

That led me to write a whole blog post on one single function — deleting a DNS record using the AWS CLI.

Doesn’t seem like this should be so involved?

Not sure if there’s a way to get an id or something to make this easier but this is how I did it:

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2023

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
Error Message
Route 53
Aws Cli
Aliastarget
Ttl
Recommended from ReadMedium