An open API service indexing awesome lists of open source software.

https://github.com/avidhara/terraform-azurerm-waf-policy

Terraform module for Azure WAF policy
https://github.com/avidhara/terraform-azurerm-waf-policy

azure azure-waf terraform terraform-azure terraform-azurerm terraform-module terraform-modules

Last synced: 3 months ago
JSON representation

Terraform module for Azure WAF policy

Awesome Lists containing this project

README

        

# Terraform module for Azure WAF Policy

## How to use it as a module

```hcl

```

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
| [azurerm](#requirement\_azurerm) | >= 3.0.0 |

## Providers

| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | >= 3.0.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [azurerm_web_application_firewall_policy.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/web_application_firewall_policy) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [create\_waf\_rule](#input\_create\_waf\_rule) | Do you want to create WAF rule? | `bool` | `true` | no |
| [custom\_rules](#input\_custom\_rules) | (Optional) One or more custom\_rules blocks | `any` | `[]` | no |
| [location](#input\_location) | (Required) Resource location. Changing this forces a new resource to be created. | `string` | n/a | yes |
| [managed\_rules](#input\_managed\_rules) | (Required) A managed\_rules blocks | `any` |

[
{
"managed_rule_set": [
{
"type": "OWASP",
"version": "3.2"
}
]
}
]
| no |
| [name](#input\_name) | (Required) The name of the policy. Changing this forces a new resource to be created. | `string` | n/a | yes |
| [policy\_settings](#input\_policy\_settings) | (Optional) A policy\_settings block | `any` | `[]` | no |
| [resource\_group\_name](#input\_resource\_group\_name) | (Required) The name of the resource group. Changing this forces a new resource to be created. | `string` | n/a | yes |
| [tags](#input\_tags) | (Optional) A mapping of tags to assign to the Web Application Firewall Policy. | `map(string)` | `{}` | no |

## Outputs

| Name | Description |
|------|-------------|
| [id](#output\_id) | The ID of the Web Application Firewall Policy. |