{"id":28500099,"url":"https://github.com/opszero/terraform-azurerm-subnet","last_synced_at":"2026-01-30T00:40:52.564Z","repository":{"id":296998512,"uuid":"995290859","full_name":"opszero/terraform-azurerm-subnet","owner":"opszero","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-24T19:26:38.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-28T07:31:18.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opszero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["abhiyerra"],"custom":["https://www.opszero.com"]}},"created_at":"2025-06-03T08:59:37.000Z","updated_at":"2025-11-24T19:26:42.000Z","dependencies_parsed_at":"2025-06-03T20:34:15.343Z","dependency_job_id":"f95c98bd-2b88-457c-a325-24ca063f5cc0","html_url":"https://github.com/opszero/terraform-azurerm-subnet","commit_stats":null,"previous_names":["opszero/terraform-azurerm-subnet"],"tags_count":0,"template":false,"template_full_name":"opszero/terraform-template","purl":"pkg:github/opszero/terraform-azurerm-subnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azurerm-subnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azurerm-subnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azurerm-subnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azurerm-subnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opszero","download_url":"https://codeload.github.com/opszero/terraform-azurerm-subnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opszero%2Fterraform-azurerm-subnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28891984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T15:05:52.049Z","updated_at":"2026-01-30T00:40:52.559Z","avatar_url":"https://github.com/opszero.png","language":"HCL","funding_links":["https://github.com/sponsors/abhiyerra","https://www.opszero.com"],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | \u003e= 4.2.0 |\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_bgp_route_propagation_enabled\"\u003e\u003c/a\u003e [bgp\\_route\\_propagation\\_enabled](#input\\_bgp\\_route\\_propagation\\_enabled) | Boolean flag which controls propagation of routes learned by BGP on that route table. | `bool` | `false` | no |\n| \u003ca name=\"input_create_nat_gateway\"\u003e\u003c/a\u003e [create\\_nat\\_gateway](#input\\_create\\_nat\\_gateway) | Flag to control nat gateway creation. | `bool` | `false` | no |\n| \u003ca name=\"input_default_outbound_access_enabled\"\u003e\u003c/a\u003e [default\\_outbound\\_access\\_enabled](#input\\_default\\_outbound\\_access\\_enabled) | Enable default outbound access to the internet for the subnet. Defaults to true. | `bool` | `true` | no |\n| \u003ca name=\"input_delegation\"\u003e\u003c/a\u003e [delegation](#input\\_delegation) | Configuration delegations on subnet\u003cbr/\u003eobject({\u003cbr/\u003e  name = object({\u003cbr/\u003e    name = string,\u003cbr/\u003e    actions = list(string)\u003cbr/\u003e  })\u003cbr/\u003e}) | `map(list(any))` | `{}` | no |\n| \u003ca name=\"input_enable\"\u003e\u003c/a\u003e [enable](#input\\_enable) | Flag to control the module creation | `bool` | `true` | no |\n| \u003ca name=\"input_enable_route_table\"\u003e\u003c/a\u003e [enable\\_route\\_table](#input\\_enable\\_route\\_table) | Flag to control route table creation. | `bool` | `true` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Environment (e.g. `prod`, `dev`, `staging`). | `string` | `\"\"` | no |\n| \u003ca name=\"input_label_order\"\u003e\u003c/a\u003e [label\\_order](#input\\_label\\_order) | Label order, e.g. `name`,`application`. | `list(any)` | \u003cpre\u003e[\u003cbr/\u003e  \"name\",\u003cbr/\u003e  \"environment\"\u003cbr/\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The location/region where the virtual network is created. Changing this forces a new resource to be created. | `string` | `\"\"` | no |\n| \u003ca name=\"input_managedby\"\u003e\u003c/a\u003e [managedby](#input\\_managedby) | ManagedBy, eg 'info@opszero.com' | `string` | `\"info@opszero.com\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name  (e.g. `app` or `cluster`). | `string` | `\"\"` | no |\n| \u003ca name=\"input_nat_gateway_idle_timeout\"\u003e\u003c/a\u003e [nat\\_gateway\\_idle\\_timeout](#input\\_nat\\_gateway\\_idle\\_timeout) | Idle timeout configuration in minutes for Nat Gateway | `number` | `4` | no |\n| \u003ca name=\"input_public_ip_zones\"\u003e\u003c/a\u003e [public\\_ip\\_zones](#input\\_public\\_ip\\_zones) | Public ip Zones to configure. | `list(string)` | `null` | no |\n| \u003ca name=\"input_repository\"\u003e\u003c/a\u003e [repository](#input\\_repository) | Terraform current module repo | `string` | `\"https://github.com/opszero/terraform-azure-subnet\"` | no |\n| \u003ca name=\"input_resource_group_name\"\u003e\u003c/a\u003e [resource\\_group\\_name](#input\\_resource\\_group\\_name) | The name of an existing resource group to be imported. | `string` | `\"\"` | no |\n| \u003ca name=\"input_route_table_name\"\u003e\u003c/a\u003e [route\\_table\\_name](#input\\_route\\_table\\_name) | The name of the route table. | `string` | `null` | no |\n| \u003ca name=\"input_routes\"\u003e\u003c/a\u003e [routes](#input\\_routes) | List of objects that represent the configuration of each route. | `list(map(string))` | `[]` | no |\n| \u003ca name=\"input_service_endpoints\"\u003e\u003c/a\u003e [service\\_endpoints](#input\\_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 |\n| \u003ca name=\"input_specific_name_subnet\"\u003e\u003c/a\u003e [specific\\_name\\_subnet](#input\\_specific\\_name\\_subnet) | n/a | `bool` | `false` | no |\n| \u003ca name=\"input_specific_subnet_names\"\u003e\u003c/a\u003e [specific\\_subnet\\_names](#input\\_specific\\_subnet\\_names) | A list of subnets inside the vNet. | `string` | `\"\"` | no |\n| \u003ca name=\"input_subnet_enforce_private_link_endpoint_network_policies\"\u003e\u003c/a\u003e [subnet\\_enforce\\_private\\_link\\_endpoint\\_network\\_policies](#input\\_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 |\n| \u003ca name=\"input_subnet_enforce_private_link_service_network_policies\"\u003e\u003c/a\u003e [subnet\\_enforce\\_private\\_link\\_service\\_network\\_policies](#input\\_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 |\n| \u003ca name=\"input_subnet_names\"\u003e\u003c/a\u003e [subnet\\_names](#input\\_subnet\\_names) | A list of public subnets inside the vNet. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_subnet_prefixes\"\u003e\u003c/a\u003e [subnet\\_prefixes](#input\\_subnet\\_prefixes) | The address prefix to use for the subnet. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). | `map(string)` | `{}` | no |\n| \u003ca name=\"input_virtual_network_name\"\u003e\u003c/a\u003e [virtual\\_network\\_name](#input\\_virtual\\_network\\_name) | The name of the virtual network in which the subnet is created in | `string` | `\"\"` | no |\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_nat_gateway.natgw](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/nat_gateway) | resource |\n| [azurerm_nat_gateway_public_ip_association.pip_assoc](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/nat_gateway_public_ip_association) | resource |\n| [azurerm_public_ip.pip](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) | resource |\n| [azurerm_route_table.rt](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/route_table) | resource |\n| [azurerm_subnet.specific_subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet) | resource |\n| [azurerm_subnet.subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet) | resource |\n| [azurerm_subnet_nat_gateway_association.subnet_assoc](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_nat_gateway_association) | resource |\n| [azurerm_subnet_route_table_association.main](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_route_table_association) | resource |\n| [azurerm_subnet_route_table_association.main2](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_route_table_association) | resource |\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_default_subnet_address_prefixes\"\u003e\u003c/a\u003e [default\\_subnet\\_address\\_prefixes](#output\\_default\\_subnet\\_address\\_prefixes) | The address prefixes for the subnet. |\n| \u003ca name=\"output_default_subnet_id\"\u003e\u003c/a\u003e [default\\_subnet\\_id](#output\\_default\\_subnet\\_id) | The subnet ID. |\n| \u003ca name=\"output_default_subnet_name\"\u003e\u003c/a\u003e [default\\_subnet\\_name](#output\\_default\\_subnet\\_name) | The name of the subnet. |\n| \u003ca name=\"output_nat_gateway_id\"\u003e\u003c/a\u003e [nat\\_gateway\\_id](#output\\_nat\\_gateway\\_id) | The ID of the NAT Gateway. |\n| \u003ca name=\"output_public_ip_address\"\u003e\u003c/a\u003e [public\\_ip\\_address](#output\\_public\\_ip\\_address) | The IP address value that was allocated. |\n| \u003ca name=\"output_public_ip_id\"\u003e\u003c/a\u003e [public\\_ip\\_id](#output\\_public\\_ip\\_id) | The ID of this Public IP. |\n| \u003ca name=\"output_route_table_associated_subnets\"\u003e\u003c/a\u003e [route\\_table\\_associated\\_subnets](#output\\_route\\_table\\_associated\\_subnets) | The collection of Subnets associated with this route table. |\n| \u003ca name=\"output_route_table_id\"\u003e\u003c/a\u003e [route\\_table\\_id](#output\\_route\\_table\\_id) | The Route Table ID. |\n| \u003ca name=\"output_specific_subnet_address_prefixes\"\u003e\u003c/a\u003e [specific\\_subnet\\_address\\_prefixes](#output\\_specific\\_subnet\\_address\\_prefixes) | The address prefixes for the subnet. |\n| \u003ca name=\"output_specific_subnet_id\"\u003e\u003c/a\u003e [specific\\_subnet\\_id](#output\\_specific\\_subnet\\_id) | The subnet ID. |\n| \u003ca name=\"output_specific_subnet_name\"\u003e\u003c/a\u003e [specific\\_subnet\\_name](#output\\_specific\\_subnet\\_name) | The name of the subnet. |\n# 🚀 Built by opsZero!\n\n\u003ca href=\"https://opszero.com\"\u003e\u003cimg src=\"https://opszero.com/img/common/opsZero-Logo-Large.webp\" width=\"300px\"/\u003e\u003c/a\u003e\n\n[opsZero](https://opszero.com) provides software and consulting for Cloud + AI. With our decade plus of experience scaling some of the world’s most innovative companies we have developed deep expertise in Kubernetes, DevOps, FinOps, and Compliance.\n\nOur software and consulting solutions enable organizations to:\n\n- migrate workloads to the Cloud\n- setup compliance frameworks including SOC2, HIPAA, PCI-DSS, ITAR, FedRamp, CMMC, and more.\n- FinOps solutions to reduce the cost of running Cloud workloads\n- Kubernetes optimized for web scale and AI workloads\n- finding underutilized Cloud resources\n- setting up custom AI training and delivery\n- building data integrations and scrapers\n- modernizing onto modern ARM based processors\n\nWe do this with a high-touch support model where you:\n\n- Get access to us on Slack, Microsoft Teams or Email\n- Get 24/7 coverage of your infrastructure\n- Get an accelerated migration to Kubernetes\n\nPlease [schedule a call](https://calendly.com/opszero-llc/discovery) if you need support.\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n\u003cdiv style=\"display: block\"\u003e\n  \u003cimg src=\"https://opszero.com/img/common/aws-advanced.png\" alt=\"AWS Advanced Tier\" width=\"150px\" \u003e\n  \u003cimg src=\"https://opszero.com/img/common/aws-devops-competency.png\" alt=\"AWS DevOps Competency\" width=\"150px\" \u003e\n  \u003cimg src=\"https://opszero.com/img/common/aws-eks.png\" alt=\"AWS EKS Delivery\" width=\"150px\" \u003e\n  \u003cimg src=\"https://opszero.com/img/common/aws-public-sector.png\" alt=\"AWS Public Sector\" width=\"150px\" \u003e\n\u003c/div\u003e\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopszero%2Fterraform-azurerm-subnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopszero%2Fterraform-azurerm-subnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopszero%2Fterraform-azurerm-subnet/lists"}