-
Notifications
You must be signed in to change notification settings - Fork 649
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
Add data source for WAF Groups #508
Add data source for WAF Groups #508
Conversation
Are you able to provide a description of what the use case is for this? I can't think of any and would like to make sure we have a use case before just adding these new datasources. |
We want to be able to use the values returned by those data sources to use For instance, something like: resource "cloudflare_waf_group" "bulk" {
for_each = {
for _, group in data.cloudflare_waf_groups.selected_bulk.groups :
group['id'] => group
if group['id'] != xxxx // If I want to exclude this one here because I did a singular action on it
}
zone_id = data.cloudflare_waf_groups.selected_bulk.zone_id
group_id = each.key
package_id = each.value['package_id']
mode = "off"
} cc @sbfaulkner |
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.
Please also add new documentation page to TOC: https://github.com/terraform-providers/terraform-provider-cloudflare/blob/master/website/cloudflare.erb
Done! |
Thanks! |
Thank you! :) |
* Add support for TLS certificate packs Updates the library to introduce support for certificate packs. API documentation: - https://api.cloudflare.com/#certificate-packs-properties - https://developers.cloudflare.com/ssl/advanced-certificate-manager * simplify response structs Co-authored-by: Patryk Szczygłowski <patryk@patryk.net>
No description provided.