Skip to content

Change status value from paused to disabled #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudflare/resource_cloudflare_page_rule.go
Original file line number Diff line number Diff line change
@@ -283,7 +283,7 @@ func resourceCloudFlarePageRule() *schema.Resource {
Type: schema.TypeString,
Default: "active",
Optional: true,
ValidateFunc: validation.StringInSlice([]string{"active", "paused"}, false),
ValidateFunc: validation.StringInSlice([]string{"active", "disabled"}, false),
},
},
}
4 changes: 2 additions & 2 deletions website/docs/r/page_rule.html.markdown
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ The following arguments are supported:
* `target` - (Required) The URL pattern to target with the page rule.
* `actions` - (Required) The actions taken by the page rule, options given below.
* `priority` - (Optional) The priority of the page rule among others for this target.
* `status` - (Optional) Whether the page rule is active or paused.
* `status` - (Optional) Whether the page rule is active or disabled.

Action blocks support the following:

@@ -74,4 +74,4 @@ The following attributes are exported:
* `target` - The URL pattern targeted by the page rule.
* `actions` - The actions applied by the page rule.
* `priority` - The priority of the page rule.
* `status` - Whether the page rule is active or paused.
* `status` - Whether the page rule is active or disabled.