network
Azure/network/azurerm
Terraform Azure RM Module for Network
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
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | The name of an existing resource group to be imported. | required |
| use_for_each | bool | Use `for_each` instead of `count` to create multiple resource instances. | required |
| address_space | string | The address space that is used by the virtual network. | "10.0.0.0/16" |
| address_spaces | list(string) | The list of the address spaces that is used by the virtual network. | [] |
| subnet_enforce_private_link_endpoint_network_policies | map(bool) | A map with key (string) `subnet name`, value (bool) `true` or `false` to indicat | {} |
| resource_group_location | string | The location/region where the virtual network is created. Changing this forces a | null |
| subnet_service_endpoints | map(list(string)) | A map with key (string) `subnet name`, value (list(string)) to indicate enabled | {} |
| tracing_tags_enabled | bool | Whether enable tracing tags that generated by BridgeCrew Yor. | false |
| tracing_tags_prefix | string | Default prefix for generated tracing tags | "avm_" |
| vnet_name | string | Name of the vnet to create. | "acctvnet" |
| dns_servers | list(string) | The DNS servers to be used with vNet. | [] |
| subnet_delegation | map(list(object({ name = s | `service_delegation` blocks for `azurerm_subnet` resource, subnet names as keys, | {} |
| subnet_names | list(string) | A list of public subnets inside the vNet. | [
"subnet1"
] |
| subnet_prefixes | list(string) | The address prefix to use for the subnet. | [
"10.0.1.0/24"
] |
| tags | map(string) | The tags to associate with your network and subnets. | {
"environment": "dev"
} |
vnet_location — The location of the newly created vNetvnet_name — The name of the newly created vNetvnet_subnets — The ids of subnets created inside the newly created vNetvnet_address_space — The address space of the newly created vNetvnet_id — The id of the newly created vNet