Terraform module for creation Azure Network Subnet
Name | Version |
---|---|
terraform | >= 1.0.0 |
azurerm | >= 4.0.1 |
Name | Version |
---|---|
azurerm | >= 4.0.1 |
No modules.
Name | Type |
---|---|
azurerm_subnet.this | resource |
azurerm_subnet_nat_gateway_association.this | resource |
azurerm_subnet_network_security_group_association.this | resource |
azurerm_subnet_route_table_association.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr | The address prefixes to use for the subnet | string |
n/a | yes |
delegations | (optional) subnet delegation | list(object({ |
[] |
no |
export_subnet_id | ID of already existing subnet. Provide this value to associate existing subnet with given Network Security Group | string |
null |
no |
name | The name of the subnet | string |
n/a | yes |
nat_gateway_association_enabled | Boolean flag that determines if NAT Gateway association would be created | bool |
false |
no |
nat_gateway_id | ID of the NAT Gateway which would be assigned to subnet | string |
null |
no |
network | The name of the virtual network in which the subnet is created in | string |
n/a | yes |
nsg_association_enabled | Boolean flag that determines if NSG association would be created | bool |
false |
no |
nsg_id | The ID of the Network Security Group which should be associated with the Subnet | string |
null |
no |
private_endpoint_network_policies | Enable or Disable network policies for the private endpoint on the subnet. Possible values: [Disabled|Enabled|NetworkSecurityGroupEnabled|RouteTableEnabled] | string |
"Enabled" |
no |
private_link_service_network_policies_enabled | Enable or Disable network policies for the private link service on the subnet. Setting this to true will Enable the policy and setting this to false will Disable the policy: [true|false] | bool |
true |
no |
resource_group | The name of the resource group in which to create the storage account | string |
n/a | yes |
route_table_association_enabled | Boolean flag that determines if Route Table association would be created | bool |
false |
no |
route_table_id | ID of the Route Table which would be assigned to subnet | string |
null |
no |
service_endpoints | The list of Service endpoints to associate with the subnet: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage, Microsoft.Web | list(string) |
[ |
no |
Name | Description |
---|---|
address_prefixes | The address prefixes to use for the subnet |
id | The ID of the subnet |
name | The name of the subnet |
name_to_id_map | Map of Subnet Name to Id |
nat_gateway_association_id | The ID of the NAT Gateway Association |
nsg_association_id | The ID of the Network Security Group Association |
route_table_association_id | The ID of the Route Table Association |
Apache 2 Licensed. For more information please see LICENSE