mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
providers/aws: increase db instance wait times
This commit is contained in:
parent
053a7c0a8b
commit
6f27f90ae1
@ -273,7 +273,7 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error
|
|||||||
Pending: []string{"creating", "backing-up", "modifying"},
|
Pending: []string{"creating", "backing-up", "modifying"},
|
||||||
Target: "available",
|
Target: "available",
|
||||||
Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta),
|
Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta),
|
||||||
Timeout: 20 * time.Minute,
|
Timeout: 40 * time.Minute,
|
||||||
MinTimeout: 10 * time.Second,
|
MinTimeout: 10 * time.Second,
|
||||||
Delay: 30 * time.Second, // Wait 30 secs before starting
|
Delay: 30 * time.Second, // Wait 30 secs before starting
|
||||||
}
|
}
|
||||||
@ -372,7 +372,7 @@ func resourceAwsDbInstanceDelete(d *schema.ResourceData, meta interface{}) error
|
|||||||
"modifying", "deleting", "available"},
|
"modifying", "deleting", "available"},
|
||||||
Target: "",
|
Target: "",
|
||||||
Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta),
|
Refresh: resourceAwsDbInstanceStateRefreshFunc(d, meta),
|
||||||
Timeout: 20 * time.Minute,
|
Timeout: 40 * time.Minute,
|
||||||
MinTimeout: 10 * time.Second,
|
MinTimeout: 10 * time.Second,
|
||||||
Delay: 30 * time.Second, // Wait 30 secs before starting
|
Delay: 30 * time.Second, // Wait 30 secs before starting
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user