Skip to content

avidhara/terraform-azurerm-waf-policy

Repository files navigation

Terraform module for Azure WAF Policy

How to use it as a module

Requirements

Name Version
terraform >= 0.13.1
azurerm >= 3.0.0

Providers

Name Version
azurerm >= 3.0.0

Modules

No modules.

Resources

Name Type
azurerm_web_application_firewall_policy.this resource

Inputs

Name Description Type Default Required
create_waf_rule Do you want to create WAF rule? bool true no
custom_rules (Optional) One or more custom_rules blocks any [] no
location (Required) Resource location. Changing this forces a new resource to be created. string n/a yes
managed_rules (Required) A managed_rules blocks any
[
{
"managed_rule_set": [
{
"type": "OWASP",
"version": "3.2"
}
]
}
]
no
name (Required) The name of the policy. Changing this forces a new resource to be created. string n/a yes
policy_settings (Optional) A policy_settings block any [] no
resource_group_name (Required) The name of the resource group. Changing this forces a new resource to be created. string n/a yes
tags (Optional) A mapping of tags to assign to the Web Application Firewall Policy. map(string) {} no

Outputs

Name Description
id The ID of the Web Application Firewall Policy.