provider/aws: Shorting retry timeout for Security Groups to 2 minutes, from 5
This commit is contained in:
parent
7c62329506
commit
3ce3b7c516
|
@ -261,7 +261,7 @@ func resourceAwsSecurityGroupDelete(d *schema.ResourceData, meta interface{}) er
|
|||
|
||||
log.Printf("[DEBUG] Security Group destroy: %v", d.Id())
|
||||
|
||||
return resource.Retry(5*time.Minute, func() error {
|
||||
return resource.Retry(2*time.Minute, func() error {
|
||||
_, err := conn.DeleteSecurityGroup(&ec2.DeleteSecurityGroupInput{
|
||||
GroupID: aws.String(d.Id()),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue