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.87k stars 9.21k forks source link

[Bug]: Cannot import aws_route53_delegation_set with reference_name #40425

Open vyomkumar opened 12 hours ago

vyomkumar commented 12 hours ago

Terraform Core Version

1.9.2

AWS Provider Version

5.60.0

Affected Resource(s)

aws_route53_delegation_set

Expected Behavior

Import works without deleting/recreating the resource.

Actual Behavior

Terraform plan states that the reference_name option will force recreation of the resource upon import.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "aws_route53_delegation_set" "main" { reference_name = "main" }

import { to = aws_route53_delegation_set.main id = "N07462849572ECPH4JW2B" }

Steps to Reproduce

  1. Create aws_route53_delegation_set with reference_name option set in one module. 2, Run terraform plan to import the aws_route53_delegation_set in another module.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

No

github-actions[bot] commented 12 hours ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue