Skip to content

networking/firewall

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurecaf_name.fw["azurecaf_name.fw"] azurerm_firewall.fw["azurerm_firewall.fw"] module.diagnostics["module.diagnostics"] azurerm_firewall.fw --> azurecaf_name.fw module.diagnostics --> azurerm_firewall.fw

Module Reference

Category: networking
Path: modules/networking/firewall
Azure Resources: azurecaf_name, azurerm_firewall

Inputs

Name Description Type Required Default Validation
global_settings Global settings object (see module README.md) any yes - -
name (Required) Name of the Azure Firewall to be created any yes - -
location (Required) Location of the Azure Firewall to be created any yes - -
tags (Required) Tags of the Azure Firewall to be created any yes - -
resource_group_name (Required) Resource Group of the Azure Firewall to be created any yes - -
subnet_id (Required) ID for the subnet where to deploy the Azure Firewall any no - -
public_ip_id (Optional) Public IP address identifier. IP address must be of type static and standard. any no - -
diagnostics any no {} -
settings The settings for the Azure resource. any yes - -
diagnostic_profiles any no {} -
base_tags Base tags for the resource to be inherited from the resource group. map(any) yes - -
public_ip_addresses any yes - -
public_ip_keys any no {} -
virtual_wans any no {} -
virtual_hubs any no {} -
virtual_networks any yes - -
client_config any no {} -
firewall_policy_id any no - -

Outputs

Name Description Sensitive Value
id The ID of the Azure Firewall. - azurerm_firewall.fw.id
name Name of the firewall - azurerm_firewall.fw.name
resource_group_name - var.resource_group_name
ip_configuration The Private IP address of the Azure Firewall. - azurerm_firewall.fw.ip_configuration
virtual_hub A virtual_hub block with private_ip_address and punlic_ip_addresses. - azurerm_firewall.fw.virtual_hub

Sources

  • modules/networking/firewall/diagnostics.tf
  • modules/networking/firewall/locals.tf
  • modules/networking/firewall/main.tf
  • modules/networking/firewall/module.tf
  • modules/networking/firewall/outputs.tf
  • modules/networking/firewall/variables.tf