We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5292eeb commit f9d867fCopy full SHA for f9d867f
modules/azurerm/Firewall-Multiple-PIP/output.tf
@@ -43,3 +43,14 @@ output "firewall_public_ip_names" {
43
value = [for pip in azurerm_public_ip.firewall_public_ip : pip.name]
44
depends_on = [azurerm_public_ip.firewall_public_ip]
45
}
46
+
47
+output "firewall_nat_rule_address_mapping" {
48
+ value = {
49
+ for key, rule in var.dynamic_nat_rules :
50
+ key => {
51
+ destination_address = azurerm_public_ip.firewall_public_ip[key].ip_address
52
+ translated_address = rule.private_ip_address
53
+ }
54
55
+ depends_on = [azurerm_firewall_nat_rule_collection.public_loadbalancer_dnat_rules]
56
+}
0 commit comments