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
- Host: GitHub
- URL: https://github.com/avidhara/terraform-azurerm-waf-policy
- Owner: avidhara
- Created: 2023-12-26T04:36:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-27T07:29:56.000Z (over 1 year ago)
- Last Synced: 2025-01-15T01:39:03.464Z (5 months ago)
- Topics: azure, azure-waf, terraform, terraform-azure, terraform-azurerm, terraform-module, terraform-modules
- Language: HCL
- Homepage: https://registry.terraform.io/modules/avidhara/waf-policy/azurerm/latest
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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` |[| no |
{
"managed_rule_set": [
{
"type": "OWASP",
"version": "3.2"
}
]
}
]
| [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. |