Skip to content

Commit 0dd3016

Browse files
fix TestAccAlloydbInstance_updateDatabaseFlagInPrimaryInstance by increasing timeouts (#8018) (#14713)
Signed-off-by: Modular Magician <[email protected]>
1 parent 911fb47 commit 0dd3016

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.changelog/8018.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
alloydb: increased timeouts for `google_alloydb_instance` from 20m to 40m
3+
```

google/resource_alloydb_instance.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ func ResourceAlloydbInstance() *schema.Resource {
4040
},
4141

4242
Timeouts: &schema.ResourceTimeout{
43-
Create: schema.DefaultTimeout(20 * time.Minute),
44-
Update: schema.DefaultTimeout(20 * time.Minute),
45-
Delete: schema.DefaultTimeout(20 * time.Minute),
43+
Create: schema.DefaultTimeout(40 * time.Minute),
44+
Update: schema.DefaultTimeout(40 * time.Minute),
45+
Delete: schema.DefaultTimeout(40 * time.Minute),
4646
},
4747

4848
Schema: map[string]*schema.Schema{

website/docs/r/alloydb_instance.html.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ In addition to the arguments listed above, the following computed attributes are
184184
This resource provides the following
185185
[Timeouts](https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts) configuration options:
186186

187-
- `create` - Default is 20 minutes.
188-
- `update` - Default is 20 minutes.
189-
- `delete` - Default is 20 minutes.
187+
- `create` - Default is 40 minutes.
188+
- `update` - Default is 40 minutes.
189+
- `delete` - Default is 40 minutes.
190190

191191
## Import
192192

0 commit comments

Comments
 (0)