From daaefb7701022e301434f97c69b6e89a55348bd2 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 6 Aug 2019 15:17:03 +0200 Subject: [PATCH] r/cloudfront_distribution: update timeout Accoding to the docs, it may take up to 90 minutes before an update is complete: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html --- aws/resource_aws_cloudfront_distribution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_cloudfront_distribution.go b/aws/resource_aws_cloudfront_distribution.go index 65412b819dc..0e28477e395 100644 --- a/aws/resource_aws_cloudfront_distribution.go +++ b/aws/resource_aws_cloudfront_distribution.go @@ -1065,7 +1065,7 @@ func resourceAwsCloudFrontDistributionWaitUntilDeployed(id string, meta interfac Pending: []string{"InProgress"}, Target: []string{"Deployed"}, Refresh: resourceAwsCloudFrontWebDistributionStateRefreshFunc(id, meta), - Timeout: 70 * time.Minute, + Timeout: 90 * time.Minute, MinTimeout: 15 * time.Second, Delay: 1 * time.Minute, }