Skip to content

Commit

Permalink
Bump sql_database_instance create timeout from 30 to 40 minutes (#7118)…
Browse files Browse the repository at this point in the history
… (#13481)

Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jan 13, 2023
1 parent c6e1061 commit e2e108d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/7118.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
sql: changed the default create timeout of `google_sql_database_instance` to 40m from 30m
```
2 changes: 1 addition & 1 deletion google/resource_sql_database_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func resourceSqlDatabaseInstance() *schema.Resource {
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(30 * time.Minute),
Create: schema.DefaultTimeout(40 * time.Minute),
Update: schema.DefaultTimeout(30 * time.Minute),
Delete: schema.DefaultTimeout(30 * time.Minute),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/sql_database_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ performing filtering in a Terraform config.
`google_sql_database_instance` provides the following
[Timeouts](https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts) configuration options:

- `create` - Default is 30 minutes.
- `create` - Default is 40 minutes.
- `update` - Default is 30 minutes.
- `delete` - Default is 30 minutes.

Expand Down

0 comments on commit e2e108d

Please sign in to comment.