Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aztfm/terraform-azurerm-route-table
Terraform module for Microsoft Azure to manage Route Table resource.
https://github.com/aztfm/terraform-azurerm-route-table
azure azure-resource-manager route-table terraform terraform-module
Last synced: 19 days ago
JSON representation
Terraform module for Microsoft Azure to manage Route Table resource.
- Host: GitHub
- URL: https://github.com/aztfm/terraform-azurerm-route-table
- Owner: aztfm
- License: mit
- Created: 2020-11-14T14:50:23.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T22:01:46.000Z (10 months ago)
- Last Synced: 2024-03-04T23:25:07.954Z (10 months ago)
- Topics: azure, azure-resource-manager, route-table, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/aztfm/route-table/azurerm/
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Azure Route Table - Terraform Module
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![Terraform Registry](https://img.shields.io/badge/Terraform-registry-blueviolet.svg?logo=terraform)](https://registry.terraform.io/modules/aztfm/route-table/azurerm/)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/aztfm/terraform-azurerm-route-table?label=Release)[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/aztfm/terraform-azurerm-route-table?quickstart=1)
## Version compatibility
| Module version | Terraform version | AzureRM version |
| -------------- | ----------------- | --------------- |
| >= 2.x.x | >= 1.3.x | >= 2.0.0 |
| >= 1.x.x | >= 0.13.x | >= 2.0.0 |## Parameters
The following parameters are supported:
| Name | Description | Type | Default | Required |
| ---- | ----------- | :--: | :-----: | :------: |
|name|The name of the route table.|`string`|n/a|yes|
|resource\_group\_name|The name of the resource group in which to create the route table.|`string`|n/a|yes|
|location|The location/region where the route table is created.|`string`|n/a|yes|
|tags|A mapping of tags to assign to the resource.|`map(string)`|`{}`|no|
|disable\_bgp\_route\_propagation|Boolean flag which controls propagation of routes learned by BGP on that route table.|`bool`|`true`|no|
|routes|List of objects that represent the configuration of each route.|`list(object({}))`|`[]`|no|The `routes` supports the following:
| Name | Description | Type | Default | Required |
| ---- | ------------| :--: | :-----: | :------: |
|name|The name of the route.|`string`|n/a|yes|
|address\_prefix|The destination CIDR to which the route applies.|`string`|n/a|yes|
|next\_hop\_type|The type of Azure hop the packet should be sent to. Possible values are: `VirtualNetworkGateway`, `VnetLocal`, `Internet` and `None`.|`string`|n/a|yes|
|next\_hop\_in\_ip\_address|Contains the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is `VirtualAppliance`.|`string`|`null`|no|## Outputs
The following outputs are exported:
| Name | Description | Sensitive |
| ---- | ------------| :-------: |
|id|The route table configuration ID.|no|
|name|The name of the route table.|no|
|resource_group_name|The name of the resource group in which to create the route table.|no|
|location|The location/region where the route table is created.|no|
|tags|The tags assigned to the resource.|no|
|routes|Blocks containing configuration of each route.|no|
|subnets|List of the ids of the subnets configured to the route table.|no|