subnet
claranet/subnet/azurerm
Terraform module for Azure virtual networks subnets
Azure network - Subnet     Common Azure module to generate a Virtual Network Subnet. This module must be used within a Virtual Network. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | | >= 3.x.x | 0.12.x | | >= 2.0 | | >= 2.x.x | 0.12.x | | < 2.0 | | < 2.x.x | 0.11.x | | < 2.0 | Contributing If you want to contr
| Name | Type | Description | Default |
|---|---|---|---|
| client_name | string | Client name/account used in naming. | required |
| virtual_network_name | string | Virtual network name. | required |
| location_short | string | Short string for Azure location. | required |
| cidrs | list(string) | The address prefix list to use for the subnet. | required |
| stack | string | Project stack name. | required |
| environment | string | Project environment. | required |
| resource_group_name | string | Resource group name. | required |
| route_table_name | string | The Route Table name to associate with the subnet. | null |
| private_endpoint_network_policies | string | Enable or disable network policies for the private endpoint on the subnet. Possi | null |
| private_link_service_enabled | bool | Enable or disable network policies for the Private Link Service on the subnet. | null |
| name_prefix | string | Optional prefix for the generated name. | "" |
| route_table_rg | string | The Route Table RG to associate with the subnet. Default is the same RG than the | null |
| network_security_group_name | string | The Network Security Group name to associate with the subnets. | null |
| service_endpoints | list(string) | The list of Service endpoints to associate with the subnet. | [] |
| name_suffix | string | Optional suffix for the generated name. | "" |
| private_link_endpoint_enabled | bool | Enable or disable network policies for the Private Endpoint on the subnet. | true |
| delegations | map(list(object({ name | Subnet delegations configuration. | {} |
| default_outbound_access_enabled | bool | Enable or disable `default_outbound_access`. See [documentation](https://learn.m | false |
| custom_name | string | Optional custom subnet name. | null |
| network_security_group_rg | string | The Network Security Group RG to associate with the subnet. Default is the same | null |
| service_endpoint_policy_ids | list(string) | The list of IDs of Service Endpoint Policies to associate with the subnet. | null |
| nat_gateway | object({ id = string }) | ID of the NAT gateway to associate to the subnet. | null |
cidrs — CIDR list of the created subnets.ips — The collection of IPs within this subnet.nsg_association — Subnet network security group association resource object.cidrs_map — Map with names and CIDRs of the created subnets.name — Name of the created subnet.nsg_association_id — Subnet network security group association ID.rt_association — Subnet route table association resource object.rt_association_id — Subnet route table association ID.resource — Subnet resource object.id — ID of the created subnet.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,