diff --git a/docs/data-sources/zone.md b/docs/data-sources/zone.md index eb2475e777..65d7e04e0e 100644 --- a/docs/data-sources/zone.md +++ b/docs/data-sources/zone.md @@ -20,9 +20,7 @@ resource or swap to `cloudflare_zones` to further filter the results. ```terraform data "cloudflare_zone" "example" { - filter { - name = "example.com" - } + name = "example.com" } resource "cloudflare_record" "example" { diff --git a/examples/data-sources/cloudflare_zone/data-source.tf b/examples/data-sources/cloudflare_zone/data-source.tf index 8ad3f99774..cf0b08c748 100644 --- a/examples/data-sources/cloudflare_zone/data-source.tf +++ b/examples/data-sources/cloudflare_zone/data-source.tf @@ -1,7 +1,5 @@ data "cloudflare_zone" "example" { - filter { - name = "example.com" - } + name = "example.com" } resource "cloudflare_record" "example" {