-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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]: Unable to import existing registered domain into aws_route53domains_registered_domain #38279
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
doesn't support import on your provider version https://registry.terraform.io/providers/hashicorp/aws/4.67.0/docs/resources/route53domains_registered_domain |
Thank you! |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
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.9.1
AWS Provider Version
4.67.0
Affected Resource(s)
aws_route53domains_registered_domain
Expected Behavior
The documentation here (bottom of page) indicates that existing registered domains may be imported.
Actual Behavior
When I run
terraform plan
I get the following error message:Relevant Error/Panic Output Snippet
Terraform Configuration Files
main.tf
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.16"
}
}
required_version = ">= 1.2.0"
}
route_53_registered_domains.tf
import {
to = aws_route53domains_registered_domain.mydomainhere_com
id = "mydomainhere.com"
}
resource "aws_route53domains_registered_domain" "mydomainhere_com" {
domain_name = "mydomainhere.com"
name_server {
name = "ns-1654.awsdns-14.co.uk"
}
name_server {
name = "ns-667.awsdns-19.net"
}
name_server {
name = "ns-271.awsdns-33.com"
}
name_server {
name = "ns-1271.awsdns-30.org"
}
}
Steps to Reproduce
terraform plan
Debug Output
No response
Panic Output
No response
Important Factoids
This issue could be related to #37670
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53domains_registered_domain#import
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: