vnet
Azure/vnet/azurerm
Terraform module to create/provision Azure vnet
[DEPRECATED] terraform-azurerm-vnet > NOTE: This terraform-azurerm-vnet module is now deprecated. The module will no longer receive updates or support. Users are encouraged to transition to the avm-res-network-virtualnetwork module for future deployments. Create a basic virtual 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 network security group. This would need to be defined separately as additional security rules on subnets in the deployed network. Notice to contributor Thanks for your contribution! This module was created before Terraform introduce for_each, and according to the document: >If your instances are almost identical, count is appropriate. If so
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Name of the resource group to be imported. | required |
| vnet_location | string | The location of the vnet to create. | required |
| bgp_community | string | (Optional) The BGP community attribute in format `<as-number>:<community-value>` | null |
| subnet_delegation | map(map(any)) | A map of subnet name to delegation block on the subnet | {} |
| subnet_prefixes | list(string) | The address prefix to use for the subnet. | [
"10.0.1.0/24",
"10.0.2.0/24",
"1 |
| subnet_service_endpoints | map(any) | A map of subnet name to service endpoints to add to the subnet. | {} |
| address_space | list(string) | The address space that is used by the virtual network. | [
"10.0.0.0/16"
] |
| dns_servers | list(string) | The DNS servers to be used with vNet. | [] |
| subnet_enforce_private_link_endpoint_network_policies | map(bool) | A map of subnet name to enable/disable private link endpoint network policies on | {} |
| ddos_protection_plan | object({ enable = bool | The set of DDoS protection plan configuration | null |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| subnet_enforce_private_link_service_network_policies | map(bool) | A map of subnet name to enable/disable private link service network policies on | {} |
| tracing_tags_prefix | string | Default prefix for generated tracing tags | "avm_" |
| use_for_each | bool | Use `for_each` instead of `count` to create multiple resource instances. Default | true |
| vnet_name | string | Name of the vnet to create | "acctvnet" |
| nsg_ids | map(string) | A map of subnet name to Network Security Group IDs | {} |
| route_tables_ids | map(string) | A map of subnet name to Route table ids | {} |
| subnet_names | list(string) | A list of public subnets inside the vNet. | [
"subnet1",
"subnet2",
"subnet3"
|
| tags | map(string) | The tags to associate with your network and subnets. | {} |
| tracing_tags_enabled | bool | Whether enable tracing tags that generated by BridgeCrew Yor. | false |
vnet_subnets — The ids of subnets created inside the newly created vNetvnet_subnets_name_id — Can be queried subnet-id by subnet name by using lookup(module.vnet.vnet_subnets_name_id, subnet1)vnet_address_space — The address space of the newly created vNetvnet_guid — The GUID of the newly created vNetvnet_id — The id of the newly created vNetvnet_location — The location of the newly created vNetvnet_name — The Name of the newly created vNet