providers/aws: Route53 decrease MinTimeout interval

It get's a bit annoying when handling dozens of records to have the MinInterval for retries so high.
This commit is contained in:
Panagiotis Moustafellos 2014-11-13 17:52:10 +02:00
parent ecf66ad7b5
commit 56defa346f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func resource_aws_r53_zone_create(
Pending: []string{"PENDING"}, Pending: []string{"PENDING"},
Target: "INSYNC", Target: "INSYNC",
Timeout: 10 * time.Minute, Timeout: 10 * time.Minute,
MinTimeout: 5 * time.Second, MinTimeout: 2 * time.Second,
Refresh: func() (result interface{}, state string, err error) { Refresh: func() (result interface{}, state string, err error) {
return resource_aws_r53_wait(r53, resp.ChangeInfo.ID) return resource_aws_r53_wait(r53, resp.ChangeInfo.ID)
}, },