Skip to content

Commit

Permalink
Merge pull request #3117 from sgoo/remove-ao
Browse files Browse the repository at this point in the history
resource/cloudflare_custom_pages: Remove always_online
  • Loading branch information
jacobbednarz authored Feb 12, 2024
2 parents 27f1a97 + d9a8afd commit b3eebe2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/3117.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
resource/cloudflare_custom_pages: Removed the `always_online` variant. This page is never generated anymore, if a requested page is unavailable in the archive the error page that would have been shown if always online wasn't enabled is shown.
```
2 changes: 1 addition & 1 deletion docs/resources/custom_pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "cloudflare_custom_pages" "example" {

### Required

- `type` (String) The type of custom page you wish to update. Available values: `basic_challenge`, `waf_challenge`, `waf_block`, `ratelimit_block`, `country_challenge`, `ip_block`, `under_attack`, `500_errors`, `1000_errors`, `always_online`, `managed_challenge`.
- `type` (String) The type of custom page you wish to update. Available values: `basic_challenge`, `waf_challenge`, `waf_block`, `ratelimit_block`, `country_challenge`, `ip_block`, `under_attack`, `500_errors`, `1000_errors`, `managed_challenge`.
- `url` (String) URL of where the custom page source is located.

### Optional
Expand Down
2 changes: 0 additions & 2 deletions internal/sdkv2provider/schema_cloudflare_custom_pages.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ func resourceCloudflareCustomPagesSchema() map[string]*schema.Schema {
"under_attack",
"500_errors",
"1000_errors",
"always_online",
"managed_challenge",
}, true),
Description: fmt.Sprintf("The type of custom page you wish to update. %s", renderAvailableDocumentationValuesStringSlice([]string{
Expand All @@ -48,7 +47,6 @@ func resourceCloudflareCustomPagesSchema() map[string]*schema.Schema {
"under_attack",
"500_errors",
"1000_errors",
"always_online",
"managed_challenge",
})),
},
Expand Down

0 comments on commit b3eebe2

Please sign in to comment.