From fab2121115fc33368553cdf96236333952eae403 Mon Sep 17 00:00:00 2001 From: bruceybian Date: Fri, 23 Feb 2024 20:55:57 +0800 Subject: [PATCH] add tke endpoint create sleep time --- .../services/tke/resource_tc_kubernetes_cluster_endpoint.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tencentcloud/services/tke/resource_tc_kubernetes_cluster_endpoint.go b/tencentcloud/services/tke/resource_tc_kubernetes_cluster_endpoint.go index 2a192a7ab1..54f92656b0 100644 --- a/tencentcloud/services/tke/resource_tc_kubernetes_cluster_endpoint.go +++ b/tencentcloud/services/tke/resource_tc_kubernetes_cluster_endpoint.go @@ -3,6 +3,7 @@ package tke import ( "context" "fmt" + "time" tccommon "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/common" @@ -230,6 +231,7 @@ func resourceTencentCloudTkeClusterEndpointCreate(d *schema.ResourceData, meta i if err != nil { return err } + time.Sleep(2 * time.Minute) } d.SetId(id)