Open Wyifei opened 1 year ago
Hey @Wyifei, I have a PR for provider 2.x support https://github.com/opensearch-project/terraform-provider-opensearch/pull/62, I made some code changes related to index templates, is there a way you can test this please? Thank you
What is the bug?
A clear and concise description of the bug.
How can one reproduce the bug?
Steps to reproduce the behavior.
tf as below: resource "opensearch_index_template" "template_1" { name = "test" body = <<EOF { "index_patterns": [ "logs*" ], "template": { "settings": { "number_of_shards": 2, "number_of_replicas": 2 }, "mappings": { "properties": {} } } } EOF }
terraform could apply the change, but can't find the corresponding template in OpenSearch-Index Management-Template menu.
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.