1. Packages
  2. stackit
  3. API Docs
  4. getRoutingTables
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_tables" "example" {
      organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getRoutingTables

    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 getRoutingTables(args: GetRoutingTablesArgs, opts?: InvokeOptions): Promise<GetRoutingTablesResult>
    function getRoutingTablesOutput(args: GetRoutingTablesOutputArgs, opts?: InvokeOptions): Output<GetRoutingTablesResult>
    def get_routing_tables(network_area_id: Optional[str] = None,
                           organization_id: Optional[str] = None,
                           region: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetRoutingTablesResult
    def get_routing_tables_output(network_area_id: Optional[pulumi.Input[str]] = None,
                           organization_id: Optional[pulumi.Input[str]] = None,
                           region: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetRoutingTablesResult]
    func GetRoutingTables(ctx *Context, args *GetRoutingTablesArgs, opts ...InvokeOption) (*GetRoutingTablesResult, error)
    func GetRoutingTablesOutput(ctx *Context, args *GetRoutingTablesOutputArgs, opts ...InvokeOption) GetRoutingTablesResultOutput

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

    public static class GetRoutingTables 
    {
        public static Task<GetRoutingTablesResult> InvokeAsync(GetRoutingTablesArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingTablesResult> Invoke(GetRoutingTablesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoutingTablesResult> getRoutingTables(GetRoutingTablesArgs args, InvokeOptions options)
    public static Output<GetRoutingTablesResult> getRoutingTables(GetRoutingTablesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getRoutingTables:getRoutingTables
      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.
    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.
    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.
    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.
    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.
    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.
    region String
    The resource region. If not defined, the provider region is used.

    getRoutingTables Result

    The following output properties are available:

    Id string
    Items List<GetRoutingTablesItem>
    List of routing tables.
    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.
    Id string
    Items []GetRoutingTablesItem
    List of routing tables.
    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.
    id String
    items List<GetRoutingTablesItem>
    List of routing tables.
    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.
    id string
    items GetRoutingTablesItem[]
    List of routing tables.
    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.
    id str
    items Sequence[GetRoutingTablesItem]
    List of routing tables.
    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.
    id String
    items List<Property Map>
    List of routing tables.
    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.

    Supporting Types

    GetRoutingTablesItem

    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
    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.
    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
    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
    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.
    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
    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
    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.
    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
    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
    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.
    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
    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
    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.
    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
    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
    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.
    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.