| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | From c2981f42629c1dcb3756c13f243c8c52391f3677 Mon Sep 17 00:00:00 2001 | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  | From: Bert Blommers <info@bertblommers.nl> | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | Date: Sun, 13 Aug 2023 21:43:26 +0000 | 
					
						
							|  |  |  | Subject: [PATCH] Patch: CloudFront timings | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ---
 | 
					
						
							|  |  |  |  internal/service/cloudfront/distribution.go | 6 +++--- | 
					
						
							|  |  |  |  1 file changed, 3 insertions(+), 3 deletions(-) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | diff --git a/internal/service/cloudfront/distribution.go b/internal/service/cloudfront/distribution.go
 | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | index 4870ca0f6d..8190b12231 100644
 | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  | --- a/internal/service/cloudfront/distribution.go
 | 
					
						
							|  |  |  | +++ b/internal/service/cloudfront/distribution.go
 | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | @@ -1120,9 +1120,9 @@ func DistributionWaitUntilDeployed(ctx context.Context, id string, meta interfac
 | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  |  		Pending:    []string{"InProgress"}, | 
					
						
							|  |  |  |  		Target:     []string{"Deployed"}, | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  |  		Refresh:    resourceWebDistributionStateRefreshFunc(ctx, id, meta), | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  | -		Timeout:    90 * time.Minute,
 | 
					
						
							|  |  |  | -		MinTimeout: 15 * time.Second,
 | 
					
						
							|  |  |  | -		Delay:      1 * time.Minute,
 | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | +		Timeout:    90 * time.Second,
 | 
					
						
							|  |  |  | +		MinTimeout: 2 * time.Second,
 | 
					
						
							|  |  |  | +		Delay:      2 * time.Second,
 | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  |  	} | 
					
						
							| 
									
										
										
										
											2023-08-21 20:33:16 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |  	_, err := stateConf.WaitForStateContext(ctx) | 
					
						
							| 
									
										
										
										
											2022-06-29 20:12:56 +00:00
										 |  |  | -- 
 | 
					
						
							|  |  |  | 2.25.1 | 
					
						
							|  |  |  | 
 |