-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Support Import aws_elasticache_cluster #8325
Conversation
Hi @AMeng Thanks for the PR here - right now, this won't work with our nightly tests. We run our tests against us-west-2 and the config for the cluster you are importing points to us-east-1 therefore, as part of the import test you need to follow the pattern laid out here https://github.com/hashicorp/terraform/blob/master/builtin/providers/aws/import_aws_db_security_group_test.go#L11 You can then run the acceptance tests as follows:
This will give you the output as to whether the test will run or not thanks Paul |
I'm getting an error running those acceptance tests. My AWS account is VPC-enabled.
|
@AMeng seems that the top-level |
Also noticed that the "security_group_ids" were not imported into the state file which causes my plan to come back with a change ~ aws_elasticache_cluster.my-cluster
security_group_ids.#: "" => "<computed>" |
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Add support for importing AWS ElastiCache clusters.
Testing with newly compiled binary:
Results in this
terraform.tfstate
file: