1. Packages
  2. stackit
  3. API Docs
  4. RoutingTable
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
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:

    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    Description string
    Description of the routing table.
    DynamicRoutes 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.
    SystemRoutes bool
    This controls whether the routes for project-to-project communication are created automatically or not.
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    Description string
    Description of the routing table.
    DynamicRoutes 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.
    SystemRoutes bool
    This controls whether the routes for project-to-project communication are created automatically or not.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    description String
    Description of the routing table.
    dynamicRoutes 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.
    systemRoutes Boolean
    This controls whether the routes for project-to-project communication are created automatically or not.
    networkAreaId string
    The network area ID to which the routing table is associated.
    organizationId string
    STACKIT organization ID to which the routing table is associated.
    description string
    Description of the routing table.
    dynamicRoutes 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.
    systemRoutes boolean
    This controls whether the routes for project-to-project communication are created automatically or not.
    network_area_id str
    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.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    description String
    Description of the routing table.
    dynamicRoutes 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.
    systemRoutes 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:

    CreatedAt string
    Date-time when the routing table was created
    Id string
    The provider-assigned unique ID for this managed resource.
    RoutingTableId string
    The routing tables ID.
    UpdatedAt string
    Date-time when the routing table was updated
    CreatedAt string
    Date-time when the routing table was created
    Id string
    The provider-assigned unique ID for this managed resource.
    RoutingTableId string
    The routing tables ID.
    UpdatedAt string
    Date-time when the routing table was updated
    createdAt String
    Date-time when the routing table was created
    id String
    The provider-assigned unique ID for this managed resource.
    routingTableId String
    The routing tables ID.
    updatedAt String
    Date-time when the routing table was updated
    createdAt string
    Date-time when the routing table was created
    id string
    The provider-assigned unique ID for this managed resource.
    routingTableId string
    The routing tables ID.
    updatedAt 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_id str
    The routing tables ID.
    updated_at str
    Date-time when the routing table was updated
    createdAt String
    Date-time when the routing table was created
    id String
    The provider-assigned unique ID for this managed resource.
    routingTableId String
    The routing tables ID.
    updatedAt 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) -> RoutingTable
    func 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.
    The following state arguments are supported:
    CreatedAt string
    Date-time when the routing table was created
    Description string
    Description of the routing table.
    DynamicRoutes 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.
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    RoutingTableId string
    The routing tables ID.
    SystemRoutes bool
    This controls whether the routes for project-to-project communication are created automatically or not.
    UpdatedAt string
    Date-time when the routing table was updated
    CreatedAt string
    Date-time when the routing table was created
    Description string
    Description of the routing table.
    DynamicRoutes 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.
    NetworkAreaId string
    The network area ID to which the routing table is associated.
    OrganizationId string
    STACKIT organization ID to which the routing table is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    RoutingTableId string
    The routing tables ID.
    SystemRoutes bool
    This controls whether the routes for project-to-project communication are created automatically or not.
    UpdatedAt string
    Date-time when the routing table was updated
    createdAt String
    Date-time when the routing table was created
    description String
    Description of the routing table.
    dynamicRoutes 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.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    region String
    The resource region. If not defined, the provider region is used.
    routingTableId String
    The routing tables ID.
    systemRoutes Boolean
    This controls whether the routes for project-to-project communication are created automatically or not.
    updatedAt String
    Date-time when the routing table was updated
    createdAt string
    Date-time when the routing table was created
    description string
    Description of the routing table.
    dynamicRoutes 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.
    networkAreaId string
    The network area ID to which the routing table is associated.
    organizationId string
    STACKIT organization ID to which the routing table is associated.
    region string
    The resource region. If not defined, the provider region is used.
    routingTableId string
    The routing tables ID.
    systemRoutes boolean
    This controls whether the routes for project-to-project communication are created automatically or not.
    updatedAt 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_id str
    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_id str
    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
    createdAt String
    Date-time when the routing table was created
    description String
    Description of the routing table.
    dynamicRoutes 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.
    networkAreaId String
    The network area ID to which the routing table is associated.
    organizationId String
    STACKIT organization ID to which the routing table is associated.
    region String
    The resource region. If not defined, the provider region is used.
    routingTableId String
    The routing tables ID.
    systemRoutes Boolean
    This controls whether the routes for project-to-project communication are created automatically or not.
    updatedAt 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 stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.