provider/aws: Increase timeout for deploying cloudfront distribution (#13319)

This commit is contained in:
Radek Simko 2017-04-04 15:44:17 +01:00 committed by GitHub
parent 26b9d0f191
commit 275972ca59
1 changed files with 2 additions and 2 deletions

View File

@ -671,10 +671,10 @@ func resourceAwsCloudFrontDistributionDelete(d *schema.ResourceData, meta interf
// but that might change in the future.
func resourceAwsCloudFrontDistributionWaitUntilDeployed(id string, meta interface{}) error {
stateConf := &resource.StateChangeConf{
Pending: []string{"InProgress", "Deployed"},
Pending: []string{"InProgress"},
Target: []string{"Deployed"},
Refresh: resourceAwsCloudFrontWebDistributionStateRefreshFunc(id, meta),
Timeout: 40 * time.Minute,
Timeout: 70 * time.Minute,
MinTimeout: 15 * time.Second,
Delay: 10 * time.Minute,
}