aws_route53_zone_association seems unable to import association when it is one of many #14884
Labels
bug
Addresses a defect in current functionality.
service/route53
Issues and PRs that pertain to the route53 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.1
Affected Resource(s)
Terraform Configuration Files
Debug Output
This appears to be the cruz of the issue:
Panic Output
N/A
Expected Behavior
The association should be imported. The zone, vpc and region are all properly set.
Actual Behavior
Steps to Reproduce
tf import 'aws_route53_zone_association.private-hosted-zone-use1["one-of-many-domains.example"]' Z123456789ABCD:vpc-aaaaaaaa:us-east-1
Important Factoids
This might be any easy fix... If I'm reading the debug output correctly, it's calling ListHostedZonesByVPC, and receiving a NextToken, but not using it to get further pages. When I run this call via the awscli I note that the afflicted domain, among many, is on subsequent pages of results. Assuming the order is relatively consistent between each call via API and API via CLI, this would explain the mystery.
References
N/A
The text was updated successfully, but these errors were encountered: