-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform import aws_route53_record fails if identifier has an underscore #16213
Comments
Any movement on this issue? I need to import 600+ DNS records and this problem is really grinding things to a halt. |
I have run into this same problem, but it's weird.
|
If you downgrade to version 3.56 of the AWS provider, imports with underscores will complete successfully. After importing, you can upgrade the provider again without issue. It looks like the regression was introduced in #13453.
|
This functionality has been released in v3.72.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This issue was originally opened by @vonschnappi as hashicorp/terraform#26930. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform v0.13.5
Affected Resource
aws_route53_record
Terraform Configuration Files
Expected Behavior
Terraform should be able to import route53 records whose identifier contains an underscore, for example
id_01
.Actual Behavior
Terraform exits with an error:
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
id_01
.main.tf
config file.terraform init
.terraform import aws_route53_record.tf_record_company_com_A XXXXXXXXXXX_ record.company.com_A_id_01
.References
It seems that this issue has already been raised and solved
The text was updated successfully, but these errors were encountered: