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?
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
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
https://github.com/hashicorp/terraform-provider-aws/issues/21965 https://github.com/hashicorp/terraform-provider-aws/issues/3447
Would you like to implement a fix?
None