Skip to content

Commit

Permalink
provider/aws: Raise timeout for deleting APIG REST API (#13414)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Apr 7, 2017
1 parent df5dfb1 commit 8f7171f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_api_gateway_rest_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
})
Expand Down

0 comments on commit 8f7171f

Please sign in to comment.