1. Packages
  2. stackit
  3. API Docs
  4. getRoutingTable
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 datasource schema. Must have a region specified in the provider configuration.

    This datasource 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

    data "stackit_routing_table" "example" {
      organization_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_area_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getRoutingTable

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRoutingTable(args: GetRoutingTableArgs, opts?: InvokeOptions): Promise<GetRoutingTableResult>
    function getRoutingTableOutput(args: GetRoutingTableOutputArgs, opts?: InvokeOptions): Output<GetRoutingTableResult>
    def get_routing_table(network_area_id: Optional[str] = None,
                          organization_id: Optional[str] = None,
                          region: Optional[str] = None,
                          routing_table_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetRoutingTableResult
    def get_routing_table_output(network_area_id: Optional[pulumi.Input[str]] = None,
                          organization_id: Optional[pulumi.Input[str]] = None,
                          region: Optional[pulumi.Input[str]] = None,
                          routing_table_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetRoutingTableResult]
    func LookupRoutingTable(ctx *Context, args *LookupRoutingTableArgs, opts ...InvokeOption) (*LookupRoutingTableResult, error)
    func LookupRoutingTableOutput(ctx *Context, args *LookupRoutingTableOutputArgs, opts ...InvokeOption) LookupRoutingTableResultOutput

    > Note: This function is named LookupRoutingTable in the Go SDK.

    public static class GetRoutingTable 
    {
        public static Task<GetRoutingTableResult> InvokeAsync(GetRoutingTableArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingTableResult> Invoke(GetRoutingTableInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoutingTableResult> getRoutingTable(GetRoutingTableArgs args, InvokeOptions options)
    public static Output<GetRoutingTableResult> getRoutingTable(GetRoutingTableArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getRoutingTable:getRoutingTable
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    RoutingTableId string
    The routing tables ID.
    Region string
    The resource region. If not defined, the provider region is used.
    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.
    RoutingTableId string
    The routing tables ID.
    Region string
    The resource region. If not defined, the provider region is used.
    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.
    routingTableId String
    The routing tables ID.
    region String
    The resource region. If not defined, the provider region is used.
    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.
    routingTableId string
    The routing tables ID.
    region string
    The resource region. If not defined, the provider region is used.
    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.
    routing_table_id str
    The routing tables ID.
    region str
    The resource region. If not defined, the provider region is used.
    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.
    routingTableId String
    The routing tables ID.
    region String
    The resource region. If not defined, the provider region is used.

    getRoutingTable Result

    The following output properties are available:

    CreatedAt string
    Date-time when the routing table was created
    Default bool
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    Description string
    Description of the routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this routing table
    Id string
    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.
    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
    Region string
    The resource region. If not defined, the provider region is used.
    CreatedAt string
    Date-time when the routing table was created
    Default bool
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    Description string
    Description of the routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this routing table
    Id string
    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.
    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
    Region string
    The resource region. If not defined, the provider region is used.
    createdAt String
    Date-time when the routing table was created
    default_ Boolean
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    description String
    Description of the routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this routing table
    id String
    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.
    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
    region String
    The resource region. If not defined, the provider region is used.
    createdAt string
    Date-time when the routing table was created
    default boolean
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    description string
    Description of the routing table.
    dynamicRoutes boolean
    This controls whether dynamic routes are propagated to this routing table
    id string
    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.
    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
    region string
    The resource region. If not defined, the provider region is used.
    created_at str
    Date-time when the routing table was created
    default bool
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    description str
    Description of the routing table.
    dynamic_routes bool
    This controls whether dynamic routes are propagated to this routing table
    id str
    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.
    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
    region str
    The resource region. If not defined, the provider region is used.
    createdAt String
    Date-time when the routing table was created
    default Boolean
    When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
    description String
    Description of the routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this routing table
    id String
    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.
    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
    region String
    The resource region. If not defined, the provider region is used.

    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.