Skip to content

Commit

Permalink
Merge pull request #2262 from yj7o5/update-wr-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Feb 28, 2023
2 parents a5f2ff5 + 5458f1f commit 22aaa39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/2262.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/cloudflare_waiting_room: add 'ru-RU' and 'fa-IR' to default_template_language field
```
2 changes: 1 addition & 1 deletion docs/resources/waiting_room.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "cloudflare_waiting_room" "example" {
### Optional

- `custom_page_html` (String) This is a templated html file that will be rendered at the edge.
- `default_template_language` (String) The language to use for the default waiting room page. Available values: `de-DE`, `es-ES`, `en-US`, `fr-FR`, `id-ID`, `it-IT`, `ja-JP`, `ko-KR`, `nl-NL`, `pl-PL`, `pt-BR`, `tr-TR`, `zh-CN`, `zh-TW`. Defaults to `en-US`.
- `default_template_language` (String) The language to use for the default waiting room page. Available values: `de-DE`, `es-ES`, `en-US`, `fr-FR`, `id-ID`, `it-IT`, `ja-JP`, `ko-KR`, `nl-NL`, `pl-PL`, `pt-BR`, `tr-TR`, `zh-CN`, `zh-TW`, `ru-RU`, `fa-IR`. Defaults to `en-US`.
- `description` (String) A description to add more details about the waiting room.
- `disable_session_renewal` (Boolean) Disables automatic renewal of session cookies.
- `json_response_enabled` (Boolean) If true, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object.
Expand Down
2 changes: 2 additions & 0 deletions internal/sdkv2provider/schema_cloudflare_waiting_room.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ var defaultTemplateLanguages = []string{
"tr-TR",
"zh-CN",
"zh-TW",
"ru-RU",
"fa-IR",
}
var waitingRoomQueueingMethod = []string{
"fifo",
Expand Down

0 comments on commit 22aaa39

Please sign in to comment.