{"id":18578948,"url":"https://github.com/libre-devops/terraform-azurerm-route-table","last_synced_at":"2026-01-25T17:32:24.618Z","repository":{"id":118714557,"uuid":"492199183","full_name":"libre-devops/terraform-azurerm-route-table","owner":"libre-devops","description":"A module used to deploy a route table and some routes :knife:","archived":false,"fork":false,"pushed_at":"2022-05-17T21:44:53.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-16T02:12:39.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","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}},"created_at":"2022-05-14T11:41:10.000Z","updated_at":"2022-05-14T12:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"48ff561d-5b7f-4312-a93a-2f34b5099513","html_url":"https://github.com/libre-devops/terraform-azurerm-route-table","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"libre-devops/terraform-module-template","purl":"pkg:github/libre-devops/terraform-azurerm-route-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-route-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-route-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-route-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-route-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/terraform-azurerm-route-table/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-route-table/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"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":"2024-11-06T23:38:23.363Z","updated_at":"2026-01-25T17:32:24.603Z","avatar_url":"https://github.com/libre-devops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nmodule \"rg\" {\n  source = \"registry.terraform.io/libre-devops/rg/azurerm\"\n\n  rg_name  = \"rg-${var.short}-${var.loc}-${terraform.workspace}-build\" // rg-ldo-euw-dev-build\n  location = local.location                                            // compares var.loc with the var.regions var to match a long-hand name, in this case, \"euw\", so \"westeurope\"\n  tags     = local.tags\n\n  #  lock_level = \"CanNotDelete\" // Do not set this value to skip lock\n}\n\nmodule \"network\" {\n  source = \"registry.terraform.io/libre-devops/network/azurerm\"\n\n  rg_name  = module.rg.rg_name // rg-ldo-euw-dev-build\n  location = module.rg.rg_location\n  tags     = local.tags\n\n  vnet_name     = \"vnet-${var.short}-${var.loc}-${terraform.workspace}-01\" // vnet-ldo-euw-dev-01\n  vnet_location = module.network.vnet_location\n\n  address_space   = [\"10.0.0.0/16\"]\n  subnet_prefixes = [\"10.0.1.0/24\", \"10.0.2.0/24\", \"10.0.3.0/24\"]\n  subnet_names    = [\"sn1-${module.network.vnet_name}\", \"sn2-${module.network.vnet_name}\", \"sn3-${module.network.vnet_name}\"] //sn1-vnet-ldo-euw-dev-01\n  subnet_service_endpoints = {\n    \"sn1-${module.network.vnet_name}\" = [\"Microsoft.Storage\"]                   // Adds extra subnet endpoints to sn1-vnet-ldo-euw-dev-01\n    \"sn2-${module.network.vnet_name}\" = [\"Microsoft.Storage\", \"Microsoft.Sql\"], // Adds extra subnet endpoints to sn2-vnet-ldo-euw-dev-01\n    \"sn3-${module.network.vnet_name}\" = [\"Microsoft.AzureActiveDirectory\"]      // Adds extra subnet endpoints to sn3-vnet-ldo-euw-dev-01\n  }\n}\n\nmodule \"rt\" {\n  source = \"registry.terraform.io/libre-devops/route-table/azurerm\"\n\n  rg_name  = module.rg.rg_name\n  location = module.rg.rg_location\n  tags     = module.rg.rg_tags\n\n  route_table_name              = \"rt-${var.short}-${var.loc}-${terraform.workspace}-01\"\n  enable_force_tunneling        = true\n  force_tunnel_route_name       = \"udr-${var.short}-${var.loc}-${terraform.workspace}-ForceInternetTunnel\"\n  disable_bgp_route_propagation = true\n\n  associate_with_subnet  = true\n  subnet_id_to_associate = element(values(module.network.subnets_ids), 0)\n}\n\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.force_tunneling](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/route) | resource |\n| [azurerm_route_table.rt](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/route_table) | resource |\n| [azurerm_subnet_route_table_association.rt_snet_association](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_associate_with_subnet\"\u003e\u003c/a\u003e [associate\\_with\\_subnet](#input\\_associate\\_with\\_subnet) | If this route table should be assosciated with a subnet, defaults to true | `bool` | `true` | no |\n| \u003ca name=\"input_disable_bgp_route_propagation\"\u003e\u003c/a\u003e [disable\\_bgp\\_route\\_propagation](#input\\_disable\\_bgp\\_route\\_propagation) | Whether or not to enable or disable BGP routes | `bool` | n/a | yes |\n| \u003ca name=\"input_enable_force_tunneling\"\u003e\u003c/a\u003e [enable\\_force\\_tunneling](#input\\_enable\\_force\\_tunneling) | Whether or not force tunneling is enabled, defaults to true | `bool` | `true` | no |\n| \u003ca name=\"input_force_tunnel_next_hope_type\"\u003e\u003c/a\u003e [force\\_tunnel\\_next\\_hope\\_type](#input\\_force\\_tunnel\\_next\\_hope\\_type) | The next hop type if a forced tunnel is created, defaults to VirtualNetworkGateway | `string` | `\"VirtualNetworkGateway\"` | no |\n| \u003ca name=\"input_force_tunnel_route_name\"\u003e\u003c/a\u003e [force\\_tunnel\\_route\\_name](#input\\_force\\_tunnel\\_route\\_name) | The name of the force tunnel route name if used | `string` | `null` | 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_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_table_name\"\u003e\u003c/a\u003e [route\\_table\\_name](#input\\_route\\_table\\_name) | The name of the route table | `string` | n/a | yes |\n| \u003ca name=\"input_routes\"\u003e\u003c/a\u003e [routes](#input\\_routes) | The map block for the routes | `any` | `null` | no |\n| \u003ca name=\"input_subnet_id_to_associate\"\u003e\u003c/a\u003e [subnet\\_id\\_to\\_associate](#input\\_subnet\\_id\\_to\\_associate) | If you wish to associate with a subnet, the ID of it | `string` | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"source\": \"terraform\"\u003cbr\u003e}\u003c/pre\u003e | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_force_tunnel_route_id\"\u003e\u003c/a\u003e [force\\_tunnel\\_route\\_id](#output\\_force\\_tunnel\\_route\\_id) | If force tunneling is enabled, the id of the route |\n| \u003ca name=\"output_force_tunnel_route_name\"\u003e\u003c/a\u003e [force\\_tunnel\\_route\\_name](#output\\_force\\_tunnel\\_route\\_name) | If force tunneling is enabled, the name of the route |\n| \u003ca name=\"output_rt_id\"\u003e\u003c/a\u003e [rt\\_id](#output\\_rt\\_id) | The id of the route table |\n| \u003ca name=\"output_rt_name\"\u003e\u003c/a\u003e [rt\\_name](#output\\_rt\\_name) | The name of the route table |\n| \u003ca name=\"output_rt_subnets\"\u003e\u003c/a\u003e [rt\\_subnets](#output\\_rt\\_subnets) | The subnets the route table is attitude to |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-route-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-route-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-route-table/lists"}