From 897644c85467b89a22a65f6d34ef3940c64fb506 Mon Sep 17 00:00:00 2001 From: cveticm <119604954+cveticm@users.noreply.github.com> Date: Thu, 14 Nov 2024 13:54:31 +0000 Subject: [PATCH] delay time decreased to 1 minute for create and delete in mongodbatlas_privatelink_endpoint_service (#2801) --- .../resource_privatelink_endpoint_service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/service/privatelinkendpointservice/resource_privatelink_endpoint_service.go b/internal/service/privatelinkendpointservice/resource_privatelink_endpoint_service.go index 98eb84c221..3ad2dc955c 100644 --- a/internal/service/privatelinkendpointservice/resource_privatelink_endpoint_service.go +++ b/internal/service/privatelinkendpointservice/resource_privatelink_endpoint_service.go @@ -175,7 +175,7 @@ func resourceCreate(ctx context.Context, d *schema.ResourceData, meta any) diag. Refresh: resourceRefreshFunc(ctx, connV2, projectID, providerName, privateLinkID, endpointServiceID), Timeout: d.Timeout(schema.TimeoutCreate), MinTimeout: 5 * time.Second, - Delay: 5 * time.Minute, + Delay: 1 * time.Minute, } // Wait, catching any errors _, err = stateConf.WaitForStateContext(ctx) @@ -189,7 +189,7 @@ func resourceCreate(ctx context.Context, d *schema.ResourceData, meta any) diag. Refresh: advancedcluster.ResourceClusterListAdvancedRefreshFunc(ctx, projectID, connV2.ClustersApi), Timeout: d.Timeout(schema.TimeoutCreate), MinTimeout: 5 * time.Second, - Delay: 5 * time.Minute, + Delay: 1 * time.Minute, } if _, err = clusterConf.WaitForStateContext(ctx); err != nil { @@ -313,7 +313,7 @@ func resourceDelete(ctx context.Context, d *schema.ResourceData, meta any) diag. Refresh: advancedcluster.ResourceClusterListAdvancedRefreshFunc(ctx, projectID, connV2.ClustersApi), Timeout: d.Timeout(schema.TimeoutDelete), MinTimeout: 5 * time.Second, - Delay: 5 * time.Minute, + Delay: 1 * time.Minute, } if _, err = clusterConf.WaitForStateContext(ctx); err != nil {