provider/aws: Increase timeout for deleting IGW (#14705)

This commit is contained in:
Radek Simko 2017-05-22 09:25:26 +02:00 committed by GitHub
parent 6a953db728
commit 9cb33d863d
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func resourceAwsInternetGatewayDelete(d *schema.ResourceData, meta interface{})
log.Printf("[INFO] Deleting Internet Gateway: %s", d.Id()) log.Printf("[INFO] Deleting Internet Gateway: %s", d.Id())
return resource.Retry(5*time.Minute, func() *resource.RetryError { return resource.Retry(10*time.Minute, func() *resource.RetryError {
_, err := conn.DeleteInternetGateway(&ec2.DeleteInternetGatewayInput{ _, err := conn.DeleteInternetGateway(&ec2.DeleteInternetGatewayInput{
InternetGatewayId: aws.String(d.Id()), InternetGatewayId: aws.String(d.Id()),
}) })