From e7f6c638ba438b93c5887c15b696336480013108 Mon Sep 17 00:00:00 2001 From: Ujjwal Kumar Date: Thu, 5 Dec 2024 17:35:53 +0530 Subject: [PATCH] made the name of the cluster network attachment as apply once --- ibm/service/vpc/resource_ibm_is_instance.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ibm/service/vpc/resource_ibm_is_instance.go b/ibm/service/vpc/resource_ibm_is_instance.go index 27d070b28d..5c93f34e9f 100644 --- a/ibm/service/vpc/resource_ibm_is_instance.go +++ b/ibm/service/vpc/resource_ibm_is_instance.go @@ -324,10 +324,10 @@ func ResourceIBMISInstance() *schema.Resource { }, }, "name": &schema.Schema{ - Type: schema.TypeString, - Optional: true, - Computed: true, - Description: "The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed.", + Type: schema.TypeString, + Required: true, + DiffSuppressFunc: flex.ApplyOnce, + Description: "The name for this cluster network attachment. Names must be unique within the instance the cluster network attachment resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed.", }, "href": &schema.Schema{ Type: schema.TypeString,