[Bug]: aws_route53_zone is sorting name_servers #28430
Labels
bug
Addresses a defect in current functionality.
service/route53
Issues and PRs that pertain to the route53 service.
Terraform Core Version
1.3.6
AWS Provider Version
4.47
Affected Resource(s)
Expected Behavior
The attribute name_servers order matches order in NS record.
Actual Behavior
It's explicitly sorting the name_servers:
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/route53/zone.go#L229
This is problematic with (from my use case)
Relevant Error/Panic Output Snippet
Steps to Reproduce
terraform import aws_route53_zone.this 1234
terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
It's been raised multiple times and fixed for various use cases. Sorting is still there unfortunately. Why does this list need to be sorted explicitly?
References
#21965
#3447
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: