Name | Description | Type | Default | Required |
---|---|---|---|---|
allocation_method | Defines the allocation method for this IP address. Possible values are Static or Dynamic. | string |
"Static" |
no |
bgp_route_propagation_enabled | Boolean flag which controls propagation of routes learned by BGP on that route table. | bool |
true |
no |
create_nat_gateway | Flag to control nat gateway creation. | bool |
false |
no |
default_outbound_access_enabled | Enable default outbound access to the internet for the subnet. Defaults to true. | bool |
true |
no |
delegation | Configuration delegations on subnet object({ name = object({ name = string, actions = list(string) }) }) |
map(list(any)) |
{} |
no |
enable | Flag to control the module creation | bool |
true |
no |
enable_route_table | Flag to control route table creation. | bool |
true |
no |
environment | Environment (e.g. prod , dev , staging ). |
string |
null |
no |
extra_tags | Variable to pass extra tags. | map(string) |
null |
no |
label_order | Label order, e.g. name ,application . |
list(any) |
[ |
no |
location | The location/region where the virtual network is created. Changing this forces a new resource to be created. | string |
null |
no |
managedby | ManagedBy, eg 'CloudDrove'. | string |
"hello@clouddrove.com" |
no |
name | Name (e.g. app or cluster ). |
string |
null |
no |
nat_gateway_idle_timeout | Idle timeout configuration in minutes for Nat Gateway | number |
4 |
no |
private_endpoint_network_policies | Possible values are Disabled, Enabled, NetworkSecurityGroupEnabled and RouteTableEnabled. Defaults to Disabled.. | string |
"Disabled" |
no |
repository | Terraform current module repo | string |
"https://github.com/clouddrove/terraform-azure-subnet.git" |
no |
resource_group_name | The name of an existing resource group to be imported. | string |
null |
no |
route_table_name | The name of the route table. | string |
null |
no |
routes | List of objects that represent the configuration of each route. | list(map(string)) |
[] |
no |
service_endpoint_policy_ids | The list of IDs of Service Endpoint Policies to associate with the subnet. | list(string) |
null |
no |
service_endpoints | A map with key (string) subnet name , value (list(string)) to indicate enabled service endpoints on the subnet. Default value is []. |
list(string) |
[] |
no |
sku | The SKU of the Public IP. Accepted values are Basic and Standard. Defaults to Basic. Changing this forces a new resource to be created. | string |
"Standard" |
no |
sku_name | The SKU which should be used. At this time the only supported value is Standard. Defaults to Standard. | string |
"Standard" |
no |
specific_name_subnet | fName of the specific subnet. | bool |
false |
no |
specific_subnet_names | A list of subnets inside the vNet. | list(string) |
[ |
no |
subnet_enforce_private_link_service_network_policies | A map with key (string) subnet name , value (bool) true or false to indicate enable or disable network policies for the private link endpoint on the subnet. Default value is false. |
bool |
true |
no |
subnet_names | A list of public subnets inside the vNet. | list(string) |
[] |
no |
subnet_prefixes | The address prefix to use for the subnet. | list(string) |
[] |
no |
virtual_network_name | The name of the virtual network in which the subnet is created in | string |
null |
no |
zones | Public ip Zones to configure. | list(string) |
null |
no |
Name | Description |
---|---|
default_subnet_address_prefixes | The address prefixes for the subnet. |
default_subnet_id | The subnet ID. |
default_subnet_name | The name of the subnet. |
nat_gateway_id | The ID of the NAT Gateway. |
public_ip_address | The IP address value that was allocated. |
public_ip_id | The ID of this Public IP. |
route_table_associated_subnets | The collection of Subnets associated with this route table. |
route_table_id | The Route Table ID. |
specific_subnet_address_prefixes | The address prefixes for the subnet. |
specific_subnet_id | The name of the subnet. |
specific_subnet_name | The name of the subnet. |