Skip to content

opszero/terraform-azurerm-subnet

Repository files navigation

Providers

Name Version
azurerm >= 4.2.0

Inputs

Name Description Type Default Required
bgp_route_propagation_enabled Boolean flag which controls propagation of routes learned by BGP on that route table. bool false 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 "" no
label_order Label order, e.g. name,application. list(any)
[
"name",
"environment"
]
no
location The location/region where the virtual network is created. Changing this forces a new resource to be created. string "" no
managedby ManagedBy, eg 'info@opszero.com' string "info@opszero.com" no
name Name (e.g. app or cluster). string "" no
nat_gateway_idle_timeout Idle timeout configuration in minutes for Nat Gateway number 4 no
public_ip_zones Public ip Zones to configure. list(string) null no
repository Terraform current module repo string "https://github.com/opszero/terraform-azure-subnet" no
resource_group_name The name of an existing resource group to be imported. string "" 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_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
specific_name_subnet n/a bool false no
specific_subnet_names A list of subnets inside the vNet. string "" no
subnet_enforce_private_link_endpoint_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. map(bool) {} 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
tags Additional tags (e.g. map(BusinessUnit,XYZ). map(string) {} no
virtual_network_name The name of the virtual network in which the subnet is created in string "" no

Resources

Name Type
azurerm_nat_gateway.natgw resource
azurerm_nat_gateway_public_ip_association.pip_assoc resource
azurerm_public_ip.pip resource
azurerm_route_table.rt resource
azurerm_subnet.specific_subnet resource
azurerm_subnet.subnet resource
azurerm_subnet_nat_gateway_association.subnet_assoc resource
azurerm_subnet_route_table_association.main resource
azurerm_subnet_route_table_association.main2 resource

Outputs

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 subnet ID.
specific_subnet_name The name of the subnet.

🚀 Built by opsZero!

Since 2016 opsZero has been providing Kubernetes expertise to companies of all sizes on any Cloud. With a focus on AI and Compliance we can say we seen it all whether SOC2, HIPAA, PCI-DSS, ITAR, FedRAMP, CMMC we have you and your customers covered.

We provide support to organizations in the following ways:

We do this with a high-touch support model where you:

  • Get access to us on Slack, Microsoft Teams or Email
  • Get 24/7 coverage of your infrastructure
  • Get an accelerated migration to Kubernetes

Please schedule a call if you need support.



About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages