Skip to content
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

Page rule additions v2 #81

Merged
merged 4 commits into from
Jul 5, 2018

Conversation

simpsora
Copy link
Contributor

@simpsora simpsora commented Jul 5, 2018

This is take 2 of https://github.com/terraform-providers/terraform-provider-cloudflare/pull/68; that PR was in turn based off https://github.com/terraform-providers/terraform-provider-cloudflare/pull/61 and contained too many changes (some of which have since been merged).

It adds the following:

  • mirage action
  • disable_railgun action
  • off value for security_level action
  • cache_key string field

Note: I haven't written any tests because the existing test suite doesn't test each action and value. Happy to add tests that exercise the new functionality if you'd prefer.

Thanks for your consideration!
Ross

`off` is an Enterprise feature, but I don't think it's the
responsibility of the provider to know or care about a customer's
contract with Cloudflare.  The API should just Do The Right Thing if a
user without appropriate permissions tries to use an invalid value.
@simpsora simpsora mentioned this pull request Jul 5, 2018
Copy link
Member

@jacobbednarz jacobbednarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! 🍰

@simpsora simpsora changed the title Envato page rule additions v2 Page rule additions v2 Jul 5, 2018
@patryk
Copy link
Contributor

patryk commented Jul 5, 2018

Looks good, thanks Ross!

@patryk patryk merged commit de0fd85 into cloudflare:master Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants