Skip to content

Commit

Permalink
Merge pull request #4671 from cloudflare/revert-4655-master
Browse files Browse the repository at this point in the history
Revert "fix(terraform): updated `data.cloudflare_zone` block to use `filter`"
  • Loading branch information
jacobbednarz authored Nov 27, 2024
2 parents db3e1ef + 54f6a86 commit f3d62b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/data-sources/zone.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
4 changes: 1 addition & 3 deletions examples/data-sources/cloudflare_zone/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
data "cloudflare_zone" "example" {
filter {
name = "example.com"
}
name = "example.com"
}

resource "cloudflare_record" "example" {
Expand Down

0 comments on commit f3d62b6

Please sign in to comment.