-
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
Every time apply is invoked, rebuilds aws_elasticsearch_domain even with no changes #2636
Comments
Hi @nodesocket! Sorry for this weird behavior. Are you able to share the Normalizing IAM policies is a common source of this sort of problem in the AWS provider since each AWS service seems to normalize them slightly differently; we may need to tweak the normalization logic a little to cover changes made by the ElasticSearch service. |
@apparentlymart see the following related issue which has the plan and a change I made recommended by @jbardin. Still having the bug though. |
@nodesocket would you be okay if we consolidated this repository's discussion down to #576 since it seems to be related to that older issue (if its nothing strange happening from your upstream issue). Thanks in advance! |
Sure, consolidating to #576 makes sense. Thanks. |
Thanks, closing this issue given above response. |
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! |
Every time I invoke
terraform apply
even if none of theaws_elasticsearch_domain
properties were changed, Terraform reconfigures the Elasticsearch domain which takes a very long time and requires double the resources and copying all the data.I believe this may be related to passing a dynamic variable into the module for
access_policies
. Is this a known issue?Terraform Version
Terraform v0.11.1
Affected Resource(s)
Terraform Configuration Files
module definition
module instance
The text was updated successfully, but these errors were encountered: