Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 7.43 KB

DOCS.md

File metadata and controls

56 lines (45 loc) · 7.43 KB

Requirements

No requirements.

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_subnet.subnet resource
azurerm_subnet_network_security_group_association.vnet resource
azurerm_virtual_network.vnet resource

Inputs

Name Description Type Default Required
address_space The address space that is used by the virtual network. list(string)
[
"10.0.0.0/16"
]
no
dns_servers The DNS servers to be used with vNet. list(string) [] no
location The location for this resource to be put in string n/a yes
nsg_ids A map of subnet name to Network Security Group IDs map(string) {} no
rg_name The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists string n/a yes
route_tables_ids A map of subnet name to Route table ids map(string) {} no
subnet_delegation A map of subnet name to delegation block on the subnet map(map(any)) {} no
subnet_delegations_actions Unused, but composes a list of delegation actions when delegations of subnets is used map(list(string))
{
"Microsoft.AzureCosmosDB/clusters": [
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.BareMetal/AzureVMware": [
"Microsoft.Network/networkinterfaces/",
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.BareMetal/CrayServers": [
"Microsoft.Network/networkinterfaces/
",
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.Batch/batchAccounts": [
"Microsoft.Network/virtualNetworks/subnets/action"
],
"Microsoft.ContainerInstance/containerGroups": [
"Microsoft.Network/virtualNetworks/subnets/action"
],
"Microsoft.DBforPostgreSQL/serversv2": [
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.Databricks/workspaces": [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action"
],
"Microsoft.HardwareSecurityModules/dedicatedHSMs": [
"Microsoft.Network/networkinterfaces/",
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.Logic/integrationServiceEnvironments": [
"Microsoft.Network/virtualNetworks/subnets/action"
],
"Microsoft.Netapp/volumes": [
"Microsoft.Network/networkinterfaces/
",
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.Network/dnsResolvers": [
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.ServiceFabricMesh/networks": [
"Microsoft.Network/virtualNetworks/subnets/action"
],
"Microsoft.Sql/managedInstances": [
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action"
],
"Microsoft.StreamAnalytics/streamingJobs": [
"Microsoft.Network/virtualNetworks/subnets/join/action"
],
"Microsoft.Web/hostingEnvironments": [
"Microsoft.Network/virtualNetworks/subnets/action"
],
"Microsoft.Web/serverFarms": [
"Microsoft.Network/virtualNetworks/subnets/action"
]
}
no
subnet_enforce_private_link_endpoint_network_policies A map of subnet name to enable/disable private link endpoint network policies on the subnet. map(bool) {} no
subnet_enforce_private_link_service_network_policies A map of subnet name to enable/disable private link service network policies on the subnet. map(bool) {} no
subnet_names A list of public subnets inside the vNet. list(string)
[
"subnet1",
"subnet2",
"subnet3"
]
no
subnet_prefixes The address prefix to use for the subnet. list(string)
[
"10.0.1.0/24"
]
no
subnet_service_endpoints A map of subnet name to service endpoints to add to the subnet. map(any) {} no
tags The tags to associate with your network and subnets. map(string)
{
"ENV": "test"
}
no
vnet_location The location of the vnet to create. Defaults to the location of the resource group. string null no
vnet_name Name of the vnet to create string "acctvnet" no

Outputs

Name Description
subnets_ids The ids of the subnets created
subnets_names The name of the subnets created
vnet_address_space The address space of the newly created vNet
vnet_dns_servers The dns servers of the vnet, if it is using Azure default, this module will return the Azure 'wire' IP as a list of string in the 1st element
vnet_id The id of the newly created vNet
vnet_location The location of the newly created vNet
vnet_name The Name of the newly created vNet
vnet_rg_name The resource group name which the VNet is in
vnet_subnets The ids of subnets created inside the newly created vNet