From 19575ad3604ff64085b2ebeca36bf9c46d23ff0b Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 27 Apr 2020 13:55:46 -0400 Subject: [PATCH] Include iap in appengine patch updatemask. (#3418) (#6216) Signed-off-by: Modular Magician --- .changelog/3418.txt | 3 +++ google/resource_app_engine_application.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/3418.txt diff --git a/.changelog/3418.txt b/.changelog/3418.txt new file mode 100644 index 00000000000..76394ca2bc9 --- /dev/null +++ b/.changelog/3418.txt @@ -0,0 +1,3 @@ +```release-note:bug +appengine: Changed `google_app_engine_application` to respect updates in `iap` +``` diff --git a/google/resource_app_engine_application.go b/google/resource_app_engine_application.go index 4baaab1ffeb..fec0e87a85a 100644 --- a/google/resource_app_engine_application.go +++ b/google/resource_app_engine_application.go @@ -259,7 +259,7 @@ func resourceAppEngineApplicationUpdate(d *schema.ResourceData, meta interface{} defer mutexKV.Unlock(lockName) log.Printf("[DEBUG] Updating App Engine App") - op, err := config.clientAppEngine.Apps.Patch(pid, app).UpdateMask("authDomain,servingStatus,featureSettings.splitHealthChecks").Do() + op, err := config.clientAppEngine.Apps.Patch(pid, app).UpdateMask("authDomain,servingStatus,featureSettings.splitHealthChecks,iap").Do() if err != nil { return fmt.Errorf("Error updating App Engine application: %s", err.Error()) }