Closed moritzzimmer closed 1 year ago
@prudhvigodithi , please help take a look ,, thanks CC : @phillbaker
@moritzzimmer , thanks for reporting the issue. While the team is looking into it, please feel free to open a PR if you see any solution for it, and we can review and discuss further.. thanks again !
@jordarlu PR is ready for review: https://github.com/opensearch-project/terraform-provider-opensearch/pull/73
What is the bug?
With
2.0.0-beta.1
of the provider, we can't manage our existing Audit logs configuration anymore.Terraform
plan/apply
fails with:I guess this is related to this version check. AFAIK the
/_plugins/_security/api/audit
API is supported in1.x
and2.x
of OpenSearch.How can one reproduce the bug?
Create an
opensearch_audit_config
resource using the1.x
version of this provider and then try to apply again using2.0.0-beta.1
(guess creating such a resource with 2.x will fail as well).What is the expected behavior?
opensearch_audit_config
resources can be managed with terraform against OpenSearch 2.x clusters/domains.What is your host/environment?
AWS OpenSearch domain using
2.7.0
of OpenSearch