cidr |
The address prefixes to use for the subnet |
string |
n/a |
yes |
delegations |
(optional) subnet delegation |
list(object({ name = string actions = list(string) })) |
[] |
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) |
[ "Microsoft.Storage", "Microsoft.KeyVault", "Microsoft.Sql", "Microsoft.Web" ] |
no |