Open
Description
What is the bug?
When deleting an opensearch_cluster_settings
resource, it destructively clobbers all settings back to defaults:
which goes to this request that wipes all settings:
This means that if someone wants to stop using opensearch_cluster_settings
to manage cluster settings for any reason and delete it, they will end up wiping all of their cluster's settings. This is a) extremely surprising and b) ...not great if you were planning on continuing to use that cluster.
Is there a reason why this has to happen at all at delete time? Could that step potentially be removed?
How can one reproduce the bug?
- Create an OS cluster
- Tweak any settings manually
- Add
opensearch_cluster_settings
- Remove
opensearch_cluster_settings
What is the expected behavior?
Settings don't change when removing opensearch_cluster_settings
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New