From f5ce67648c0bb75e7162a83f5fa048e0fe76d2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Szczyg=C5=82owski?= Date: Tue, 8 Oct 2019 18:54:27 +0100 Subject: [PATCH] Set zone_id on cloudflare_zone_settings_override read. Fixes #501 --- cloudflare/resource_cloudflare_zone_settings_override.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloudflare/resource_cloudflare_zone_settings_override.go b/cloudflare/resource_cloudflare_zone_settings_override.go index 2c9ec44efd..85b18202d2 100644 --- a/cloudflare/resource_cloudflare_zone_settings_override.go +++ b/cloudflare/resource_cloudflare_zone_settings_override.go @@ -528,6 +528,8 @@ func resourceCloudflareZoneSettingsOverrideRead(d *schema.ResourceData, meta int } } + d.Set("zone_id", d.Id()) + // not all settings are visible to all users, so this might be a subset // assume (for now) that user can see/do everything zoneSettings, err := client.ZoneSettings(d.Id())