Skip to content

Commit e36f424

Browse files
committed
hashicorpGH-7311 - Increasing deletion timeout wait
- Per our discussion around the PR to increase this initially, we weren't sure if 1 minute would be sufficient. Well, it turns out it wasn't for me today (we don't delete these often so not sure how often people run into this). Picking another somewhat arbitrary value of 5 minutes in the hopes that it will be sufficient (today it took a little over 2 minutes).
1 parent 68fbbec commit e36f424

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎builtin/providers/aws/resource_aws_db_option_group.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func resourceAwsDbOptionGroupDelete(d *schema.ResourceData, meta interface{}) er
280280
}
281281

282282
log.Printf("[DEBUG] Delete DB Option Group: %#v", deleteOpts)
283-
ret := resource.Retry(1*time.Minute, func() *resource.RetryError {
283+
ret := resource.Retry(5*time.Minute, func() *resource.RetryError {
284284
_, err := rdsconn.DeleteOptionGroup(deleteOpts)
285285
if err != nil {
286286
if awsErr, ok := err.(awserr.Error); ok {

0 commit comments

Comments
 (0)