1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getVpcRoutingTable
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    VPC Regional routing table datasource schema. Must have a region specified in the provider configuration.

    This datasource is part of the experimental feature vpc 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" {
      project_id       = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      vpc_id           = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getVpcRoutingTable

    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 getVpcRoutingTable(args: GetVpcRoutingTableArgs, opts?: InvokeOptions): Promise<GetVpcRoutingTableResult>
    function getVpcRoutingTableOutput(args: GetVpcRoutingTableOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcRoutingTableResult>
    def get_vpc_routing_table(description: Optional[str] = None,
                              dynamic_routes: Optional[bool] = None,
                              labels: Optional[Mapping[str, str]] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              routing_table_id: Optional[str] = None,
                              system_routes: Optional[bool] = None,
                              vpc_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetVpcRoutingTableResult
    def get_vpc_routing_table_output(description: pulumi.Input[Optional[str]] = None,
                              dynamic_routes: pulumi.Input[Optional[bool]] = None,
                              labels: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                              project_id: pulumi.Input[Optional[str]] = None,
                              region: pulumi.Input[Optional[str]] = None,
                              routing_table_id: pulumi.Input[Optional[str]] = None,
                              system_routes: pulumi.Input[Optional[bool]] = None,
                              vpc_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcRoutingTableResult]
    func LookupVpcRoutingTable(ctx *Context, args *LookupVpcRoutingTableArgs, opts ...InvokeOption) (*LookupVpcRoutingTableResult, error)
    func LookupVpcRoutingTableOutput(ctx *Context, args *LookupVpcRoutingTableOutputArgs, opts ...InvokeOption) LookupVpcRoutingTableResultOutput

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

    public static class GetVpcRoutingTable 
    {
        public static Task<GetVpcRoutingTableResult> InvokeAsync(GetVpcRoutingTableArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcRoutingTableResult> Invoke(GetVpcRoutingTableInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcRoutingTableResult> Invoke(GetVpcRoutingTableInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpcRoutingTableResult> getVpcRoutingTable(GetVpcRoutingTableArgs args, InvokeOptions options)
    public static Output<GetVpcRoutingTableResult> getVpcRoutingTable(GetVpcRoutingTableArgs args, InvokeOptions options)
    public static Output<GetVpcRoutingTableResult> getVpcRoutingTable(GetVpcRoutingTableArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getVpcRoutingTable:getVpcRoutingTable
      arguments:
        # arguments dictionary
    data "stackit_get_vpc_routing_table" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    STACKIT project ID to which the regional routing table is associated.
    RoutingTableId string
    The regional routing tables ID.
    VpcId string
    The vpc ID to which the regional routing table is associated.
    Description string
    Description of the regional routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    SystemRoutes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    ProjectId string
    STACKIT project ID to which the regional routing table is associated.
    RoutingTableId string
    The regional routing tables ID.
    VpcId string
    The vpc ID to which the regional routing table is associated.
    Description string
    Description of the regional routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    SystemRoutes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    project_id string
    STACKIT project ID to which the regional routing table is associated.
    routing_table_id string
    The regional routing tables ID.
    vpc_id string
    The vpc ID to which the regional routing table is associated.
    description string
    Description of the regional routing table.
    dynamic_routes bool
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    system_routes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    projectId String
    STACKIT project ID to which the regional routing table is associated.
    routingTableId String
    The regional routing tables ID.
    vpcId String
    The vpc ID to which the regional routing table is associated.
    description String
    Description of the regional routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    systemRoutes Boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    projectId string
    STACKIT project ID to which the regional routing table is associated.
    routingTableId string
    The regional routing tables ID.
    vpcId string
    The vpc ID to which the regional routing table is associated.
    description string
    Description of the regional routing table.
    dynamicRoutes boolean
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    systemRoutes boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    project_id str
    STACKIT project ID to which the regional routing table is associated.
    routing_table_id str
    The regional routing tables ID.
    vpc_id str
    The vpc ID to which the regional routing table is associated.
    description str
    Description of the regional routing table.
    dynamic_routes bool
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    system_routes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    projectId String
    STACKIT project ID to which the regional routing table is associated.
    routingTableId String
    The regional routing tables ID.
    vpcId String
    The vpc ID to which the regional routing table is associated.
    description String
    Description of the regional routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this regional routing table
    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.
    systemRoutes Boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.

    getVpcRoutingTable Result

    The following output properties are available:

    Description string
    Description of the regional routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this regional routing table
    Id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    Name string
    The name of the regional routing table.
    ProjectId string
    STACKIT project ID to which the regional routing table is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    RoutingTableId string
    The regional routing tables ID.
    SystemRoutes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    VpcId string
    The vpc ID to which the regional routing table is associated.
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    Description string
    Description of the regional routing table.
    DynamicRoutes bool
    This controls whether dynamic routes are propagated to this regional routing table
    Id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    Name string
    The name of the regional routing table.
    ProjectId string
    STACKIT project ID to which the regional routing table is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    RoutingTableId string
    The regional routing tables ID.
    SystemRoutes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    VpcId string
    The vpc ID to which the regional routing table is associated.
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    description string
    Description of the regional routing table.
    dynamic_routes bool
    This controls whether dynamic routes are propagated to this regional routing table
    id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    name string
    The name of the regional routing table.
    project_id string
    STACKIT project ID to which the regional routing table is associated.
    region string
    The resource region. If not defined, the provider region is used.
    routing_table_id string
    The regional routing tables ID.
    system_routes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    vpc_id string
    The vpc ID to which the regional routing table is associated.
    labels map(string)
    Labels are key-value string pairs which can be attached to a resource container
    description String
    Description of the regional routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this regional routing table
    id String
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    name String
    The name of the regional routing table.
    projectId String
    STACKIT project ID to which the regional routing table is associated.
    region String
    The resource region. If not defined, the provider region is used.
    routingTableId String
    The regional routing tables ID.
    systemRoutes Boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    vpcId String
    The vpc ID to which the regional routing table is associated.
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    description string
    Description of the regional routing table.
    dynamicRoutes boolean
    This controls whether dynamic routes are propagated to this regional routing table
    id string
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    name string
    The name of the regional routing table.
    projectId string
    STACKIT project ID to which the regional routing table is associated.
    region string
    The resource region. If not defined, the provider region is used.
    routingTableId string
    The regional routing tables ID.
    systemRoutes boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    vpcId string
    The vpc ID to which the regional routing table is associated.
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    description str
    Description of the regional routing table.
    dynamic_routes bool
    This controls whether dynamic routes are propagated to this regional routing table
    id str
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    name str
    The name of the regional routing table.
    project_id str
    STACKIT project ID to which the regional routing table is associated.
    region str
    The resource region. If not defined, the provider region is used.
    routing_table_id str
    The regional routing tables ID.
    system_routes bool
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    vpc_id str
    The vpc ID to which the regional routing table is associated.
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    description String
    Description of the regional routing table.
    dynamicRoutes Boolean
    This controls whether dynamic routes are propagated to this regional routing table
    id String
    Terraform's internal resource ID. It is structured as "projectId,vpcId,region,routingTableId".
    name String
    The name of the regional routing table.
    projectId String
    STACKIT project ID to which the regional routing table is associated.
    region String
    The resource region. If not defined, the provider region is used.
    routingTableId String
    The regional routing tables ID.
    systemRoutes Boolean
    This allows installation of automatic system routes for connectivity between projects in the same VPC.
    vpcId String
    The vpc ID to which the regional routing table is associated.
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container

    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.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial