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:
Paul Stack 2016-09-03 00:23:37 +03:00 committed by GitHub
commit 42711dbc1f
1 changed files with 4 additions and 4 deletions

View File

@ -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()