From 8c56a9f71179c87479cba8b8c69a9cd25c246913 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 27 Jul 2020 10:38:23 -0700 Subject: [PATCH] Bump google_project timeout (#3784) (#6859) Signed-off-by: Modular Magician --- .changelog/3784.txt | 3 +++ google/resource_google_project.go | 8 ++++---- website/docs/r/google_project.html.markdown | 9 +++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .changelog/3784.txt diff --git a/.changelog/3784.txt b/.changelog/3784.txt new file mode 100644 index 00000000000..53ce74855c5 --- /dev/null +++ b/.changelog/3784.txt @@ -0,0 +1,3 @@ +```release-note:bug +resourcemanager: bumped `google_project` timeout defaults to 10 minutes (from 4) +``` diff --git a/google/resource_google_project.go b/google/resource_google_project.go index 9bdda50f91b..21128e44274 100644 --- a/google/resource_google_project.go +++ b/google/resource_google_project.go @@ -33,10 +33,10 @@ func resourceGoogleProject() *schema.Resource { }, Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(4 * time.Minute), - Update: schema.DefaultTimeout(4 * time.Minute), - Read: schema.DefaultTimeout(4 * time.Minute), - Delete: schema.DefaultTimeout(4 * time.Minute), + Create: schema.DefaultTimeout(10 * time.Minute), + Update: schema.DefaultTimeout(10 * time.Minute), + Read: schema.DefaultTimeout(10 * time.Minute), + Delete: schema.DefaultTimeout(10 * time.Minute), }, MigrateState: resourceGoogleProjectMigrateState, diff --git a/website/docs/r/google_project.html.markdown b/website/docs/r/google_project.html.markdown index 7561d29f6e5..4a88c0d8b67 100644 --- a/website/docs/r/google_project.html.markdown +++ b/website/docs/r/google_project.html.markdown @@ -108,6 +108,15 @@ exported: * `number` - The numeric identifier of the project. +## Timeouts + +This resource provides the following +[Timeouts](/docs/configuration/resources.html#timeouts) configuration options: + +- `create` - Default is 10 minutes. +- `update` - Default is 10 minutes. +- `delete` - Default is 10 minutes. + ## Import Projects can be imported using the `project_id`, e.g.