You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_firewall_nat_rule_collection" {
source="./modules/azurerm/r/azurerm_firewall_nat_rule_collection"# action - (required) is a type of stringaction=null# azure_firewall_name - (required) is a type of stringazure_firewall_name=null# name - (required) is a type of stringname=null# priority - (required) is a type of numberpriority=null# resource_group_name - (required) is a type of stringresource_group_name=nullrule=[{
description =null
destination_addresses = []
destination_ports = []
name =null
protocols = []
source_addresses = []
source_ip_groups = []
translated_address =null
translated_port =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_firewall_nat_rule_collection""this" {
# action - (required) is a type of stringaction=var.action# azure_firewall_name - (required) is a type of stringazure_firewall_name=var.azure_firewall_name# name - (required) is a type of stringname=var.name# priority - (required) is a type of numberpriority=var.priority# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_namedynamic"rule" {
for_each=var.rulecontent {
# description - (optional) is a type of stringdescription=rule.value["description"]
# destination_addresses - (required) is a type of set of stringdestination_addresses=rule.value["destination_addresses"]
# destination_ports - (required) is a type of set of stringdestination_ports=rule.value["destination_ports"]
# name - (required) is a type of stringname=rule.value["name"]
# protocols - (required) is a type of set of stringprotocols=rule.value["protocols"]
# source_addresses - (optional) is a type of set of stringsource_addresses=rule.value["source_addresses"]
# source_ip_groups - (optional) is a type of set of stringsource_ip_groups=rule.value["source_ip_groups"]
# translated_address - (required) is a type of stringtranslated_address=rule.value["translated_address"]
# translated_port - (required) is a type of stringtranslated_port=rule.value["translated_port"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}