[Bug]: aws_route53_zone return invalid name_servers when private hosted zone #37681
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/route53
Issues and PRs that pertain to the route53 service.
service/vpc
Issues and PRs that pertain to the vpc service.
Milestone
Terraform Core Version
1.8.4
AWS Provider Version
5.51.0
Affected Resource(s)
aws_route53_zone
Expected Behavior
A list of name servers will be returned.
Actual Behavior
A list of record sets is returned.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
terraform apply
and output below.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
https://github.com/hashicorp/terraform-provider-aws/blob/v5.51.0/internal/service/route53/zone.go#L434-L436
It is returning the names of a record sets.
It should be returning the values of the first record set.
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: