-
Notifications
You must be signed in to change notification settings - Fork 630
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
Remove empty cookie, header fields from page rules - cache by custom key #2208
Conversation
4b3b7b2
to
671657f
Compare
changelog detected ✅ |
a4810c5
to
18bfca3
Compare
18bfca3
to
02cbc0f
Compare
02cbc0f
to
73ca6a1
Compare
acceptance tests are all passing here
|
@tamas-jozsa looks like the regex above didn't run all the page rule tests. we do have a couple of failures for diffs after apply - https://github.com/cloudflare/terraform-provider-cloudflare/actions/runs/4069172006/jobs/7008675532#step:6:595 |
@jacobbednarz apologies for that, I pushed this PR to fix them: #2213 |
no sweat; this was my bad missing the test cases when running the acceptance tests. thanks for the PR! |
This functionality has been released in v3.34.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
The following block is a valid
Cache by custom field
Page Rule:cf-terraforming correctly generates
and when I
terraform apply
, the provider will try to send the following request:because of the
cookie
andheader
empty fields, Page Rules will respondThis PR removes empty
cookie
andheader
fields.Closes #2062