Open archmangler opened 1 month ago
Hi this isn't a bug, we will consider this feature for a future release.
Does anybody have a workaround for adding extra public ip's to the firewall? I tried using the advanced options but this will only override the current public ip address and not add additional public ip's unfortunately
A workaround for now is to create extra public ip's and add them as overrides in the connectivity settings:
advanced = {
custom_settings_by_resource_type = {
azurerm_firewall = {
connectivity = {
westeurope = {
name = "afw-hub-weu-01"
ip_configuration = [
{
name = "pip-fw-weu-01"
private_ip_address = "10.0.0.4"
public_ip_address_id = "/subscriptions/<subscription_id>/resourceGroups/<rg_name>/providers/Microsoft.Network/publicIPAddresses/pip-fw-weu-01"
subnet_id = "/subscriptions/<subscription_id>/resourceGroups/<rg_name>/providers/Microsoft.Network/virtualNetworks/<vnet_name>/subnets/AzureFirewallSubnet"
},
{
name = "pip2-fw-weu-01"
public_ip_address_id = "/subscriptions/<subscription_id>/resourceGroups/<rg_name>/providers/Microsoft.Network/publicIPAddresses/pip2-fw-weu-01"
}
]
}
}
}
}
}
Thanks, Daan. This will help for now!
Community Note
Versions
terraform:
all
azure provider:
all
module:
all
Description
Describe the bug
The terraform configuration bloc for Azure Firewall does not support specification of multiple public IP addresses or of a single static public IP address:
Steps to Reproduce
Screenshots
Additional context
Lack of support for easily specifying multiple Public IP addresses (static or dynamic) in the configuration means the user is unable to make use of key features of the Azure Firewall.: