azure::route-table

Creates a route table.

Example

azure::route-table route-table-example
     bgp-route-propagation-disabled: true
     name: "route-table-example"
     resource-group: $(azure::resource-group resource-group-network-example)
     route
         destination-address-prefix: "10.0.1.0/24"
         name: "test-route"
         next-hop-type: "VirtualAppliance"
         next-hop-ip-address: "10.0.2.4"
     end
     tags: {
         Name: "route-table-example"
     }
end

Attributes

Attribute Description
bgp-route-propagation-disabled Determines whether to disable the routes learned by border gateway protocol on the Route Table. Defaults to true.
name The name of the Route Table. (Required)
resource-group The Resource Group where the the Route Table resides. (Required)
route set The routes of the Route Table.
tags map The tags associated with the Route Table.

Outputs

Attribute Description
id The ID of the Route Table.