published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Routing table route resource schema. Must have a region specified in the provider configuration.
This resource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.
Example Usage
resource "stackit_routing_table_route" "example" {
organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
destination = {
type = "cidrv4"
value = "192.168.178.0/24"
}
next_hop = {
type = "ipv4"
value = "192.168.178.1"
}
labels = {
"key" = "value"
}
}
# Only use the import statement, if you want to import an existing routing table route
import {
to = stackit_routing_table_route.import-example
id = "${var.organization_id},${var.region},${var.network_area_id},${var.routing_table_id},${var.routing_table_route_id}"
}
Create RoutingTableRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutingTableRoute(name: string, args: RoutingTableRouteArgs, opts?: CustomResourceOptions);@overload
def RoutingTableRoute(resource_name: str,
args: RoutingTableRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutingTableRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination: Optional[RoutingTableRouteDestinationArgs] = None,
network_area_id: Optional[str] = None,
next_hop: Optional[RoutingTableRouteNextHopArgs] = None,
organization_id: Optional[str] = None,
routing_table_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
region: Optional[str] = None)func NewRoutingTableRoute(ctx *Context, name string, args RoutingTableRouteArgs, opts ...ResourceOption) (*RoutingTableRoute, error)public RoutingTableRoute(string name, RoutingTableRouteArgs args, CustomResourceOptions? opts = null)
public RoutingTableRoute(String name, RoutingTableRouteArgs args)
public RoutingTableRoute(String name, RoutingTableRouteArgs args, CustomResourceOptions options)
type: stackit:RoutingTableRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RoutingTableRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RoutingTableRouteArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RoutingTableRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutingTableRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutingTableRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var routingTableRouteResource = new Stackit.RoutingTableRoute("routingTableRouteResource", new()
{
Destination = new Stackit.Inputs.RoutingTableRouteDestinationArgs
{
Type = "string",
Value = "string",
},
NetworkAreaId = "string",
NextHop = new Stackit.Inputs.RoutingTableRouteNextHopArgs
{
Type = "string",
Value = "string",
},
OrganizationId = "string",
RoutingTableId = "string",
Labels =
{
{ "string", "string" },
},
Region = "string",
});
example, err := stackit.NewRoutingTableRoute(ctx, "routingTableRouteResource", &stackit.RoutingTableRouteArgs{
Destination: &stackit.RoutingTableRouteDestinationArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
NetworkAreaId: pulumi.String("string"),
NextHop: &stackit.RoutingTableRouteNextHopArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
OrganizationId: pulumi.String("string"),
RoutingTableId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
})
var routingTableRouteResource = new RoutingTableRoute("routingTableRouteResource", RoutingTableRouteArgs.builder()
.destination(RoutingTableRouteDestinationArgs.builder()
.type("string")
.value("string")
.build())
.networkAreaId("string")
.nextHop(RoutingTableRouteNextHopArgs.builder()
.type("string")
.value("string")
.build())
.organizationId("string")
.routingTableId("string")
.labels(Map.of("string", "string"))
.region("string")
.build());
routing_table_route_resource = stackit.RoutingTableRoute("routingTableRouteResource",
destination={
"type": "string",
"value": "string",
},
network_area_id="string",
next_hop={
"type": "string",
"value": "string",
},
organization_id="string",
routing_table_id="string",
labels={
"string": "string",
},
region="string")
const routingTableRouteResource = new stackit.RoutingTableRoute("routingTableRouteResource", {
destination: {
type: "string",
value: "string",
},
networkAreaId: "string",
nextHop: {
type: "string",
value: "string",
},
organizationId: "string",
routingTableId: "string",
labels: {
string: "string",
},
region: "string",
});
type: stackit:RoutingTableRoute
properties:
destination:
type: string
value: string
labels:
string: string
networkAreaId: string
nextHop:
type: string
value: string
organizationId: string
region: string
routingTableId: string
RoutingTableRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RoutingTableRoute resource accepts the following input properties:
- Destination
Routing
Table Route Destination - Destination of the route.
- Network
Area stringId - The network area ID to which the routing table is associated.
- Next
Hop RoutingTable Route Next Hop - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Routing
Table stringId - The routing tables ID.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Region string
- The resource region. If not defined, the provider region is used.
- Destination
Routing
Table Route Destination Args - Destination of the route.
- Network
Area stringId - The network area ID to which the routing table is associated.
- Next
Hop RoutingTable Route Next Hop Args - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Routing
Table stringId - The routing tables ID.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Region string
- The resource region. If not defined, the provider region is used.
- destination
Routing
Table Route Destination - Destination of the route.
- network
Area StringId - The network area ID to which the routing table is associated.
- next
Hop RoutingTable Route Next Hop - Next hop destination.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- routing
Table StringId - The routing tables ID.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- region String
- The resource region. If not defined, the provider region is used.
- destination
Routing
Table Route Destination - Destination of the route.
- network
Area stringId - The network area ID to which the routing table is associated.
- next
Hop RoutingTable Route Next Hop - Next hop destination.
- organization
Id string - STACKIT organization ID to which the routing table is associated.
- routing
Table stringId - The routing tables ID.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- region string
- The resource region. If not defined, the provider region is used.
- destination
Routing
Table Route Destination Args - Destination of the route.
- network_
area_ strid - The network area ID to which the routing table is associated.
- next_
hop RoutingTable Route Next Hop Args - Next hop destination.
- organization_
id str - STACKIT organization ID to which the routing table is associated.
- routing_
table_ strid - The routing tables ID.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- region str
- The resource region. If not defined, the provider region is used.
- destination Property Map
- Destination of the route.
- network
Area StringId - The network area ID to which the routing table is associated.
- next
Hop Property Map - Next hop destination.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- routing
Table StringId - The routing tables ID.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutingTableRoute resource produces the following output properties:
- created_
at str - Date-time when the route was created.
- id str
- The provider-assigned unique ID for this managed resource.
- route_
id str - The ID of the route.
- updated_
at str - Date-time when the route was updated.
Look up Existing RoutingTableRoute Resource
Get an existing RoutingTableRoute resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RoutingTableRouteState, opts?: CustomResourceOptions): RoutingTableRoute@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
destination: Optional[RoutingTableRouteDestinationArgs] = None,
labels: Optional[Mapping[str, str]] = None,
network_area_id: Optional[str] = None,
next_hop: Optional[RoutingTableRouteNextHopArgs] = None,
organization_id: Optional[str] = None,
region: Optional[str] = None,
route_id: Optional[str] = None,
routing_table_id: Optional[str] = None,
updated_at: Optional[str] = None) -> RoutingTableRoutefunc GetRoutingTableRoute(ctx *Context, name string, id IDInput, state *RoutingTableRouteState, opts ...ResourceOption) (*RoutingTableRoute, error)public static RoutingTableRoute Get(string name, Input<string> id, RoutingTableRouteState? state, CustomResourceOptions? opts = null)public static RoutingTableRoute get(String name, Output<String> id, RoutingTableRouteState state, CustomResourceOptions options)resources: _: type: stackit:RoutingTableRoute get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Date-time when the route was created.
- Destination
Routing
Table Route Destination - Destination of the route.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Network
Area stringId - The network area ID to which the routing table is associated.
- Next
Hop RoutingTable Route Next Hop - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Route
Id string - The ID of the route.
- Routing
Table stringId - The routing tables ID.
- Updated
At string - Date-time when the route was updated.
- Created
At string - Date-time when the route was created.
- Destination
Routing
Table Route Destination Args - Destination of the route.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Network
Area stringId - The network area ID to which the routing table is associated.
- Next
Hop RoutingTable Route Next Hop Args - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Route
Id string - The ID of the route.
- Routing
Table stringId - The routing tables ID.
- Updated
At string - Date-time when the route was updated.
- created
At String - Date-time when the route was created.
- destination
Routing
Table Route Destination - Destination of the route.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Area StringId - The network area ID to which the routing table is associated.
- next
Hop RoutingTable Route Next Hop - Next hop destination.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- region String
- The resource region. If not defined, the provider region is used.
- route
Id String - The ID of the route.
- routing
Table StringId - The routing tables ID.
- updated
At String - Date-time when the route was updated.
- created
At string - Date-time when the route was created.
- destination
Routing
Table Route Destination - Destination of the route.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- network
Area stringId - The network area ID to which the routing table is associated.
- next
Hop RoutingTable Route Next Hop - Next hop destination.
- organization
Id string - STACKIT organization ID to which the routing table is associated.
- region string
- The resource region. If not defined, the provider region is used.
- route
Id string - The ID of the route.
- routing
Table stringId - The routing tables ID.
- updated
At string - Date-time when the route was updated.
- created_
at str - Date-time when the route was created.
- destination
Routing
Table Route Destination Args - Destination of the route.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- network_
area_ strid - The network area ID to which the routing table is associated.
- next_
hop RoutingTable Route Next Hop Args - Next hop destination.
- organization_
id str - STACKIT organization ID to which the routing table is associated.
- region str
- The resource region. If not defined, the provider region is used.
- route_
id str - The ID of the route.
- routing_
table_ strid - The routing tables ID.
- updated_
at str - Date-time when the route was updated.
- created
At String - Date-time when the route was created.
- destination Property Map
- Destination of the route.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Area StringId - The network area ID to which the routing table is associated.
- next
Hop Property Map - Next hop destination.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- region String
- The resource region. If not defined, the provider region is used.
- route
Id String - The ID of the route.
- routing
Table StringId - The routing tables ID.
- updated
At String - Date-time when the route was updated.
Supporting Types
RoutingTableRouteDestination, RoutingTableRouteDestinationArgs
RoutingTableRouteNextHop, RoutingTableRouteNextHopArgs
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
