Merge pull request #8636 from kwilczynski/fix/increase-wait-time-aws_vpn_gateway_attachment
provider/aws: Fix. Adjust create and destroy timeout in aws_vpn_gateway_attachment.
This commit is contained in:
commit
42711dbc1f
|
@ -59,9 +59,9 @@ func resourceAwsVpnGatewayAttachmentCreate(d *schema.ResourceData, meta interfac
|
|||
Pending: []string{"detached", "attaching"},
|
||||
Target: []string{"attached"},
|
||||
Refresh: vpnGatewayAttachmentStateRefresh(conn, vpcId, vgwId),
|
||||
Timeout: 5 * time.Minute,
|
||||
Timeout: 15 * time.Minute,
|
||||
Delay: 10 * time.Second,
|
||||
MinTimeout: 3 * time.Second,
|
||||
MinTimeout: 5 * time.Second,
|
||||
}
|
||||
|
||||
_, err = stateConf.WaitForState()
|
||||
|
@ -151,9 +151,9 @@ func resourceAwsVpnGatewayAttachmentDelete(d *schema.ResourceData, meta interfac
|
|||
Pending: []string{"attached", "detaching"},
|
||||
Target: []string{"detached"},
|
||||
Refresh: vpnGatewayAttachmentStateRefresh(conn, vpcId, vgwId),
|
||||
Timeout: 5 * time.Minute,
|
||||
Timeout: 15 * time.Minute,
|
||||
Delay: 10 * time.Second,
|
||||
MinTimeout: 3 * time.Second,
|
||||
MinTimeout: 5 * time.Second,
|
||||
}
|
||||
|
||||
_, err = stateConf.WaitForState()
|
||||
|
|
Loading…
Reference in New Issue