firewall

claranet/firewall/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Firewall

Install
module "firewall" {
source = "claranet/firewall/azurerm"
version = "8.0.2"
}
plain text: /constructs/tfmod-claranet-firewall-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Firewall ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/firewall/azurerm/) Common Azure module to generate an Azure Firewall and its dedicated subnet. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | < 2.0 | | < 2.x.x | 0.11.x | | < 2.0 | Contributing If you want to contribute to this repository, feel free to

Inputs (32)
NameTypeDescriptionDefault
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
environmentstringProject environment. required
client_namestringClient name/account used in naming. required
subnet_cidrstringThe address prefix to use for the firewall's subnet. required
locationstringAzure region to use. required
resource_group_namestringResource group name. required
virtual_network_namestringName of the vnet attached to the firewall. required
location_shortstringShort string for Azure location. required
stackstringProject stack name. required
logs_categorieslist(string)Log categories to send to destinations.null
public_ip_custom_namestringCustom name for the public IP.null
additional_public_ipslist(object({ name List of additional public ips' ids to attach to the firewall.[]
zoneslist(number)Optional - Specifies a list of Availability Zones in which this Azure Firewall snull
public_ip_ddos_protection_modestringThe DDoS protection mode to use for the firewall's public address."VirtualNetworkInherited"
custom_namestringOptional custom firewall name.""
application_rule_collectionslist(object({ name = sCreate an application rule collection.null
firewall_policy_idstringAttach an existing firewall policy to this firewall. Cannot be used in conjuctionull
subnet_default_outbound_access_enabledboolWhether to allow default outbound traffic from the subnet.false
name_prefixstringOptional prefix for the generated name.""
nat_rule_collectionslist(object({ name = sCreate a NAT rule collection.null
dns_serverslist(string)DNS Servers to use with Azure Firewall. Using this also activate DNS Proxy.null
default_tags_enabledboolOption to enable or disable default tags.true
network_rule_collectionslist(object({ name = sCreate a network rule collection.null
deploy_log_workbookboolDeploy Azure Workbook Log in log analytics workspace. See [documentation](https:true
sku_tierstringSKU tier of the Firewall. Possible values are `Premium` and `Standard`."Standard"
ip_configuration_namestringName of the ip_configuration block. See [documentation](https://www.terraform.io"ip_configuration"
private_ip_rangeslist(string)A list of SNAT private CIDR IP ranges, or the special string `IANAPrivateRanges`null
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
name_suffixstringOptional suffix for the generated name.""
Outputs (12)
id — Firewall generated ID.
name — Firewall name.
subnet_id — ID of the subnet attached to the firewall.
private_ip_address — Firewall private IP.
public_ip_address — Firewall public IP.
resource — Azure Firewall resource object.
resource_network_rule_collection — Azure Firewall network rule collection resource object.
resource_nat_rule_collection — Azure Firewall NAT rule collection resource object.
resource_application_rule_collection — Azure Firewall application rule collection resource object.
resource_public_ip — Azure Firewall public IP resource object.
module_subnet — Subnet module object.
diagnostic_settings — Diagnostic settings module object.
Resources (6)
azurerm_firewallazurerm_firewall_application_rule_collectionazurerm_firewall_nat_rule_collectionazurerm_firewall_network_rule_collectionazurerm_public_ipazurerm_resource_group_template_deployment
Details
FrameworkTerraform Module
LanguageHCL
Version8.0.2
Cloud AZURERM
★ Stars6
Forks10
Total downloads7.1k
Inputs32
Outputs12
Resources6
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated