From 490e23fde2e90c0cc525adc9b2f671cd8e89bfea Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 18 Dec 2024 21:42:54 +0000 Subject: [PATCH] Fix ApigeeEnvironment update response type. (#12415) [upstream:54c7ca8f9f45eab99bdce4dc574085828bfd3f3d] Signed-off-by: Modular Magician --- .changelog/12415.txt | 3 +++ google/services/apigee/resource_apigee_environment.go | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 .changelog/12415.txt diff --git a/.changelog/12415.txt b/.changelog/12415.txt new file mode 100644 index 00000000000..5ef344f0971 --- /dev/null +++ b/.changelog/12415.txt @@ -0,0 +1,3 @@ +```release-note:bug +apigee: fixed error 404 for `environment` update requests. +``` \ No newline at end of file diff --git a/google/services/apigee/resource_apigee_environment.go b/google/services/apigee/resource_apigee_environment.go index de8f344f2c2..a11665a9925 100644 --- a/google/services/apigee/resource_apigee_environment.go +++ b/google/services/apigee/resource_apigee_environment.go @@ -428,13 +428,6 @@ func resourceApigeeEnvironmentUpdate(d *schema.ResourceData, meta interface{}) e log.Printf("[DEBUG] Finished updating Environment %q: %#v", d.Id(), res) } - err = ApigeeOperationWaitTime( - config, res, "Updating Environment", userAgent, - d.Timeout(schema.TimeoutUpdate)) - - if err != nil { - return err - } } return resourceApigeeEnvironmentRead(d, meta)