From 5d96eb26c62aa86d89f1f11d913b862a0ff4024f Mon Sep 17 00:00:00 2001 From: Francesca De Cicco <55192611+francescadecicco@users.noreply.github.com> Date: Fri, 15 Mar 2024 08:58:05 +0100 Subject: [PATCH] Attach replace - fix (#5204) * updated code * added UT * added UT * fix typo * added DiffSuppressFunc: flex.ApplyOnce, * added Default:false, * added Default:false, * updated documentation * updated documentation * check acceptance test * check acceptance test * check acceptance test * check acceptance test * check acceptance test * check acceptance test * check acceptance test * fix --- ibm/service/globaltagging/resource_ibm_resource_tag_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ibm/service/globaltagging/resource_ibm_resource_tag_test.go b/ibm/service/globaltagging/resource_ibm_resource_tag_test.go index 4af410a6d0..6e2ff26475 100644 --- a/ibm/service/globaltagging/resource_ibm_resource_tag_test.go +++ b/ibm/service/globaltagging/resource_ibm_resource_tag_test.go @@ -112,6 +112,8 @@ func TestAccResourceTag_replace_Basic(t *testing.T) { ResourceName: "ibm_resource_tag.tag", ImportState: true, ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + "replace"}, }, }, }) @@ -126,6 +128,7 @@ func testAccCheckResourceTagCreate_replace(name string) string { plan = "lite" location = "global" + } resource "ibm_resource_tag" "tag" {