{"id":28143622,"url":"https://github.com/libre-devops/terraform-azurerm-subnet","last_synced_at":"2025-05-14T21:19:21.083Z","repository":{"id":289570615,"uuid":"971698662","full_name":"libre-devops/terraform-azurerm-subnet","owner":"libre-devops","description":"A module used to deploy subnets to an existing vnet 🛜","archived":false,"fork":false,"pushed_at":"2025-04-23T23:40:04.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-24T00:29:12.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libre-devops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-23T23:33:38.000Z","updated_at":"2025-04-23T23:39:05.000Z","dependencies_parsed_at":"2025-04-24T00:39:16.792Z","dependency_job_id":null,"html_url":"https://github.com/libre-devops/terraform-azurerm-subnet","commit_stats":null,"previous_names":["libre-devops/terraform-azurerm-subnet"],"tags_count":2,"template":false,"template_full_name":"libre-devops/terraform-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-subnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-subnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-subnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-subnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/terraform-azurerm-subnet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227580,"owners_count":22035675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-05-14T21:19:07.815Z","updated_at":"2025-05-14T21:19:21.076Z","avatar_url":"https://github.com/libre-devops.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nresource \"azurerm_subnet\" \"subnet\" {\n  for_each = var.subnets\n\n  name                                          = each.key\n  resource_group_name                           = var.rg_name\n  virtual_network_name                          = var.vnet_name\n  address_prefixes                              = toset(each.value.address_prefixes)\n  service_endpoints                             = toset(each.value.service_endpoints)\n  service_endpoint_policy_ids                   = toset(each.value.service_endpoint_policy_ids)\n  private_endpoint_network_policies             = each.value.private_endpoint_network_policies\n  private_link_service_network_policies_enabled = each.value.private_link_service_network_policies_enabled\n  default_outbound_access_enabled               = each.value.default_outbound_access_enabled\n\n  dynamic \"delegation\" {\n    for_each = each.value.delegation != null ? each.value.delegation : []\n    content {\n      name = delegation.value.type\n      service_delegation {\n        name    = delegation.value.type\n        actions = lookup(var.subnet_delegations_actions, delegation.value.type, delegation.value.action)\n      }\n    }\n  }\n}\n\nlocals {\n  subnets = {\n    for subnet in azurerm_subnet.subnet :\n    subnet.name =\u003e subnet.id\n  }\n}\n\nresource \"azurerm_subnet_network_security_group_association\" \"vnet\" {\n  for_each                  = var.nsg_ids != null ? var.nsg_ids : {}\n  subnet_id                 = local.subnets[each.key]\n  network_security_group_id = each.value\n}\n\nlocals {\n\n  route_table_associations = {\n    for assoc in azurerm_subnet_route_table_association.this :\n    assoc.subnet_id =\u003e {\n      subnet_id      = assoc.subnet_id,\n      route_table_id = assoc.route_table_id\n    }\n  }\n\n  grouped_by_route_table = {\n    for rt_id in distinct([for assoc in local.route_table_associations : assoc.route_table_id]) :\n    rt_id =\u003e [for assoc in local.route_table_associations : assoc.subnet_id if assoc.route_table_id == rt_id]\n  }\n}\n\n\nresource \"azurerm_route_table\" \"this\" {\n  for_each = var.route_tables\n\n  name                          = each.key\n  location                      = var.location\n  resource_group_name           = var.rg_name\n  bgp_route_propagation_enabled = each.value.bgp_route_propagation_enabled\n\n  dynamic \"route\" {\n    for_each = each.value.routes\n    content {\n      name                   = route.key\n      address_prefix         = route.value.address_prefix\n      next_hop_type          = route.value.next_hop_type\n      next_hop_in_ip_address = lookup(route.value, \"next_hop_in_ip_address\", null)\n\n    }\n  }\n}\n\nresource \"azurerm_subnet_route_table_association\" \"this\" {\n  depends_on     = [azurerm_subnet.subnet]\n  for_each       = var.subnet_route_table_associations\n  subnet_id      = local.subnets[each.key]\n  route_table_id = azurerm_route_table.this[each.value].id\n}\n```\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_route_table.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/route_table) | resource |\n| [azurerm_subnet.subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet) | resource |\n| [azurerm_subnet_network_security_group_association.vnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_network_security_group_association) | resource |\n| [azurerm_subnet_route_table_association.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_route_table_association) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_create_diagnostic_settings\"\u003e\u003c/a\u003e [create\\_diagnostic\\_settings](#input\\_create\\_diagnostic\\_settings) | Whether diagnostic settings should be made | `bool` | `false` | no |\n| \u003ca name=\"input_diagnostic_settings\"\u003e\u003c/a\u003e [diagnostic\\_settings](#input\\_diagnostic\\_settings) | An object containing the diagnostic settings for a resource | \u003cpre\u003eobject({\u003cbr/\u003e    diagnostic_settings_name       = optional(string)\u003cbr/\u003e    target_resource_id             = optional(string)\u003cbr/\u003e    storage_account_id             = optional(string)\u003cbr/\u003e    eventhub_name                  = optional(string)\u003cbr/\u003e    eventhub_authorization_rule_id = optional(string)\u003cbr/\u003e    law_id                         = optional(string)\u003cbr/\u003e    law_destination_type           = optional(string, \"Dedicated\")\u003cbr/\u003e    partner_solution_id            = optional(string)\u003cbr/\u003e    enabled_log = optional(list(object({\u003cbr/\u003e      category       = optional(string)\u003cbr/\u003e      category_group = optional(string)\u003cbr/\u003e    })), [])\u003cbr/\u003e    metric = optional(list(object({\u003cbr/\u003e      category = string\u003cbr/\u003e      enabled  = optional(bool, true)\u003cbr/\u003e    })), [])\u003cbr/\u003e    enable_all_logs    = optional(bool, false)\u003cbr/\u003e    enable_all_metrics = optional(bool, false)\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_diagnostic_settings_enable_all_logs_and_metrics\"\u003e\u003c/a\u003e [diagnostic\\_settings\\_enable\\_all\\_logs\\_and\\_metrics](#input\\_diagnostic\\_settings\\_enable\\_all\\_logs\\_and\\_metrics) | Whether all logs and metrics should be enabled | `bool` | `false` | no |\n| \u003ca name=\"input_dns_servers\"\u003e\u003c/a\u003e [dns\\_servers](#input\\_dns\\_servers) | The DNS servers to be used with vNet. | `list(string)` | `[]` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The location for this resource to be put in | `string` | n/a | yes |\n| \u003ca name=\"input_nsg_ids\"\u003e\u003c/a\u003e [nsg\\_ids](#input\\_nsg\\_ids) | A map of subnet name to Network Security Group IDs | `map(string)` | `{}` | no |\n| \u003ca name=\"input_rg_name\"\u003e\u003c/a\u003e [rg\\_name](#input\\_rg\\_name) | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | `string` | n/a | yes |\n| \u003ca name=\"input_route_tables\"\u003e\u003c/a\u003e [route\\_tables](#input\\_route\\_tables) | Map of Route Tables to be created, where the key is the name of the Route Table. | \u003cpre\u003emap(object({\u003cbr/\u003e    bgp_route_propagation_enabled = optional(bool, false)\u003cbr/\u003e    routes = map(object({\u003cbr/\u003e      address_prefix         = string\u003cbr/\u003e      next_hop_type          = string\u003cbr/\u003e      next_hop_in_ip_address = optional(string)\u003cbr/\u003e    }))\u003cbr/\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_route_tables_ids\"\u003e\u003c/a\u003e [route\\_tables\\_ids](#input\\_route\\_tables\\_ids) | A map of subnet name to Route table ids | `map(string)` | `{}` | no |\n| \u003ca name=\"input_subnet_delegations_actions\"\u003e\u003c/a\u003e [subnet\\_delegations\\_actions](#input\\_subnet\\_delegations\\_actions) | List of delegation actions when delegations of subnets is used, will be done for query | `map(list(string))` | \u003cpre\u003e{\u003cbr/\u003e  \"GitHub.Network/networkSettings\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.AVS/PrivateClouds\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ApiManagement/service\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Apollo/npu\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.App/environments\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.App/testClients\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.AzureCosmosDB/clusters\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/AzureHPC\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/AzureHostedService\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/AzurePaymentHSM\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/AzureVMware\": [\u003cbr/\u003e    \"Microsoft.Network/networkinterfaces/*\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/CrayServers\": [\u003cbr/\u003e    \"Microsoft.Network/networkinterfaces/*\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.BareMetal/MonitoringServers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Batch/batchAccounts\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.CloudTest/hostedpools\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.CloudTest/images\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.CloudTest/pools\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Codespaces/plans\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ContainerInstance/containerGroups\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ContainerService/TestClients\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ContainerService/managedClusters\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforMySQL/flexibleServers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforMySQL/servers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforMySQL/serversv2\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforPostgreSQL/flexibleServers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforPostgreSQL/serversv2\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DBforPostgreSQL/singleServers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Databricks/workspaces\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DelegatedNetwork/controller\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DevCenter/networkConnection\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DevOpsInfrastructure/pools\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.DocumentDB/cassandraClusters\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Fidalgo/networkSettings\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.HardwareSecurityModules/dedicatedHSMs\": [\u003cbr/\u003e    \"Microsoft.Network/networkinterfaces/*\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Kusto/clusters\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.LabServices/labplans\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Logic/integrationServiceEnvironments\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.MachineLearningServices/workspaces\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Netapp/volumes\": [\u003cbr/\u003e    \"Microsoft.Network/networkinterfaces/*\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Network/dnsResolvers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Network/fpgaNetworkInterfaces\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Network/managedResolvers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Network/networkWatchers.\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Network/virtualNetworkGateways\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Orbital/orbitalGateways\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.PowerPlatform/enterprisePolicies\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.PowerPlatform/vnetaccesslinks\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ServiceFabricMesh/networks\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.ServiceNetworking/trafficControllers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Singularity/accounts/networks\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Singularity/accounts/npu\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Sql/managedInstances\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action\",\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Sql/managedInstancesOnebox\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Sql/managedInstancesStage\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Sql/managedInstancesTest\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Sql/servers\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.StoragePool/diskPools\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.StreamAnalytics/streamingJobs\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/join/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Synapse/workspaces\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Web/hostingEnvironments\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Microsoft.Web/serverFarms\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"NGINX.NGINXPLUS/nginxDeployments\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"PaloAltoNetworks.Cloudngfw/firewalls\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ],\u003cbr/\u003e  \"Qumulo.Storage/fileSystems\": [\u003cbr/\u003e    \"Microsoft.Network/virtualNetworks/subnets/action\"\u003cbr/\u003e  ]\u003cbr/\u003e}\u003c/pre\u003e | 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 of subnet name to enable/disable private link endpoint network policies on the subnet. | `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 of subnet name to enable/disable private link service network policies on the subnet. | `map(bool)` | `{}` | no |\n| \u003ca name=\"input_subnet_route_table_associations\"\u003e\u003c/a\u003e [subnet\\_route\\_table\\_associations](#input\\_subnet\\_route\\_table\\_associations) | Map where the key is the subnet name and the value is the name of the route table to associate with. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_subnet_service_endpoints\"\u003e\u003c/a\u003e [subnet\\_service\\_endpoints](#input\\_subnet\\_service\\_endpoints) | A map of subnet name to service endpoints to add to the subnet. | `map(any)` | `{}` | no |\n| \u003ca name=\"input_subnets\"\u003e\u003c/a\u003e [subnets](#input\\_subnets) | Map of subnets with their properties | \u003cpre\u003emap(object({\u003cbr/\u003e    address_prefixes                              = set(string)\u003cbr/\u003e    private_endpoint_network_policies             = optional(string, \"Disabled\")\u003cbr/\u003e    private_link_service_network_policies_enabled = optional(bool, false)\u003cbr/\u003e    default_outbound_access_enabled               = optional(bool, true)\u003cbr/\u003e    service_endpoint_policy_ids                   = optional(set(string))\u003cbr/\u003e    delegation = optional(list(object({\u003cbr/\u003e      type   = optional(string)\u003cbr/\u003e      action = optional(list(string)) # Optional user-defined action\u003cbr/\u003e    })))\u003cbr/\u003e    service_endpoints = optional(list(string))\u003cbr/\u003e  }))\u003c/pre\u003e | `{}` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | The tags to associate with your network and subnets. | `map(string)` | n/a | yes |\n| \u003ca name=\"input_vnet_name\"\u003e\u003c/a\u003e [vnet\\_name](#input\\_vnet\\_name) | Name of the vnet to create | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_route_table_ids\"\u003e\u003c/a\u003e [route\\_table\\_ids](#output\\_route\\_table\\_ids) | Map of Route Table names to their IDs. |\n| \u003ca name=\"output_subnet_ids_associated_with_route_tables\"\u003e\u003c/a\u003e [subnet\\_ids\\_associated\\_with\\_route\\_tables](#output\\_subnet\\_ids\\_associated\\_with\\_route\\_tables) | The IDs of the subnets associated with each route table |\n| \u003ca name=\"output_subnets_ids\"\u003e\u003c/a\u003e [subnets\\_ids](#output\\_subnets\\_ids) | The ids of the subnets created |\n| \u003ca name=\"output_subnets_names\"\u003e\u003c/a\u003e [subnets\\_names](#output\\_subnets\\_names) | The name of the subnets created |\n| \u003ca name=\"output_vnet_dns_servers\"\u003e\u003c/a\u003e [vnet\\_dns\\_servers](#output\\_vnet\\_dns\\_servers) | The dns servers of the vnet, if it is using Azure default, this module will return the Azure 'wire' IP as a list of string in the 1st element |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-subnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-subnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-subnet/lists"}