azurerm_firewall_policy

Manages a Firewall Policy.

Example Usage

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

resource "azurerm_firewall_policy" "example" {
  name                = "example-policy"
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
}

Arguments Reference

The following arguments are supported:



A dns block supports the following:


A identity block supports the following:


An insights block supports the following:


A intrusion_detection block supports the following:


A log_analytics_workspace block supports the following:


A signature_overrides block supports the following:


A threat_intelligence_allowlist block supports the following:


A tls_certificate block supports the following:


A traffic_bypass block supports the following:


A explicit_proxy block supports the following:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Firewall Policies can be imported using the resource id, e.g.

terraform import azurerm_firewall_policy.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/firewallPolicies/policy1