From bd45b37902622361141c6b543a8263378c3f349b Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 15 Jul 2019 09:52:57 -0700 Subject: [PATCH] Fix internal field diff in monitoring uptime check (#944) Signed-off-by: Modular Magician --- google-beta/resource_monitoring_uptime_check_config.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/google-beta/resource_monitoring_uptime_check_config.go b/google-beta/resource_monitoring_uptime_check_config.go index 8f6ef376009..93f34d70c87 100644 --- a/google-beta/resource_monitoring_uptime_check_config.go +++ b/google-beta/resource_monitoring_uptime_check_config.go @@ -349,6 +349,11 @@ func resourceMonitoringUptimeCheckConfigRead(d *schema.ResourceData, meta interf return handleNotFoundError(err, d, fmt.Sprintf("MonitoringUptimeCheckConfig %q", d.Id())) } + res, err = resourceMonitoringUptimeCheckConfigDecoder(d, meta, res) + if err != nil { + return err + } + project, err := getProject(d, config) if err != nil { return err @@ -955,3 +960,8 @@ func expandMonitoringUptimeCheckConfigMonitoredResourceLabels(v interface{}, d T } return m, nil } + +func resourceMonitoringUptimeCheckConfigDecoder(d *schema.ResourceData, meta interface{}, res map[string]interface{}) (map[string]interface{}, error) { + d.Set("internal_checkers", nil) + return res, nil +}