Name | Version |
---|---|
terraform | >= 1.6.4 |
azurerm | 4.14.0 |
Name | Version |
---|---|
azurerm | 4.14.0 |
No modules.
Name | Type |
---|---|
azurerm_subnet.main | resource |
azurerm_virtual_network.main | resource |
azurerm_client_config.current | data source |
azurerm_resource_group.rg | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
default_tags | A mapping of tags to assign to the resource. | map(any) |
{ |
no |
environment | Variable that defines the name of the environment. | string |
"dev" |
no |
region | Region in which resources are deployed. | string |
"weu" |
no |
resource_group_location | The location/region where the virtual network is created. Changing this forces a new resource to be created. | string |
"West Europe" |
no |
resource_group_name | The name of the resource group in which to create the virtual network. | string |
n/a | yes |
subnet_prefix | List of subnets with their prefixes and optional service endpoints and delegations | map(object({ |
{ |
no |
vnet_address_space | The address space that is used the virtual network. You can supply more than one address space. | string |
"10.0.0.0/16" |
no |
vnet_custom_dns | If applicable, a list of custom DNS servers to use inside your virtual network. Unset will use default Azure-provided resolver | list(string) |
null |
no |
vnet_name | The name of the virtual network. Changing this forces a new resource to be created. | string |
"VirtualNetwork1" |
no |
Name | Description |
---|---|
address_space | The list of address spaces used by the virtual network. |
id | The virtual NetworkConfiguration ID. |
location | The location/region where the virtual network is created. |
name | The name of the virtual network. |
resource_group_name | The name of the resource group in which to create the virtual network. |