provider/aws: Raise timeout for deleting APIG REST API (#13414)

This commit is contained in:
Radek Simko 2017-04-07 12:29:24 +01:00 committed by GitHub
parent df5dfb10c8
commit 8f7171fc76
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ func resourceAwsApiGatewayRestApiDelete(d *schema.ResourceData, meta interface{}
conn := meta.(*AWSClient).apigateway
log.Printf("[DEBUG] Deleting API Gateway: %s", d.Id())
return resource.Retry(5*time.Minute, func() *resource.RetryError {
return resource.Retry(10*time.Minute, func() *resource.RetryError {
_, err := conn.DeleteRestApi(&apigateway.DeleteRestApiInput{
RestApiId: aws.String(d.Id()),
})