-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route53 cannot delete A record set without RRL #3161
Comments
Hi @omriman12, Sorry to hear you're having an issue. I would need to see the debug logs generated when you turn on debugging with |
@kdaily here are the debug logs:
|
Apologies for the delay. According to the documentation (which is generated from the API documentation):
So, TTL would be required, and you may not be able to use the default value. Since this is the expected behavior, I'll close this out! If you have further questions on how the Route53 service works, I would suggest the re:Post forums, or to open a ticket with AWS support through the AWS Console. Thanks! |
|
Describe the bug
Cannot delete A record without or with TTL value.
Providing TTL=null results in:
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=somedomain, Type=A, SetIdentifier=null]
When not providing TTL, module uses default of 3600
Providing default ttl result in:
An error occurred (InvalidChangeBatch) when calling the ChangeResourceRecordSets operation: [Tried to delete resource record set [name='somedomain.', type='A'] but the rdata provided is invalid]
I have noticed a similar issue created here in ansible repo:
ansible-collections/community.aws#800
The text was updated successfully, but these errors were encountered: