-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Provider cannot delete a Route53 SOA record if it is an updated one (bug introduced in v51.0) #37863
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I think this will be addressed via #37850. Will investigate. |
Verified that this is fixed by #37850 and will be available in Terraform AWS Provider v5.53.0, likely released later today. v5.52.0
v5.53.0
|
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v5.53.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.5.7
AWS Provider Version
5.51.0, 5.52.0
Affected Resource(s)
aws_route53_record
Expected Behavior
terraform destroy
should delete Route53 SOA record that was once updatedActual Behavior
terraform destroy
fails during deletionRelevant Error/Panic Output Snippet
Plan: 0 to add, 0 to change, 2 to destroy. aws_route53_record.public_hosted_zone_soa: Destroying... [id=Z0445041PSEGKXJCF4XF_comservice-99-9999999999.aws.lpsolutions.com_SOA] ╷ │ Error: deleting Route53 Record (Z0445041PSEGKXJCF4XF_comservice-99-9999999999.aws.lpsolutions.com_SOA): operation error Route 53: ChangeResourceRecordSets, https response error StatusCode: 400, RequestID: fbced44d-4b8d-4d8c-bc11-f40bf15a2c59, InvalidChangeBatch: [A HostedZone must contain exactly one SOA record.]
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
Consider this line in the SOA record:
allow_override = true
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: