Skip to content

Commit

Permalink
Include iap in appengine patch updatemask. (#3418) (#6216)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Apr 27, 2020
1 parent cd2cfe4 commit 19575ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/3418.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
appengine: Changed `google_app_engine_application` to respect updates in `iap`
```
2 changes: 1 addition & 1 deletion google/resource_app_engine_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit 19575ad

Please sign in to comment.