From d8e81eb1fb912b2e2a9edc3a9993e9e71a4d269c Mon Sep 17 00:00:00 2001 From: Rupa Lahiri Date: Mon, 26 Feb 2024 23:05:03 +0530 Subject: [PATCH] Change deprecation message for opensearch_ism_policy_mapping (#159) Signed-off-by: Rupa Lahiri --- provider/resource_opensearch_ism_policy_mapping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/resource_opensearch_ism_policy_mapping.go b/provider/resource_opensearch_ism_policy_mapping.go index 62e3d6c..c8fc142 100644 --- a/provider/resource_opensearch_ism_policy_mapping.go +++ b/provider/resource_opensearch_ism_policy_mapping.go @@ -66,7 +66,7 @@ func resourceOpenSearchISMPolicyMapping() *schema.Resource { Create: schema.DefaultTimeout(5 * time.Minute), Update: schema.DefaultTimeout(5 * time.Minute), }, - DeprecationMessage: "opensearch_ism_policy_mapping is deprecated in Opensearch 1.x please use ism_template attribute in policies instead.", + DeprecationMessage: "opensearch_ism_policy_mapping is deprecated in Opensearch 1.x please use the opensearch_ism_policy resource and specify the ism_template attribute in the policies instead.", } }