When applying changes to opensearch_dashboard_object resources in multiple tenants, the provider produced inconsistent results after apply. The following error is thrown for random resources, and multiple runs of terraform apply are required to successfully create all resources:
Error: Provider produced inconsistent result after apply
When applying changes to opensearch_dashboard_object, provider "provider[\"registry.terraform.io/opensearch-project/opensearch\"]" produced an unexpected new value: Root resource was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
How can one reproduce the bug?
Define multiple opensearch_dashboard_object in a Terraform configuration.
Run terraform apply to create the resources.
What is the bug?
When applying changes to opensearch_dashboard_object resources in multiple tenants, the provider produced inconsistent results after apply. The following error is thrown for random resources, and multiple runs of terraform apply are required to successfully create all resources:
How can one reproduce the bug?
Define multiple opensearch_dashboard_object in a Terraform configuration. Run terraform apply to create the resources.
Example:
What is the expected behavior?
All opensearch_dashboard_object resources should be created successfully in a single run of terraform apply without producing inconsistent results.
What is your host/environment?
Operating System: macOS Terraform Version: 1.4 OpenSearch Provider Version: 2.3.1 Do you have any screenshots?
Do you have any additional context?
No.