waf-rulesets
cloudposse/waf-rulesets/cloudflare
Terraform module to manage CloudFlare WAF rulesetes.
Install
README
terraform-cloudflare-waf-rulesets   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module to manage CloudFlare WAF rulesets. __NOTE:__ This module is a hard fork of Innovation Norway's terraform module and adapted to Cloud Posse conventions. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] We literally have [hundreds of terraform modules][terraform_modules] that are Open Source an
Inputs (20)
| Name | Type | Description | Default |
|---|---|---|---|
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | required |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | required |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | required |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | required |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | required |
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | required |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | required |
| zone | string | The name of the DNS zone. | required |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | required |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | required |
| enabled | bool | Set to false to prevent the module from creating any resources | required |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | required |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | required |
| rulesets | list(object({ name | A list of `rulesets` objects. name: The name of the firewall package. sensitiv | required |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
Outputs (1)
rulesets — A list of `rulesets` objects.Resources (3)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,