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_network_security_rule" {
source="./modules/azurerm/r/azurerm_network_security_rule"# access - (required) is a type of stringaccess=null# description - (optional) is a type of stringdescription=null# destination_address_prefix - (optional) is a type of stringdestination_address_prefix=null# destination_address_prefixes - (optional) is a type of set of stringdestination_address_prefixes=[]
# destination_application_security_group_ids - (optional) is a type of set of stringdestination_application_security_group_ids=[]
# destination_port_range - (optional) is a type of stringdestination_port_range=null# destination_port_ranges - (optional) is a type of set of stringdestination_port_ranges=[]
# direction - (required) is a type of stringdirection=null# name - (required) is a type of stringname=null# network_security_group_name - (required) is a type of stringnetwork_security_group_name=null# priority - (required) is a type of numberpriority=null# protocol - (required) is a type of stringprotocol=null# resource_group_name - (required) is a type of stringresource_group_name=null# source_address_prefix - (optional) is a type of stringsource_address_prefix=null# source_address_prefixes - (optional) is a type of set of stringsource_address_prefixes=[]
# source_application_security_group_ids - (optional) is a type of set of stringsource_application_security_group_ids=[]
# source_port_range - (optional) is a type of stringsource_port_range=null# source_port_ranges - (optional) is a type of set of stringsource_port_ranges=[]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_network_security_rule""this" {
# access - (required) is a type of stringaccess=var.access# description - (optional) is a type of stringdescription=var.description# destination_address_prefix - (optional) is a type of stringdestination_address_prefix=var.destination_address_prefix# destination_address_prefixes - (optional) is a type of set of stringdestination_address_prefixes=var.destination_address_prefixes# destination_application_security_group_ids - (optional) is a type of set of stringdestination_application_security_group_ids=var.destination_application_security_group_ids# destination_port_range - (optional) is a type of stringdestination_port_range=var.destination_port_range# destination_port_ranges - (optional) is a type of set of stringdestination_port_ranges=var.destination_port_ranges# direction - (required) is a type of stringdirection=var.direction# name - (required) is a type of stringname=var.name# network_security_group_name - (required) is a type of stringnetwork_security_group_name=var.network_security_group_name# priority - (required) is a type of numberpriority=var.priority# protocol - (required) is a type of stringprotocol=var.protocol# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# source_address_prefix - (optional) is a type of stringsource_address_prefix=var.source_address_prefix# source_address_prefixes - (optional) is a type of set of stringsource_address_prefixes=var.source_address_prefixes# source_application_security_group_ids - (optional) is a type of set of stringsource_application_security_group_ids=var.source_application_security_group_ids# source_port_range - (optional) is a type of stringsource_port_range=var.source_port_range# source_port_ranges - (optional) is a type of set of stringsource_port_ranges=var.source_port_rangesdynamic"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"]
}
}
}