aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

aws route53 --change-resource-record-sets CREATE/DELETE no UPDATE?

Open digitaljedi2 opened this issue 12 years ago • 1 comments

Perhaps I am missing information, but I only see CREATE/DELETE as the only Actions defined in the change-resource-record-sets. I was hoping to have an ability to 'update' a record, without having to delete, and then create.

Is there an action or perhaps there is a different command I should use for updating DNS records

digitaljedi2 avatar Dec 18 '13 19:12 digitaljedi2

Updating resource record sets in Route53 is transactional so you specify all CREATE operations and DELETE operations in one request body. If you want to update an existing record set, you would specify a CREATE operation which describes the new state you want for that record set.

See http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/RRSchanges_API.html for more details.

garnaat avatar Dec 29 '13 14:12 garnaat