Closed blueo closed 1 month ago
related to https://github.com/elastic/terraform-provider-ec/issues/841 - possibly the same problem but I'm seeing it with user settings/keystore settings
closing as it looks like the same root cause as https://github.com/elastic/terraform-provider-ec/issues/841
Readiness Checklist
Expected Behavior
When updating user settings, I would expect to be able to update a deployment's user settings after it is created
Current Behavior
Changing any user settings after a deployment has been created results in an error.
The same error will occur if I manually change a setting via the EC UI and then try and run
terraform apply
again. Seems that terraform only seems to be able to set user settings and not change them.Also - and I'm not sure if it is related - if I change any keystore settings (e.g. adding a new one) I get the same error:
Terraform definition
Main.tf
user_settings_default.yml
Steps to Reproduce
config.user_settings_yaml
option. In this case I've used the contentaction.auto_create_index: true
action.auto_create_index: false
) and runterraform apply
clusters.cluster_settings_change_prohibited: The requested cluster metadata changes are not permitted.
.Context
This is blocking using this provider for managing deployments as no changes to common settings can be made via IaC
Possible Solution
Your Environment
0.10.0
Elastic Cloud SaaS