From 870286e340b84a29b855bf67c674711bc4bb78b9 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 30 Mar 2021 12:59:12 -0700 Subject: [PATCH] Bump SQL Database Instance default timeout (#4636) (#8802) * Bump SQL Database Instance default timeout * Docs too Signed-off-by: Modular Magician --- .changelog/4636.txt | 3 +++ google/resource_sql_database_instance.go | 6 +++--- website/docs/r/sql_database_instance.html.markdown | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .changelog/4636.txt diff --git a/.changelog/4636.txt b/.changelog/4636.txt new file mode 100644 index 00000000000..b170985e789 --- /dev/null +++ b/.changelog/4636.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +sql: changed the default timeout of `google_sql_database_instance` to 30m from 20m +``` diff --git a/google/resource_sql_database_instance.go b/google/resource_sql_database_instance.go index 3030062e0e1..1be09833e49 100644 --- a/google/resource_sql_database_instance.go +++ b/google/resource_sql_database_instance.go @@ -94,9 +94,9 @@ func resourceSqlDatabaseInstance() *schema.Resource { }, Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(20 * time.Minute), - Update: schema.DefaultTimeout(20 * time.Minute), - Delete: schema.DefaultTimeout(20 * time.Minute), + Create: schema.DefaultTimeout(30 * time.Minute), + Update: schema.DefaultTimeout(30 * time.Minute), + Delete: schema.DefaultTimeout(30 * time.Minute), }, CustomizeDiff: customdiff.All( diff --git a/website/docs/r/sql_database_instance.html.markdown b/website/docs/r/sql_database_instance.html.markdown index b8a991fbbf7..03960faa97b 100644 --- a/website/docs/r/sql_database_instance.html.markdown +++ b/website/docs/r/sql_database_instance.html.markdown @@ -480,9 +480,9 @@ performing filtering in a Terraform config. `google_sql_database_instance` provides the following [Timeouts](/docs/configuration/resources.html#timeouts) configuration options: -- `create` - Default is 20 minutes. -- `update` - Default is 20 minutes. -- `delete` - Default is 20 minutes. +- `create` - Default is 30 minutes. +- `update` - Default is 30 minutes. +- `delete` - Default is 30 minutes. ## Import