hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.64k stars 9.02k forks source link

[Bug]: Unable to import aws_route53_record if existing record is a geolocation record #35987

Open tom10271 opened 4 months ago

tom10271 commented 4 months ago

Terraform Core Version

1.7.0

AWS Provider Version

5.31.0

Affected Resource(s)

resource "aws_route53_record" "exist_already" {
    alias {
        evaluate_target_health = false
        zone_id                = aws_lb.alb.zone_id
        name                   = aws_lb.alb.dns_name
    }

    zone_id = "Z123123"
    name    = "my.example.com"
    type    = "A"
}

Expected Behavior

Work

Actual Behavior

X work

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

?

Steps to Reproduce

terraform import 'aws_route53_record.exist_already' Z123123_my.example.com_A

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 4 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 4 months ago

Hey @tom10271 👋 Thank you for taking the time to raise this! Can you supply debug logging (redacted as necessary), or a bit more information about the error message that you received?