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
With this module you can create a virtual network with subnets and security groups in Azure.
Usage
Virtual Network with subnets
module"virtual_network" {
source="<module-source>"resource_group_name="<resource-group-name>"location="<location>"name="<virtual-network-name>"subnets=[
{
name ="<subnet-name>"
address_prefixes = ["<subnet-address-prefixes>"]
},
{
name ="<subnet-name>"
address_prefixes = ["<subnet-address-prefixes>"]
}
]
}
Virtual Network with subnets and security groups
This module can also create security groups and assign them to subnets.By default they're not being attached so to do that, specify assign_to variable with the name of the subnet to which the security group should be assigned.
(Optional) Specifies the Edge Zone within the Azure Region where this Virtual Network should exist. Changing this forces a new Virtual Network to be created.
(Optional) The flow timeout in minutes for the Virtual Network, which is used to enable connection tracking for intra-VM flows. Possible values are between 4 and 30 minutes.