From ea4c07b0d85def8072e711d6fc0892d7e56482e6 Mon Sep 17 00:00:00 2001 From: archanaponnada <33832784+archanaponnada@users.noreply.github.com> Date: Mon, 27 Nov 2023 18:30:03 +0530 Subject: [PATCH] issue-13603-fix attachment terraform (#4952) * issue-13603-fix attachment terraform * adding maxitem limit --------- Co-authored-by: ArchanaPonnada --- ibm/service/scc/resource_ibm_scc_profile_attachment.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ibm/service/scc/resource_ibm_scc_profile_attachment.go b/ibm/service/scc/resource_ibm_scc_profile_attachment.go index 7c02d9613a..44ebbe12eb 100644 --- a/ibm/service/scc/resource_ibm_scc_profile_attachment.go +++ b/ibm/service/scc/resource_ibm_scc_profile_attachment.go @@ -109,7 +109,8 @@ func ResourceIbmSccProfileAttachment() *schema.Resource { }, "notifications": { Type: schema.TypeList, - Required: true, + MaxItems: 1, + Optional: true, Description: "The request payload of the attachment notifications.", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{