terraform-provider-opensearch
terraform-provider-opensearch copied to clipboard
opensearch_monitor reports changes in query_level_trigger.id and query_level_trigger.actions.*.id after creation
What is the bug?
opensearch_monitor reports changes in query_level_trigger.id and query_level_trigger.actions.*.id after creation
How can one reproduce the bug?
create resource opensearch_monitor with triggers and actions definition as below; "terraform apply" to create the resource; "terraform plan" will show a change
... triggers = [ { query_level_trigger = { actions = [ { ... } ] } } ] ...
What is the expected behavior?
no changes should be reported after opensearch_monitor creation.
What is your host/environment?
MacOS Monterey, 12.2.1
Do you have any screenshots?
+1 I am seeing similar behavior using version 2.0.0
of the provider with Opensearch 2.9 cluster
There's a PR to fix this - https://github.com/opensearch-project/terraform-provider-opensearch/pull/50