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
resource"azurerm_firewall_policy_rule_collection_group""this" {
# firewall_policy_id - (required) is a type of stringfirewall_policy_id=var.firewall_policy_id# name - (required) is a type of stringname=var.name# priority - (required) is a type of numberpriority=var.prioritydynamic"application_rule_collection" {
for_each=var.application_rule_collectioncontent {
# action - (required) is a type of stringaction=application_rule_collection.value["action"]
# name - (required) is a type of stringname=application_rule_collection.value["name"]
# priority - (required) is a type of numberpriority=application_rule_collection.value["priority"]
dynamic"rule" {
for_each=application_rule_collection.value.rulecontent {
# destination_fqdn_tags - (optional) is a type of set of stringdestination_fqdn_tags=rule.value["destination_fqdn_tags"]
# destination_fqdns - (optional) is a type of set of stringdestination_fqdns=rule.value["destination_fqdns"]
# name - (required) is a type of stringname=rule.value["name"]
# 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"]
dynamic"protocols" {
for_each=rule.value.protocolscontent {
# port - (required) is a type of numberport=protocols.value["port"]
# type - (required) is a type of stringtype=protocols.value["type"]
}
}
}
}
}
}
dynamic"nat_rule_collection" {
for_each=var.nat_rule_collectioncontent {
# action - (required) is a type of stringaction=nat_rule_collection.value["action"]
# name - (required) is a type of stringname=nat_rule_collection.value["name"]
# priority - (required) is a type of numberpriority=nat_rule_collection.value["priority"]
dynamic"rule" {
for_each=nat_rule_collection.value.rulecontent {
# destination_address - (optional) is a type of stringdestination_address=rule.value["destination_address"]
# destination_ports - (optional) 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 numbertranslated_port=rule.value["translated_port"]
}
}
}
}
dynamic"network_rule_collection" {
for_each=var.network_rule_collectioncontent {
# action - (required) is a type of stringaction=network_rule_collection.value["action"]
# name - (required) is a type of stringname=network_rule_collection.value["name"]
# priority - (required) is a type of numberpriority=network_rule_collection.value["priority"]
dynamic"rule" {
for_each=network_rule_collection.value.rulecontent {
# destination_addresses - (optional) is a type of set of stringdestination_addresses=rule.value["destination_addresses"]
# destination_fqdns - (optional) is a type of set of stringdestination_fqdns=rule.value["destination_fqdns"]
# destination_ip_groups - (optional) is a type of set of stringdestination_ip_groups=rule.value["destination_ip_groups"]
# 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"]
}
}
}
}
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"]
}
}
}