Name | Version |
---|---|
terraform | >= 1.6.3 |
azurerm | 4.14.0 |
Name | Version |
---|---|
azurerm | 4.14.0 |
No modules.
Name | Type |
---|---|
azurerm_route_table.main | resource |
azurerm_client_config.current | data source |
azurerm_resource_group.rg | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
default_tags | A mapping of key-value pairs used to tag the resources. These tags help organize and identify resources within the subscription. | map(any) |
n/a | yes |
environment | Specifies the environment where the resources are deployed, such as 'dev', 'staging', or 'prod'. Used as part of the naming convention or key for backend configurations. | string |
"dev" |
no |
name | The name of the route table. Changing this value will result in a new route table being created. | string |
n/a | yes |
region | The Azure region where the resources are deployed. Use short region codes such as 'weu' (West Europe) for consistent naming conventions. | string |
"weu" |
no |
resource_group_location | The Azure region where the resource group is created. Updating this will recreate the resource group and its associated resources. | string |
"West Europe" |
no |
resource_group_name | The name of the resource group where the route table is deployed. Updating this name will trigger the recreation of the resource group. | string |
n/a | yes |
route_table | A list of route definitions for the route table. Each route object contains the following properties: 'name', 'address_prefix', 'next_hop_type', and optionally 'next_hop_in_ip_address'. | list(map(string)) |
[] |
no |
route_table_disable_bgp_route_propagation | A boolean flag to enable or disable the propagation of routes learned via BGP. Set to 'true' to disable propagation; 'false' to allow it. | bool |
true |
no |
Name | Description |
---|---|
id | The Route Table ID. |
location | Azure location where the route table is created. |
name | The name of the route table. |
resource_group_name | The name of the resource group in which to create the route table. |
routes | List of objects representing routes. |
subnets | The collection of Subnets associated with this route table. |
tags | A mapping of tags to assign to the resource. |