Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Aug 30, 2024
1 parent 5a34b1b commit 2a5cc4a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/rulesets.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ Read-Only:
Read-Only:

- `check_presence` (List of String)
- `contains` (Map of Set of String)
- `exclude_origin` (Boolean)
- `include` (List of String)
- `contains` (Map of String to List)


<a id="nestedobjatt--rulesets--rules--action_parameters--version--custom_key--host"></a>
Expand Down
7 changes: 4 additions & 3 deletions docs/resources/ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ resource "cloudflare_ruleset" "cache_settings_example" {
check_presence = ["habc_t", "hdef_t"]
exclude_origin = true
contains = {
"accept" = ["image/web", "image/png"]
"accept-encoding = ["br", "zstd"]
"some-header" = ["some-value", "some-other-value"]
"accept" = ["image/web", "image/png"]
"accept-encoding" = ["br", "zstd"]
"some-header" = ["some-value", "some-other-value"]
}
}
cookie {
Expand Down Expand Up @@ -607,6 +607,7 @@ Optional:
Optional:

- `check_presence` (Set of String) List of headers to check for presence in the custom key.
- `contains` (Map of Set of String) Dictionary of headers mapping to lists of values to check for presence in the custom key.
- `exclude_origin` (Boolean) Exclude the origin header from the custom key.
- `include` (Set of String) List of headers to include in the custom key.

Expand Down
6 changes: 3 additions & 3 deletions examples/resources/cloudflare_ruleset/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ resource "cloudflare_ruleset" "cache_settings_example" {
check_presence = ["habc_t", "hdef_t"]
exclude_origin = true
contains = {
"accept" = ["image/web", "image/png"]
"accept-encoding = ["br", "zstd"]
"some-header" = ["some-value", "some-other-value"]
"accept" = ["image/web", "image/png"]
"accept-encoding" = ["br", "zstd"]
"some-header" = ["some-value", "some-other-value"]
}
}
cookie {
Expand Down

0 comments on commit 2a5cc4a

Please sign in to comment.