From cce8639872a57439639184cbac63aa1c0fa47155 Mon Sep 17 00:00:00 2001 From: Anna Khmelnitsky Date: Wed, 17 Jul 2024 22:55:35 +0000 Subject: [PATCH] Define set_as_oidc_provider flag as computed Default for this flag in compute_manager depends on NSX version. Hence enforcing the default in provider is not applicable. This PR set this attribute as Computed instead. Signed-off-by: Anna Khmelnitsky --- nsxt/resource_nsxt_compute_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsxt/resource_nsxt_compute_manager.go b/nsxt/resource_nsxt_compute_manager.go index 25c1ecedb..d8f865aa1 100644 --- a/nsxt/resource_nsxt_compute_manager.go +++ b/nsxt/resource_nsxt_compute_manager.go @@ -209,7 +209,7 @@ func resourceNsxtComputeManager() *schema.Resource { Type: schema.TypeBool, Description: "Specifies whether compute manager has been set as OIDC provider", Optional: true, - Default: false, + Computed: true, // default varies based on NSX version }, }, }