-
Notifications
You must be signed in to change notification settings - Fork 626
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
resource/cloudflare_ruleset: add support for transform rules #1169
Conversation
084458c
to
df8918b
Compare
df8918b
to
c61b3fc
Compare
integration is good (with the pending cloudflare/cloudflare-go fix patched in)
|
cc @pedrosousa if you'd like to wordsmith this one for me too please 😃 |
Left a few comments! I'd like to add a few related links pointing to Dev Docs, so that folks can refer to the Ruleset Engine docs and to a few more API examples. Since I can't comment on the first lines of the docs file (there are no PR changes there), let me know how I should proceed. I can create another PR targeting this PR, or I can add a new commit with my proposed links. |
Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
thanks for the suggstions! you're welcome to push up a commit to this branch. otherwise, a PR targetting this branch as the base is also totally fine. |
We don't need to restrict the entrypoint calls to "execute" calls; send it all as one payload.
resource/cloudflare_ruleset: send ERE payload as one
Created the following PR targeting your branch: #1172. |
wicked! once I land cloudflare-go changes, I'll get this released. Thank you! |
…ete-for-0rtt resource/cloudflare_zone_settings_override: remap `zero_rtt` => `0rtt` for resource delete
…pport-teams-rules-accounts Mike/gate 1848 terraform support teams rules accounts
Bumps [crazy-max/ghaction-import-gpg](https://github.com/crazy-max/ghaction-import-gpg) from 3.2.0 to 4. - [Release notes](https://github.com/crazy-max/ghaction-import-gpg/releases) - [Changelog](https://github.com/crazy-max/ghaction-import-gpg/blob/master/CHANGELOG.md) - [Commits](crazy-max/ghaction-import-gpg@v3.2.0...v4) --- updated-dependencies: - dependency-name: crazy-max/ghaction-import-gpg dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…azy-max/ghaction-import-gpg-4 Bump crazy-max/ghaction-import-gpg from 3.2.0 to 4
While looking into upgrading to Terraform SDK v2, I found that the state file was throwing some errors when trying to save `rules`. It turns out that SDK v1 was more forgiving with the types when it came to flattening lists however SDK v2 is much stricter causing the failures. This fixes issue by correctly building the state struct and flattening out some of the nested structures.
resource/cloudflare_ruleset: fix state handler
deps: bump cloudflare-go to 0.22.0
Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
Adds support for URI and HTTP header transformation rules.
Depends on cloudflare/cloudflare-go#699
Closes #1036