From 660073b03cfcafac82296e1ac4cfb663a54f1981 Mon Sep 17 00:00:00 2001 From: Anna Khmelnitsky Date: Wed, 7 Oct 2020 13:57:11 -0700 Subject: [PATCH] Assign UUID to ha vip resource upon import This is for sake of consistency with non-imported instances. --- nsxt/resource_nsxt_policy_tier0_gateway_ha_vip_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsxt/resource_nsxt_policy_tier0_gateway_ha_vip_config.go b/nsxt/resource_nsxt_policy_tier0_gateway_ha_vip_config.go index 8984b58c1..2d96ecf92 100644 --- a/nsxt/resource_nsxt_policy_tier0_gateway_ha_vip_config.go +++ b/nsxt/resource_nsxt_policy_tier0_gateway_ha_vip_config.go @@ -359,7 +359,7 @@ func resourceNsxtPolicyTier0GatewayHAVipConfigImport(d *schema.ResourceData, m i d.Set("tier0_id", tier0ID) d.Set("locale_service_id", localeServiceID) - d.SetId(localeServiceID) + d.SetId(newUUID()) return []*schema.ResourceData{d}, nil }