From c4167bd6e65d83b1a162f3ccbefe008d33a2d3ee Mon Sep 17 00:00:00 2001 From: Kobi Samoray Date: Mon, 8 Jul 2024 10:39:31 +0300 Subject: [PATCH] Skip sharing tests for v4.1.0 As NSX v4.1.0 sharing API is different than later versions. Signed-off-by: Kobi Samoray --- nsxt/resource_nsxt_policy_share_test.go | 4 ++-- nsxt/resource_nsxt_policy_shared_resource_test.go | 4 ++-- website/docs/r/policy_share.html.markdown | 1 + website/docs/r/policy_shared_resource.html.markdown | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nsxt/resource_nsxt_policy_share_test.go b/nsxt/resource_nsxt_policy_share_test.go index a5c43a15b..129d2bb92 100644 --- a/nsxt/resource_nsxt_policy_share_test.go +++ b/nsxt/resource_nsxt_policy_share_test.go @@ -28,7 +28,7 @@ func TestAccResourceNsxtPolicyShare_basic(t *testing.T) { PreCheck: func() { testAccPreCheck(t) testAccOnlyLocalManager(t) - testAccNSXVersion(t, "4.1.0") + testAccNSXVersion(t, "4.1.1") }, Providers: testAccProviders, CheckDestroy: func(state *terraform.State) error { @@ -71,7 +71,7 @@ func TestAccResourceNsxtPolicyShare_importBasic(t *testing.T) { PreCheck: func() { testAccPreCheck(t) testAccOnlyLocalManager(t) - testAccNSXVersion(t, "4.1.0") + testAccNSXVersion(t, "4.1.1") }, Providers: testAccProviders, CheckDestroy: func(state *terraform.State) error { diff --git a/nsxt/resource_nsxt_policy_shared_resource_test.go b/nsxt/resource_nsxt_policy_shared_resource_test.go index 6523d7133..ab0a60e9d 100644 --- a/nsxt/resource_nsxt_policy_shared_resource_test.go +++ b/nsxt/resource_nsxt_policy_shared_resource_test.go @@ -29,7 +29,7 @@ func TestAccResourceNsxtPolicySharedResource_basic(t *testing.T) { PreCheck: func() { testAccPreCheck(t) testAccOnlyLocalManager(t) - testAccNSXVersion(t, "4.1.0") + testAccNSXVersion(t, "4.1.1") }, Providers: testAccProviders, CheckDestroy: func(state *terraform.State) error { @@ -72,7 +72,7 @@ func TestAccResourceNsxtPolicySharedResource_importBasic(t *testing.T) { PreCheck: func() { testAccPreCheck(t) testAccOnlyLocalManager(t) - testAccNSXVersion(t, "4.1.0") + testAccNSXVersion(t, "4.1.1") }, Providers: testAccProviders, CheckDestroy: func(state *terraform.State) error { diff --git a/website/docs/r/policy_share.html.markdown b/website/docs/r/policy_share.html.markdown index 463fe52c5..62d171672 100644 --- a/website/docs/r/policy_share.html.markdown +++ b/website/docs/r/policy_share.html.markdown @@ -9,6 +9,7 @@ description: A resource to configure a Share. This resource provides a method for the management of a Share. This resource is applicable to NSX Policy Manager. +This resource is supported with NSX 4.1.1 onwards. ## Example Usage diff --git a/website/docs/r/policy_shared_resource.html.markdown b/website/docs/r/policy_shared_resource.html.markdown index b2f8025b3..5af9d6fb2 100644 --- a/website/docs/r/policy_shared_resource.html.markdown +++ b/website/docs/r/policy_shared_resource.html.markdown @@ -9,6 +9,7 @@ description: A resource to configure a Shared Resource. This resource provides a method for the management of a Shared Resource. This resource is applicable to NSX Policy Manager. +This resource is supported with NSX 4.1.1 onwards. ## Example Usage