-
Notifications
You must be signed in to change notification settings - Fork 632
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
Fix firewall rule products support which was missing handling #630
Fix firewall rule products support which was missing handling #630
Conversation
9a9fc9d
to
4192270
Compare
name := "cloudflare_firewall_rule." + rnd | ||
zoneID := os.Getenv("CLOUDFLARE_ZONE_ID") | ||
|
||
filterQuoted := `(http.host eq \"` + rnd + `\")` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this rule is invalid but i'm unsure why it's not failing when creating it in the tests (as the rule is parsed for validity on creation).
filterQuoted := `(http.host eq \"` + rnd + `\")` | |
filterQuoted := `(http.host eq \"terraform.cfapi.net\")` |
(or pull it from the env using CLOUDFLARE_DOMAIN
if you'd rather)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked on CF and any string works.
But I've changed it to proposed CLOUDFLARE_DOMAIN
,
149a8ee
to
e577e87
Compare
Thanking you @filipowm 🍰 |
Hi, any chance this will be fixed in a new patch release any time soon? We would love to use this feature. |
@jacobbednarz Any idea when will be the next release? |
We usually release ~ once a month, but it's not a fixed schedule. I'll see about releasing today. |
…qual_http_methods_tests
Resource
cloudflare_firewall_rule
contained actionbypass
and fieldproducts
, however there was no handling implemented what was resulting in error: