From 3144aaed0fa692ade6ccc4eae25760cadacd488d Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 9 Oct 2024 20:51:17 +0000 Subject: [PATCH] Increase timeout time to 20 minutes for cloudfunctions function (#11949) [upstream:fc795a1e76f8b78be3b9553066856d67a20d10ef] Signed-off-by: Modular Magician --- .changelog/11949.txt | 3 +++ .../cloudfunctions/resource_cloudfunctions_function.go | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .changelog/11949.txt diff --git a/.changelog/11949.txt b/.changelog/11949.txt new file mode 100644 index 0000000000..d6f30757f1 --- /dev/null +++ b/.changelog/11949.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +cloudfunctions: increased the timeouts to 20 minutes for `google_cloudfunctions_function` resource +``` \ No newline at end of file diff --git a/google-beta/services/cloudfunctions/resource_cloudfunctions_function.go b/google-beta/services/cloudfunctions/resource_cloudfunctions_function.go index 685b263604..9bb7c4c06a 100644 --- a/google-beta/services/cloudfunctions/resource_cloudfunctions_function.go +++ b/google-beta/services/cloudfunctions/resource_cloudfunctions_function.go @@ -138,10 +138,10 @@ func ResourceCloudFunctionsFunction() *schema.Resource { }, Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(5 * time.Minute), - Read: schema.DefaultTimeout(5 * time.Minute), - Update: schema.DefaultTimeout(5 * time.Minute), - Delete: schema.DefaultTimeout(5 * time.Minute), + Create: schema.DefaultTimeout(20 * time.Minute), + Read: schema.DefaultTimeout(20 * time.Minute), + Update: schema.DefaultTimeout(20 * time.Minute), + Delete: schema.DefaultTimeout(20 * time.Minute), }, CustomizeDiff: customdiff.All(