From f5c6b2bb0ae6806efcf773af7c3f76aba3e6f31a Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 25 May 2023 00:50:43 +0000 Subject: [PATCH] increase timeout for compute_security_policy (#8020) Signed-off-by: Modular Magician --- .changelog/8020.txt | 3 +++ google/resource_compute_security_policy.go | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changelog/8020.txt diff --git a/.changelog/8020.txt b/.changelog/8020.txt new file mode 100644 index 00000000000..82161fb0da0 --- /dev/null +++ b/.changelog/8020.txt @@ -0,0 +1,3 @@ +```release-note:bug +compute: increased timeout for `compute_security_policy` from 4m to 8m +``` diff --git a/google/resource_compute_security_policy.go b/google/resource_compute_security_policy.go index 0e362de92cf..3fc8b4a3537 100644 --- a/google/resource_compute_security_policy.go +++ b/google/resource_compute_security_policy.go @@ -30,9 +30,9 @@ func ResourceComputeSecurityPolicy() *schema.Resource { CustomizeDiff: rulesCustomizeDiff, Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(4 * time.Minute), - Update: schema.DefaultTimeout(4 * time.Minute), - Delete: schema.DefaultTimeout(4 * time.Minute), + Create: schema.DefaultTimeout(8 * time.Minute), + Update: schema.DefaultTimeout(8 * time.Minute), + Delete: schema.DefaultTimeout(8 * time.Minute), }, Schema: map[string]*schema.Schema{