provider/aws: Slow down our r53 waits

This commit is contained in:
Armon Dadgar 2014-07-22 18:44:59 -04:00
parent 8e7e65770d
commit 12d54bd949
1 changed files with 5 additions and 3 deletions

View File

@ -47,9 +47,11 @@ func resource_aws_r53_zone_create(
// Wait until we are done initializing
wait := resource.StateChangeConf{
Pending: []string{"PENDING"},
Target: "INSYNC",
Timeout: 10 * time.Minute,
Delay: 15 * time.Second,
Pending: []string{"PENDING"},
Target: "INSYNC",
Timeout: 10 * time.Minute,
MinTimeout: 3 * time.Second,
Refresh: func() (result interface{}, state string, err error) {
return resource_aws_r53_wait(r53, resp.ChangeInfo.ID)
},