Merge pull request #10131 from jrnt30/increased-db-options-delete
GH-7311 - Increasing deletion timeout wait
This commit is contained in:
commit
4e2865a719
|
@ -280,7 +280,7 @@ func resourceAwsDbOptionGroupDelete(d *schema.ResourceData, meta interface{}) er
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("[DEBUG] Delete DB Option Group: %#v", deleteOpts)
|
log.Printf("[DEBUG] Delete DB Option Group: %#v", deleteOpts)
|
||||||
ret := resource.Retry(1*time.Minute, func() *resource.RetryError {
|
ret := resource.Retry(5*time.Minute, func() *resource.RetryError {
|
||||||
_, err := rdsconn.DeleteOptionGroup(deleteOpts)
|
_, err := rdsconn.DeleteOptionGroup(deleteOpts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if awsErr, ok := err.(awserr.Error); ok {
|
if awsErr, ok := err.(awserr.Error); ok {
|
||||||
|
|
Loading…
Reference in New Issue