Skip to content

Commit

Permalink
r/resource_aws_security_group: increase deletion timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiusz Urbaniak committed Sep 6, 2017
1 parent 6c64d15 commit 4cb6fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_security_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func resourceAwsSecurityGroupDelete(d *schema.ResourceData, meta interface{}) er
return fmt.Errorf("Failed to delete Lambda ENIs: %s", err)
}

return resource.Retry(5*time.Minute, func() *resource.RetryError {
return resource.Retry(30*time.Minute, func() *resource.RetryError {
_, err := conn.DeleteSecurityGroup(&ec2.DeleteSecurityGroupInput{
GroupId: aws.String(d.Id()),
})
Expand Down

0 comments on commit 4cb6fc0

Please sign in to comment.