-
Notifications
You must be signed in to change notification settings - Fork 89
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
Infinite ec_deployment.elasticsearch.config drift when using ec 0.6.0 and terraform 1.4.0 #599
Comments
Same problematic behavior with ec 0.7.0, terraform 1.4.6. |
@tobio will this issue be part of the next milestone? |
It doesn't look like we've committed to a timeframe on this issue as yet sorry @Zawadidone. |
We downgraded terraform from v1.4.x to v1.3.9 for this about 4 weeks ago, and it worked for a while. Our terraform sets up two separate deployments. One started showing this problem in a few days, the other just started doing it this week.
This is terraform v1.3.9 and elastic/ec 0.7.0. |
I have the same issue |
I have a similar issue on Terraform
The ids stay the same between the deployments, so I am not sure what triggers the change in the first place. |
We have the same issue. Despite there are no changes in the Terraform configuration, every time we run a plan o apply, we have the following result: ~ resource "ec_deployment" "deployment" {
+ apm_secret_token = (sensitive value)
~ elasticsearch = {
~ cloud_id = "<cloud_id_value>" -> (known after apply)
~ http_endpoint = "<http_endpoint_value>" -> (known after apply)
~ https_endpoint = "<https://endpoint:443>" -> (known after apply)
~ resource_id = "<resource_id_value" -> (known after apply)
# (11 unchanged attributes hidden)
}
id = "<id_value>"
name = "<name>"
# (8 unchanged attributes hidden)
} Terraform Version: 1.5.2 The id values remain the same. |
We have the same issue:
|
same issue |
A fix for this was released with 0.8.0 yesterday |
Thanks @tobio it solved the error for me. |
The same for me. Thank you for fixing this issue! |
Readiness Checklist
Expected Behavior
It should not try to recreate the cluster if we don't have any
ec_deployment.elasticsearch.config
set.Current Behavior
With:
I get this infinite diff:
And with
I get:
and finally without any
config
block I get:We don't have any way out with tf 1.4 and ec 0.6.
Steps to Reproduce
Possible Solution
So we have workarounds for now, but we had to rollback from ec v0.6.0 back to ec v0.5.1 to be able to upgrade terraform to v1.4
Your Environment
The text was updated successfully, but these errors were encountered: