network

Azure/network/azurerm

Terraform Module HCL AZURERM

Terraform Azure RM Module for Network

Install
module "network" {
source = "Azure/network/azurerm"
version = "5.3.0"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-azurerm-network Create a basic network in Azure This Terraform module deploys a Virtual Network in Azure with a subnet or a set of subnets passed in as input parameters. The module does not create nor expose a security group. You could use https://github.com/Azure/terraform-azurerm-vnet to assign network security group to the subnets. Notice on Upgrade to V5.x In v5.0.0, we would make var.use_for_each a required variable so the users must set the value explicitly. For whom are maintaining the existing infrastructure that was created with count should use false, for those who are creating a new stack, we encourage them to use true. V5.0.0 is a major version upgrade. Extreme caution must be taken during the upgrade to avoid resource replacement and downtime by accident. Running the

Inputs (15)
NameTypeDescriptionDefault
resource_group_namestringThe name of an existing resource group to be imported. required
use_for_eachboolUse `for_each` instead of `count` to create multiple resource instances. required
address_spacestringThe address space that is used by the virtual network."10.0.0.0/16"
address_spaceslist(string)The list of the address spaces that is used by the virtual network.[]
subnet_enforce_private_link_endpoint_network_policiesmap(bool)A map with key (string) `subnet name`, value (bool) `true` or `false` to indicat{}
resource_group_locationstringThe location/region where the virtual network is created. Changing this forces anull
subnet_service_endpointsmap(list(string))A map with key (string) `subnet name`, value (list(string)) to indicate enabled {}
tracing_tags_enabledboolWhether enable tracing tags that generated by BridgeCrew Yor.false
tracing_tags_prefixstringDefault prefix for generated tracing tags"avm_"
vnet_namestringName of the vnet to create."acctvnet"
dns_serverslist(string)The DNS servers to be used with vNet.[]
subnet_delegationmap(list(object({ name = s`service_delegation` blocks for `azurerm_subnet` resource, subnet names as keys,{}
subnet_nameslist(string)A list of public subnets inside the vNet.[ "subnet1" ]
subnet_prefixeslist(string)The address prefix to use for the subnet.[ "10.0.1.0/24" ]
tagsmap(string)The tags to associate with your network and subnets.{ "environment": "dev" }
Outputs (5)
vnet_location — The location of the newly created vNet
vnet_name — The name of the newly created vNet
vnet_subnets — The ids of subnets created inside the newly created vNet
vnet_address_space — The address space of the newly created vNet
vnet_id — The id of the newly created vNet
Resources (2)
azurerm_subnetazurerm_virtual_network
Details
FrameworkTerraform Module
LanguageHCL
Version5.3.0
Cloud AZURERM
★ Stars143
Forks1.2k
Total downloads582.3k
Inputs15
Outputs5
Resources2
Examples1
LicenseMIT
NamespaceAzure
Updated