Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Dec 23, 2022
1 parent 6bbf367 commit 96b11ff
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/resources/tiered_cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
page_title: "cloudflare_tiered_cache Resource - Cloudflare"
subcategory: ""
description: |-
Provides a resource, that manages Cloudflare Tiered Cache settings.
This allows you to adjust topologies between Off, Smart and Generic for your zone.
---

# cloudflare_tiered_cache (Resource)

Provides a resource, that manages Cloudflare Tiered Cache settings.
This allows you to adjust topologies between Off, Smart and Generic for your zone.

## Example Usage

```terraform
resource "cloudflare_tiered_cache" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
cache_type = "smart"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `cache_type` (String) The typed of tiered cache to utilize on the zone. Available values: `generic`, `smart`, `off`.
- `zone_id` (String) The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**

### Read-Only

- `id` (String) The ID of this resource.


4 changes: 4 additions & 0 deletions examples/resources/cloudflare_tiered_cache/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "cloudflare_tiered_cache" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
cache_type = "smart"
}

0 comments on commit 96b11ff

Please sign in to comment.