-
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
Adding ES domain to VPC should force a new resource #2136
Comments
@Ninir, I have some important feedback about #2157 as the original author of the VPC support for Elasticsearch; I do not think that If you want to add a However, if you want to modify the fields of a Is there a option similar to |
Hi @handlerbot As you said, and due to the way ForceNew is implemented, this case will only ForceNew if:
If one of the |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
If VPC configuration settings are added to an extant
aws_elasticsearch_domain
, Terraform should force the creation of a new domain, rather than attempting to modify the existing one in-place, as AWS Elasticsearch does not currently support migrating a public ES domain into a VPC.For example, if I deploy the following configuration:
And subsequently modify the configuration and try to redeploy it:
VPC support is new to AWS Elasticsearch, and has only been supported since v1.2.0 of terraform-provider-aws (see #2010 and #2013 for details)
The text was updated successfully, but these errors were encountered: