terraform-provider-opensearch icon indicating copy to clipboard operation
terraform-provider-opensearch copied to clipboard

[Question] opensearch_ism_policy_mapping

Open mo-saeed opened this issue 1 year ago • 1 comments

Hello,

I have 2 questions regarding terraform resource https://github.com/opensearch-project/terraform-provider-opensearch/blob/main/docs/resources/ism_policy_mapping.md

  • Regarding the deprecation message, I understand that ism_template in the policy definition can pick automatically the new indexes and it works fine but with existing indexes, I assume the ism_policy_mapping resource should be created.
  • if my assumption is correct and ism_policy_mapping should run. is it necessary to define managed_indexes so that when i update the policy it also reflects the managed indexes?

Thanks a lot in advance

mo-saeed avatar Apr 28 '23 09:04 mo-saeed

thanks for bringing this up, @mo-saeed , @prudhvigodithi will comment on this issue.

jordarlu avatar May 09 '23 19:05 jordarlu