provider/aws: Raise timeout for DHCP opts creation (#15084)

This commit is contained in:
Radek Simko 2017-06-05 20:34:59 +01:00 committed by GitHub
parent a464e97979
commit d7f54ed68d
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ func resourceAwsVpcDhcpOptionsCreate(d *schema.ResourceData, meta interface{}) e
Pending: []string{"pending"}, Pending: []string{"pending"},
Target: []string{"created"}, Target: []string{"created"},
Refresh: resourceDHCPOptionsStateRefreshFunc(conn, d.Id()), Refresh: resourceDHCPOptionsStateRefreshFunc(conn, d.Id()),
Timeout: 1 * time.Minute, Timeout: 5 * time.Minute,
} }
if _, err := stateConf.WaitForState(); err != nil { if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf( return fmt.Errorf(