published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Routing table 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" "example" {
organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example"
labels = {
"key" = "value"
}
}
# Only use the import statement, if you want to import an existing routing table
import {
to = stackit_routing_table.import-example
id = "${var.organization_id},${var.region},${var.network_area_id},${var.routing_table_id}"
}
Create RoutingTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutingTable(name: string, args: RoutingTableArgs, opts?: CustomResourceOptions);@overload
def RoutingTable(resource_name: str,
args: RoutingTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutingTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_area_id: Optional[str] = None,
organization_id: Optional[str] = None,
description: Optional[str] = None,
dynamic_routes: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
system_routes: Optional[bool] = None)func NewRoutingTable(ctx *Context, name string, args RoutingTableArgs, opts ...ResourceOption) (*RoutingTable, error)public RoutingTable(string name, RoutingTableArgs args, CustomResourceOptions? opts = null)
public RoutingTable(String name, RoutingTableArgs args)
public RoutingTable(String name, RoutingTableArgs args, CustomResourceOptions options)
type: stackit:RoutingTable
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 RoutingTableArgs
- 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 RoutingTableArgs
- 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 RoutingTableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutingTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutingTableArgs
- 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 routingTableResource = new Stackit.RoutingTable("routingTableResource", new()
{
NetworkAreaId = "string",
OrganizationId = "string",
Description = "string",
DynamicRoutes = false,
Labels =
{
{ "string", "string" },
},
Name = "string",
Region = "string",
SystemRoutes = false,
});
example, err := stackit.NewRoutingTable(ctx, "routingTableResource", &stackit.RoutingTableArgs{
NetworkAreaId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Description: pulumi.String("string"),
DynamicRoutes: pulumi.Bool(false),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SystemRoutes: pulumi.Bool(false),
})
var routingTableResource = new RoutingTable("routingTableResource", RoutingTableArgs.builder()
.networkAreaId("string")
.organizationId("string")
.description("string")
.dynamicRoutes(false)
.labels(Map.of("string", "string"))
.name("string")
.region("string")
.systemRoutes(false)
.build());
routing_table_resource = stackit.RoutingTable("routingTableResource",
network_area_id="string",
organization_id="string",
description="string",
dynamic_routes=False,
labels={
"string": "string",
},
name="string",
region="string",
system_routes=False)
const routingTableResource = new stackit.RoutingTable("routingTableResource", {
networkAreaId: "string",
organizationId: "string",
description: "string",
dynamicRoutes: false,
labels: {
string: "string",
},
name: "string",
region: "string",
systemRoutes: false,
});
type: stackit:RoutingTable
properties:
description: string
dynamicRoutes: false
labels:
string: string
name: string
networkAreaId: string
organizationId: string
region: string
systemRoutes: false
RoutingTable 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 RoutingTable resource accepts the following input properties:
- Network
Area stringId - The network area ID to which the routing table is associated.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Description string
- Description of the routing table.
- Dynamic
Routes bool - This controls whether dynamic routes are propagated to this routing table
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the routing table.
- Region string
- The resource region. If not defined, the provider region is used.
- System
Routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- Network
Area stringId - The network area ID to which the routing table is associated.
- Organization
Id string - STACKIT organization ID to which the routing table is associated.
- Description string
- Description of the routing table.
- Dynamic
Routes bool - This controls whether dynamic routes are propagated to this routing table
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the routing table.
- Region string
- The resource region. If not defined, the provider region is used.
- System
Routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- network
Area StringId - The network area ID to which the routing table is associated.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- description String
- Description of the routing table.
- dynamic
Routes Boolean - This controls whether dynamic routes are propagated to this routing table
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the routing table.
- region String
- The resource region. If not defined, the provider region is used.
- system
Routes Boolean - This controls whether the routes for project-to-project communication are created automatically or not.
- network
Area stringId - The network area ID to which the routing table is associated.
- organization
Id string - STACKIT organization ID to which the routing table is associated.
- description string
- Description of the routing table.
- dynamic
Routes boolean - This controls whether dynamic routes are propagated to this routing table
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the routing table.
- region string
- The resource region. If not defined, the provider region is used.
- system
Routes boolean - This controls whether the routes for project-to-project communication are created automatically or not.
- network_
area_ strid - The network area ID to which the routing table is associated.
- organization_
id str - STACKIT organization ID to which the routing table is associated.
- description str
- Description of the routing table.
- dynamic_
routes bool - This controls whether dynamic routes are propagated to this routing table
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- name str
- The name of the routing table.
- region str
- The resource region. If not defined, the provider region is used.
- system_
routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- network
Area StringId - The network area ID to which the routing table is associated.
- organization
Id String - STACKIT organization ID to which the routing table is associated.
- description String
- Description of the routing table.
- dynamic
Routes Boolean - This controls whether dynamic routes are propagated to this routing table
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the routing table.
- region String
- The resource region. If not defined, the provider region is used.
- system
Routes Boolean - This controls whether the routes for project-to-project communication are created automatically or not.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutingTable resource produces the following output properties:
- Created
At string - Date-time when the routing table was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Routing
Table stringId - The routing tables ID.
- Updated
At string - Date-time when the routing table was updated
- Created
At string - Date-time when the routing table was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Routing
Table stringId - The routing tables ID.
- Updated
At string - Date-time when the routing table was updated
- created
At String - Date-time when the routing table was created
- id String
- The provider-assigned unique ID for this managed resource.
- routing
Table StringId - The routing tables ID.
- updated
At String - Date-time when the routing table was updated
- created
At string - Date-time when the routing table was created
- id string
- The provider-assigned unique ID for this managed resource.
- routing
Table stringId - The routing tables ID.
- updated
At string - Date-time when the routing table was updated
- created_
at str - Date-time when the routing table was created
- id str
- The provider-assigned unique ID for this managed resource.
- routing_
table_ strid - The routing tables ID.
- updated_
at str - Date-time when the routing table was updated
- created
At String - Date-time when the routing table was created
- id String
- The provider-assigned unique ID for this managed resource.
- routing
Table StringId - The routing tables ID.
- updated
At String - Date-time when the routing table was updated
Look up Existing RoutingTable Resource
Get an existing RoutingTable 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?: RoutingTableState, opts?: CustomResourceOptions): RoutingTable@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
dynamic_routes: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
network_area_id: Optional[str] = None,
organization_id: Optional[str] = None,
region: Optional[str] = None,
routing_table_id: Optional[str] = None,
system_routes: Optional[bool] = None,
updated_at: Optional[str] = None) -> RoutingTablefunc GetRoutingTable(ctx *Context, name string, id IDInput, state *RoutingTableState, opts ...ResourceOption) (*RoutingTable, error)public static RoutingTable Get(string name, Input<string> id, RoutingTableState? state, CustomResourceOptions? opts = null)public static RoutingTable get(String name, Output<String> id, RoutingTableState state, CustomResourceOptions options)resources: _: type: stackit:RoutingTable 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 routing table was created
- Description string
- Description of the routing table.
- Dynamic
Routes bool - This controls whether dynamic routes are propagated to this routing table
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the routing table.
- Network
Area stringId - The network area ID to which the routing table is associated.
- 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.
- Routing
Table stringId - The routing tables ID.
- System
Routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- Updated
At string - Date-time when the routing table was updated
- Created
At string - Date-time when the routing table was created
- Description string
- Description of the routing table.
- Dynamic
Routes bool - This controls whether dynamic routes are propagated to this routing table
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the routing table.
- Network
Area stringId - The network area ID to which the routing table is associated.
- 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.
- Routing
Table stringId - The routing tables ID.
- System
Routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- Updated
At string - Date-time when the routing table was updated
- created
At String - Date-time when the routing table was created
- description String
- Description of the routing table.
- dynamic
Routes Boolean - This controls whether dynamic routes are propagated to this routing table
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the routing table.
- network
Area StringId - The network area ID to which the routing table is associated.
- 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.
- routing
Table StringId - The routing tables ID.
- system
Routes Boolean - This controls whether the routes for project-to-project communication are created automatically or not.
- updated
At String - Date-time when the routing table was updated
- created
At string - Date-time when the routing table was created
- description string
- Description of the routing table.
- dynamic
Routes boolean - This controls whether dynamic routes are propagated to this routing table
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the routing table.
- network
Area stringId - The network area ID to which the routing table is associated.
- 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.
- routing
Table stringId - The routing tables ID.
- system
Routes boolean - This controls whether the routes for project-to-project communication are created automatically or not.
- updated
At string - Date-time when the routing table was updated
- created_
at str - Date-time when the routing table was created
- description str
- Description of the routing table.
- dynamic_
routes bool - This controls whether dynamic routes are propagated to this routing table
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- name str
- The name of the routing table.
- network_
area_ strid - The network area ID to which the routing table is associated.
- 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.
- routing_
table_ strid - The routing tables ID.
- system_
routes bool - This controls whether the routes for project-to-project communication are created automatically or not.
- updated_
at str - Date-time when the routing table was updated
- created
At String - Date-time when the routing table was created
- description String
- Description of the routing table.
- dynamic
Routes Boolean - This controls whether dynamic routes are propagated to this routing table
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the routing table.
- network
Area StringId - The network area ID to which the routing table is associated.
- 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.
- routing
Table StringId - The routing tables ID.
- system
Routes Boolean - This controls whether the routes for project-to-project communication are created automatically or not.
- updated
At String - Date-time when the routing table was updated
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
