-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: aws_lightsail_domain_entry panics on importing assignment #29884
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @pludi 👋 Based on the import documentation for the resource "aws_lightsail_domain_entry" "example" {
domain_name = "mydomain.com"
name = "www"
type = "A"
target = "127.0.0.1"
} ...the terraform import aws_lightsail_domain_entry.example www_mydomain.com_A_127.0.0.1 Can you test with this formatting and verify that the import is successful? |
Yes, that works. Still wouldn't expect a panic if the ID is off. |
This functionality has been released in v4.59.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. |
Terraform Core Version
1.4.0
AWS Provider Version
4.57.1
Affected Resource(s)
aws_lightsail_domain_entry
Expected Behavior
Running
terraform import aws_lightsail_domain_entry.example_domain_entry container.example.com
should import the existing DNS assignment created through the Lightsail web console.Actual Behavior
Provider panics
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
terraform apply -target aws_lightsail_domain.example_domain
to create the domainterraform import terraform import aws_lightsail_domain_entry.example_domain_entry …
Debug Output
No response
Panic Output
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: