1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsVpcRoutingTable
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsVpcRoutingTable

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Create, update, or delete an VPC routing tables. For more information, about VPC routes, see routing tables for VPC.

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
        }
    }
    
    {}
    

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
    const exampleIsVpcRoutingTable = new ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", {
        vpc: exampleIsVpc.isVpcId,
        routeDirectLinkIngress: true,
        routeTransitGatewayIngress: false,
        routeVpcZoneIngress: false,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_is_vpc = ibm.IsVpc("exampleIsVpc")
    example_is_vpc_routing_table = ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable",
        vpc=example_is_vpc.is_vpc_id,
        route_direct_link_ingress=True,
        route_transit_gateway_ingress=False,
        route_vpc_zone_ingress=False)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsVpcRoutingTable(ctx, "exampleIsVpcRoutingTable", &ibm.IsVpcRoutingTableArgs{
    			Vpc:                        exampleIsVpc.IsVpcId,
    			RouteDirectLinkIngress:     pulumi.Bool(true),
    			RouteTransitGatewayIngress: pulumi.Bool(false),
    			RouteVpcZoneIngress:        pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
    
        var exampleIsVpcRoutingTable = new Ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", new()
        {
            Vpc = exampleIsVpc.IsVpcId,
            RouteDirectLinkIngress = true,
            RouteTransitGatewayIngress = false,
            RouteVpcZoneIngress = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsVpc;
    import com.pulumi.ibm.IsVpcRoutingTable;
    import com.pulumi.ibm.IsVpcRoutingTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleIsVpc = new IsVpc("exampleIsVpc");
    
            var exampleIsVpcRoutingTable = new IsVpcRoutingTable("exampleIsVpcRoutingTable", IsVpcRoutingTableArgs.builder()
                .vpc(exampleIsVpc.isVpcId())
                .routeDirectLinkIngress(true)
                .routeTransitGatewayIngress(false)
                .routeVpcZoneIngress(false)
                .build());
    
        }
    }
    
    resources:
      exampleIsVpc:
        type: ibm:IsVpc
      exampleIsVpcRoutingTable:
        type: ibm:IsVpcRoutingTable
        properties:
          vpc: ${exampleIsVpc.isVpcId}
          routeDirectLinkIngress: true
          routeTransitGatewayIngress: false
          routeVpcZoneIngress: false
    

    Advertising Routes

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const example = new ibm.IsVpc("example", {});
    const isVpcRoutingTableInstance = new ibm.IsVpcRoutingTable("isVpcRoutingTableInstance", {
        vpc: example.isVpcId,
        routeDirectLinkIngress: true,
        routeTransitGatewayIngress: false,
        routeVpcZoneIngress: false,
        advertiseRoutesTos: [
            "direct_link",
            "transit_gateway",
        ],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.IsVpc("example")
    is_vpc_routing_table_instance = ibm.IsVpcRoutingTable("isVpcRoutingTableInstance",
        vpc=example.is_vpc_id,
        route_direct_link_ingress=True,
        route_transit_gateway_ingress=False,
        route_vpc_zone_ingress=False,
        advertise_routes_tos=[
            "direct_link",
            "transit_gateway",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := ibm.NewIsVpc(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsVpcRoutingTable(ctx, "isVpcRoutingTableInstance", &ibm.IsVpcRoutingTableArgs{
    			Vpc:                        example.IsVpcId,
    			RouteDirectLinkIngress:     pulumi.Bool(true),
    			RouteTransitGatewayIngress: pulumi.Bool(false),
    			RouteVpcZoneIngress:        pulumi.Bool(false),
    			AdvertiseRoutesTos: pulumi.StringArray{
    				pulumi.String("direct_link"),
    				pulumi.String("transit_gateway"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ibm.IsVpc("example");
    
        var isVpcRoutingTableInstance = new Ibm.IsVpcRoutingTable("isVpcRoutingTableInstance", new()
        {
            Vpc = example.IsVpcId,
            RouteDirectLinkIngress = true,
            RouteTransitGatewayIngress = false,
            RouteVpcZoneIngress = false,
            AdvertiseRoutesTos = new[]
            {
                "direct_link",
                "transit_gateway",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsVpc;
    import com.pulumi.ibm.IsVpcRoutingTable;
    import com.pulumi.ibm.IsVpcRoutingTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new IsVpc("example");
    
            var isVpcRoutingTableInstance = new IsVpcRoutingTable("isVpcRoutingTableInstance", IsVpcRoutingTableArgs.builder()
                .vpc(example.isVpcId())
                .routeDirectLinkIngress(true)
                .routeTransitGatewayIngress(false)
                .routeVpcZoneIngress(false)
                .advertiseRoutesTos(            
                    "direct_link",
                    "transit_gateway")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:IsVpc
      isVpcRoutingTableInstance:
        type: ibm:IsVpcRoutingTable
        properties:
          vpc: ${example.isVpcId}
          routeDirectLinkIngress: true
          routeTransitGatewayIngress: false
          routeVpcZoneIngress: false
          advertiseRoutesTos:
            - direct_link
            - transit_gateway
    

    Example usage for accept_routes_from_resource_type

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
    const exampleIsVpcRoutingTable = new ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", {
        vpc: exampleIsVpc.isVpcId,
        routeDirectLinkIngress: true,
        routeTransitGatewayIngress: false,
        routeVpcZoneIngress: false,
        acceptRoutesFromResourceTypes: ["vpn_server"],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_is_vpc = ibm.IsVpc("exampleIsVpc")
    example_is_vpc_routing_table = ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable",
        vpc=example_is_vpc.is_vpc_id,
        route_direct_link_ingress=True,
        route_transit_gateway_ingress=False,
        route_vpc_zone_ingress=False,
        accept_routes_from_resource_types=["vpn_server"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsVpcRoutingTable(ctx, "exampleIsVpcRoutingTable", &ibm.IsVpcRoutingTableArgs{
    			Vpc:                        exampleIsVpc.IsVpcId,
    			RouteDirectLinkIngress:     pulumi.Bool(true),
    			RouteTransitGatewayIngress: pulumi.Bool(false),
    			RouteVpcZoneIngress:        pulumi.Bool(false),
    			AcceptRoutesFromResourceTypes: pulumi.StringArray{
    				pulumi.String("vpn_server"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
    
        var exampleIsVpcRoutingTable = new Ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", new()
        {
            Vpc = exampleIsVpc.IsVpcId,
            RouteDirectLinkIngress = true,
            RouteTransitGatewayIngress = false,
            RouteVpcZoneIngress = false,
            AcceptRoutesFromResourceTypes = new[]
            {
                "vpn_server",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsVpc;
    import com.pulumi.ibm.IsVpcRoutingTable;
    import com.pulumi.ibm.IsVpcRoutingTableArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleIsVpc = new IsVpc("exampleIsVpc");
    
            var exampleIsVpcRoutingTable = new IsVpcRoutingTable("exampleIsVpcRoutingTable", IsVpcRoutingTableArgs.builder()
                .vpc(exampleIsVpc.isVpcId())
                .routeDirectLinkIngress(true)
                .routeTransitGatewayIngress(false)
                .routeVpcZoneIngress(false)
                .acceptRoutesFromResourceTypes("vpn_server")
                .build());
    
        }
    }
    
    resources:
      exampleIsVpc:
        type: ibm:IsVpc
      exampleIsVpcRoutingTable:
        type: ibm:IsVpcRoutingTable
        properties:
          vpc: ${exampleIsVpc.isVpcId}
          routeDirectLinkIngress: true
          routeTransitGatewayIngress: false
          routeVpcZoneIngress: false
          acceptRoutesFromResourceTypes:
            - vpn_server
    

    Create IsVpcRoutingTable Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IsVpcRoutingTable(name: string, args: IsVpcRoutingTableArgs, opts?: CustomResourceOptions);
    @overload
    def IsVpcRoutingTable(resource_name: str,
                          args: IsVpcRoutingTableArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsVpcRoutingTable(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          vpc: Optional[str] = None,
                          accept_routes_from_resource_types: Optional[Sequence[str]] = None,
                          access_tags: Optional[Sequence[str]] = None,
                          advertise_routes_tos: Optional[Sequence[str]] = None,
                          is_vpc_routing_table_id: Optional[str] = None,
                          name: Optional[str] = None,
                          route_direct_link_ingress: Optional[bool] = None,
                          route_internet_ingress: Optional[bool] = None,
                          route_transit_gateway_ingress: Optional[bool] = None,
                          route_vpc_zone_ingress: Optional[bool] = None,
                          tags: Optional[Sequence[str]] = None,
                          timeouts: Optional[IsVpcRoutingTableTimeoutsArgs] = None)
    func NewIsVpcRoutingTable(ctx *Context, name string, args IsVpcRoutingTableArgs, opts ...ResourceOption) (*IsVpcRoutingTable, error)
    public IsVpcRoutingTable(string name, IsVpcRoutingTableArgs args, CustomResourceOptions? opts = null)
    public IsVpcRoutingTable(String name, IsVpcRoutingTableArgs args)
    public IsVpcRoutingTable(String name, IsVpcRoutingTableArgs args, CustomResourceOptions options)
    
    type: ibm:IsVpcRoutingTable
    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 IsVpcRoutingTableArgs
    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 IsVpcRoutingTableArgs
    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 IsVpcRoutingTableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsVpcRoutingTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsVpcRoutingTableArgs
    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 isVpcRoutingTableResource = new Ibm.IsVpcRoutingTable("isVpcRoutingTableResource", new()
    {
        Vpc = "string",
        AcceptRoutesFromResourceTypes = new[]
        {
            "string",
        },
        AccessTags = new[]
        {
            "string",
        },
        AdvertiseRoutesTos = new[]
        {
            "string",
        },
        IsVpcRoutingTableId = "string",
        Name = "string",
        RouteDirectLinkIngress = false,
        RouteInternetIngress = false,
        RouteTransitGatewayIngress = false,
        RouteVpcZoneIngress = false,
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.IsVpcRoutingTableTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := ibm.NewIsVpcRoutingTable(ctx, "isVpcRoutingTableResource", &ibm.IsVpcRoutingTableArgs{
    Vpc: pulumi.String("string"),
    AcceptRoutesFromResourceTypes: pulumi.StringArray{
    pulumi.String("string"),
    },
    AccessTags: pulumi.StringArray{
    pulumi.String("string"),
    },
    AdvertiseRoutesTos: pulumi.StringArray{
    pulumi.String("string"),
    },
    IsVpcRoutingTableId: pulumi.String("string"),
    Name: pulumi.String("string"),
    RouteDirectLinkIngress: pulumi.Bool(false),
    RouteInternetIngress: pulumi.Bool(false),
    RouteTransitGatewayIngress: pulumi.Bool(false),
    RouteVpcZoneIngress: pulumi.Bool(false),
    Tags: pulumi.StringArray{
    pulumi.String("string"),
    },
    Timeouts: &.IsVpcRoutingTableTimeoutsArgs{
    Create: pulumi.String("string"),
    Delete: pulumi.String("string"),
    Update: pulumi.String("string"),
    },
    })
    
    var isVpcRoutingTableResource = new IsVpcRoutingTable("isVpcRoutingTableResource", IsVpcRoutingTableArgs.builder()
        .vpc("string")
        .acceptRoutesFromResourceTypes("string")
        .accessTags("string")
        .advertiseRoutesTos("string")
        .isVpcRoutingTableId("string")
        .name("string")
        .routeDirectLinkIngress(false)
        .routeInternetIngress(false)
        .routeTransitGatewayIngress(false)
        .routeVpcZoneIngress(false)
        .tags("string")
        .timeouts(IsVpcRoutingTableTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    is_vpc_routing_table_resource = ibm.IsVpcRoutingTable("isVpcRoutingTableResource",
        vpc="string",
        accept_routes_from_resource_types=["string"],
        access_tags=["string"],
        advertise_routes_tos=["string"],
        is_vpc_routing_table_id="string",
        name="string",
        route_direct_link_ingress=False,
        route_internet_ingress=False,
        route_transit_gateway_ingress=False,
        route_vpc_zone_ingress=False,
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const isVpcRoutingTableResource = new ibm.IsVpcRoutingTable("isVpcRoutingTableResource", {
        vpc: "string",
        acceptRoutesFromResourceTypes: ["string"],
        accessTags: ["string"],
        advertiseRoutesTos: ["string"],
        isVpcRoutingTableId: "string",
        name: "string",
        routeDirectLinkIngress: false,
        routeInternetIngress: false,
        routeTransitGatewayIngress: false,
        routeVpcZoneIngress: false,
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: ibm:IsVpcRoutingTable
    properties:
        acceptRoutesFromResourceTypes:
            - string
        accessTags:
            - string
        advertiseRoutesTos:
            - string
        isVpcRoutingTableId: string
        name: string
        routeDirectLinkIngress: false
        routeInternetIngress: false
        routeTransitGatewayIngress: false
        routeVpcZoneIngress: false
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
        vpc: string
    

    IsVpcRoutingTable 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 IsVpcRoutingTable resource accepts the following input properties:

    Vpc string
    The VPC ID.
    AcceptRoutesFromResourceTypes List<string>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    AccessTags List<string>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    AdvertiseRoutesTos List<string>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    IsVpcRoutingTableId string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    RouteDirectLinkIngress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteInternetIngress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    RouteTransitGatewayIngress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteVpcZoneIngress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    Tags List<string>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    Timeouts IsVpcRoutingTableTimeouts
    Vpc string
    The VPC ID.
    AcceptRoutesFromResourceTypes []string
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    AccessTags []string

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    AdvertiseRoutesTos []string

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    IsVpcRoutingTableId string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    RouteDirectLinkIngress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteInternetIngress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    RouteTransitGatewayIngress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteVpcZoneIngress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    Tags []string
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    Timeouts IsVpcRoutingTableTimeoutsArgs
    vpc String
    The VPC ID.
    acceptRoutesFromResourceTypes List<String>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags List<String>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos List<String>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    isVpcRoutingTableId String
    (String) The unique ID of the subnet.
    name String
    The routing table name.
    routeDirectLinkIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress Boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress Boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    tags List<String>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeouts
    vpc string
    The VPC ID.
    acceptRoutesFromResourceTypes string[]
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags string[]

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos string[]

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    isVpcRoutingTableId string
    (String) The unique ID of the subnet.
    name string
    The routing table name.
    routeDirectLinkIngress boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    tags string[]
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeouts
    vpc str
    The VPC ID.
    accept_routes_from_resource_types Sequence[str]
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    access_tags Sequence[str]

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    Sequence[str]

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    is_vpc_routing_table_id str
    (String) The unique ID of the subnet.
    name str
    The routing table name.
    route_direct_link_ingress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    route_internet_ingress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    route_transit_gateway_ingress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    route_vpc_zone_ingress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    tags Sequence[str]
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeoutsArgs
    vpc String
    The VPC ID.
    acceptRoutesFromResourceTypes List<String>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags List<String>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos List<String>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    isVpcRoutingTableId String
    (String) The unique ID of the subnet.
    name String
    The routing table name.
    routeDirectLinkIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress Boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress Boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    tags List<String>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IsVpcRoutingTable resource produces the following output properties:

    CreatedAt string
    The date and time when the routing table was created.
    Crn string
    (String) CRN of the default routing table.
    Href string
    (String) The URL for this resource group.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    (String) Indicates the default routing table for this VPC.
    LifecycleState string
    (String) The lifecycle state of the routing table.
    ResourceGroups List<IsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RoutingTable string
    (String) The unique routing table identifier.
    Subnets List<IsVpcRoutingTableSubnet>
    (List) The subnets to which routing table is attached.
    CreatedAt string
    The date and time when the routing table was created.
    Crn string
    (String) CRN of the default routing table.
    Href string
    (String) The URL for this resource group.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDefault bool
    (String) Indicates the default routing table for this VPC.
    LifecycleState string
    (String) The lifecycle state of the routing table.
    ResourceGroups []IsVpcRoutingTableResourceGroup
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RoutingTable string
    (String) The unique routing table identifier.
    Subnets []IsVpcRoutingTableSubnet
    (List) The subnets to which routing table is attached.
    createdAt String
    The date and time when the routing table was created.
    crn String
    (String) CRN of the default routing table.
    href String
    (String) The URL for this resource group.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    (String) Indicates the default routing table for this VPC.
    lifecycleState String
    (String) The lifecycle state of the routing table.
    resourceGroups List<IsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routingTable String
    (String) The unique routing table identifier.
    subnets List<IsVpcRoutingTableSubnet>
    (List) The subnets to which routing table is attached.
    createdAt string
    The date and time when the routing table was created.
    crn string
    (String) CRN of the default routing table.
    href string
    (String) The URL for this resource group.
    id string
    The provider-assigned unique ID for this managed resource.
    isDefault boolean
    (String) Indicates the default routing table for this VPC.
    lifecycleState string
    (String) The lifecycle state of the routing table.
    resourceGroups IsVpcRoutingTableResourceGroup[]
    (List) The resource group for this routing table.
    resourceType string
    (String) The resource type.
    routingTable string
    (String) The unique routing table identifier.
    subnets IsVpcRoutingTableSubnet[]
    (List) The subnets to which routing table is attached.
    created_at str
    The date and time when the routing table was created.
    crn str
    (String) CRN of the default routing table.
    href str
    (String) The URL for this resource group.
    id str
    The provider-assigned unique ID for this managed resource.
    is_default bool
    (String) Indicates the default routing table for this VPC.
    lifecycle_state str
    (String) The lifecycle state of the routing table.
    resource_groups Sequence[IsVpcRoutingTableResourceGroup]
    (List) The resource group for this routing table.
    resource_type str
    (String) The resource type.
    routing_table str
    (String) The unique routing table identifier.
    subnets Sequence[IsVpcRoutingTableSubnet]
    (List) The subnets to which routing table is attached.
    createdAt String
    The date and time when the routing table was created.
    crn String
    (String) CRN of the default routing table.
    href String
    (String) The URL for this resource group.
    id String
    The provider-assigned unique ID for this managed resource.
    isDefault Boolean
    (String) Indicates the default routing table for this VPC.
    lifecycleState String
    (String) The lifecycle state of the routing table.
    resourceGroups List<Property Map>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routingTable String
    (String) The unique routing table identifier.
    subnets List<Property Map>
    (List) The subnets to which routing table is attached.

    Look up Existing IsVpcRoutingTable Resource

    Get an existing IsVpcRoutingTable 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?: IsVpcRoutingTableState, opts?: CustomResourceOptions): IsVpcRoutingTable
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accept_routes_from_resource_types: Optional[Sequence[str]] = None,
            access_tags: Optional[Sequence[str]] = None,
            advertise_routes_tos: Optional[Sequence[str]] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            is_default: Optional[bool] = None,
            is_vpc_routing_table_id: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            name: Optional[str] = None,
            resource_groups: Optional[Sequence[IsVpcRoutingTableResourceGroupArgs]] = None,
            resource_type: Optional[str] = None,
            route_direct_link_ingress: Optional[bool] = None,
            route_internet_ingress: Optional[bool] = None,
            route_transit_gateway_ingress: Optional[bool] = None,
            route_vpc_zone_ingress: Optional[bool] = None,
            routing_table: Optional[str] = None,
            subnets: Optional[Sequence[IsVpcRoutingTableSubnetArgs]] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[IsVpcRoutingTableTimeoutsArgs] = None,
            vpc: Optional[str] = None) -> IsVpcRoutingTable
    func GetIsVpcRoutingTable(ctx *Context, name string, id IDInput, state *IsVpcRoutingTableState, opts ...ResourceOption) (*IsVpcRoutingTable, error)
    public static IsVpcRoutingTable Get(string name, Input<string> id, IsVpcRoutingTableState? state, CustomResourceOptions? opts = null)
    public static IsVpcRoutingTable get(String name, Output<String> id, IsVpcRoutingTableState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsVpcRoutingTable    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:
    AcceptRoutesFromResourceTypes List<string>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    AccessTags List<string>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    AdvertiseRoutesTos List<string>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    CreatedAt string
    The date and time when the routing table was created.
    Crn string
    (String) CRN of the default routing table.
    Href string
    (String) The URL for this resource group.
    IsDefault bool
    (String) Indicates the default routing table for this VPC.
    IsVpcRoutingTableId string
    (String) The unique ID of the subnet.
    LifecycleState string
    (String) The lifecycle state of the routing table.
    Name string
    The routing table name.
    ResourceGroups List<IsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RouteDirectLinkIngress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteInternetIngress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    RouteTransitGatewayIngress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteVpcZoneIngress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RoutingTable string
    (String) The unique routing table identifier.
    Subnets List<IsVpcRoutingTableSubnet>
    (List) The subnets to which routing table is attached.
    Tags List<string>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    Timeouts IsVpcRoutingTableTimeouts
    Vpc string
    The VPC ID.
    AcceptRoutesFromResourceTypes []string
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    AccessTags []string

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    AdvertiseRoutesTos []string

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    CreatedAt string
    The date and time when the routing table was created.
    Crn string
    (String) CRN of the default routing table.
    Href string
    (String) The URL for this resource group.
    IsDefault bool
    (String) Indicates the default routing table for this VPC.
    IsVpcRoutingTableId string
    (String) The unique ID of the subnet.
    LifecycleState string
    (String) The lifecycle state of the routing table.
    Name string
    The routing table name.
    ResourceGroups []IsVpcRoutingTableResourceGroupArgs
    (List) The resource group for this routing table.
    ResourceType string
    (String) The resource type.
    RouteDirectLinkIngress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteInternetIngress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    RouteTransitGatewayIngress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RouteVpcZoneIngress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    RoutingTable string
    (String) The unique routing table identifier.
    Subnets []IsVpcRoutingTableSubnetArgs
    (List) The subnets to which routing table is attached.
    Tags []string
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    Timeouts IsVpcRoutingTableTimeoutsArgs
    Vpc string
    The VPC ID.
    acceptRoutesFromResourceTypes List<String>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags List<String>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos List<String>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    createdAt String
    The date and time when the routing table was created.
    crn String
    (String) CRN of the default routing table.
    href String
    (String) The URL for this resource group.
    isDefault Boolean
    (String) Indicates the default routing table for this VPC.
    isVpcRoutingTableId String
    (String) The unique ID of the subnet.
    lifecycleState String
    (String) The lifecycle state of the routing table.
    name String
    The routing table name.
    resourceGroups List<IsVpcRoutingTableResourceGroup>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routeDirectLinkIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress Boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress Boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routingTable String
    (String) The unique routing table identifier.
    subnets List<IsVpcRoutingTableSubnet>
    (List) The subnets to which routing table is attached.
    tags List<String>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeouts
    vpc String
    The VPC ID.
    acceptRoutesFromResourceTypes string[]
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags string[]

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos string[]

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    createdAt string
    The date and time when the routing table was created.
    crn string
    (String) CRN of the default routing table.
    href string
    (String) The URL for this resource group.
    isDefault boolean
    (String) Indicates the default routing table for this VPC.
    isVpcRoutingTableId string
    (String) The unique ID of the subnet.
    lifecycleState string
    (String) The lifecycle state of the routing table.
    name string
    The routing table name.
    resourceGroups IsVpcRoutingTableResourceGroup[]
    (List) The resource group for this routing table.
    resourceType string
    (String) The resource type.
    routeDirectLinkIngress boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routingTable string
    (String) The unique routing table identifier.
    subnets IsVpcRoutingTableSubnet[]
    (List) The subnets to which routing table is attached.
    tags string[]
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeouts
    vpc string
    The VPC ID.
    accept_routes_from_resource_types Sequence[str]
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    access_tags Sequence[str]

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertise_routes_tos Sequence[str]

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    created_at str
    The date and time when the routing table was created.
    crn str
    (String) CRN of the default routing table.
    href str
    (String) The URL for this resource group.
    is_default bool
    (String) Indicates the default routing table for this VPC.
    is_vpc_routing_table_id str
    (String) The unique ID of the subnet.
    lifecycle_state str
    (String) The lifecycle state of the routing table.
    name str
    The routing table name.
    resource_groups Sequence[IsVpcRoutingTableResourceGroupArgs]
    (List) The resource group for this routing table.
    resource_type str
    (String) The resource type.
    route_direct_link_ingress bool
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    route_internet_ingress bool
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    route_transit_gateway_ingress bool
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    route_vpc_zone_ingress bool
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routing_table str
    (String) The unique routing table identifier.
    subnets Sequence[IsVpcRoutingTableSubnetArgs]
    (List) The subnets to which routing table is attached.
    tags Sequence[str]
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts IsVpcRoutingTableTimeoutsArgs
    vpc str
    The VPC ID.
    acceptRoutesFromResourceTypes List<String>
    The resource type filter specifying the resources that may create routes in this routing table. Ex: vpn_server, vpn_gateway
    accessTags List<String>

    A list of access management tags to attach to the routing table.

    Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

    advertiseRoutesTos List<String>

    The ingress sources to advertise routes to. Routes in the table with advertise enabled will be advertised to these sources.

    ->Options An ingress source that routes can be advertised to: direct_link (requires route_direct_link_ingress be set to true) transit_gateway (requires route_transit_gateway_ingress be set to true)

    createdAt String
    The date and time when the routing table was created.
    crn String
    (String) CRN of the default routing table.
    href String
    (String) The URL for this resource group.
    isDefault Boolean
    (String) Indicates the default routing table for this VPC.
    isVpcRoutingTableId String
    (String) The unique ID of the subnet.
    lifecycleState String
    (String) The lifecycle state of the routing table.
    name String
    The routing table name.
    resourceGroups List<Property Map>
    (List) The resource group for this routing table.
    resourceType String
    (String) The resource type.
    routeDirectLinkIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Direct Link to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeInternetIngress Boolean
    If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true.
    routeTransitGatewayIngress Boolean
    If set to true, the routing table is used to route traffic that originates from Transit Gateway to the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routeVpcZoneIngress Boolean
    If set to true, the routing table is used to route traffic that originates from subnets in other zones in the VPC. To succeed, the VPC must not already have a routing table with the property set to true.
    routingTable String
    (String) The unique routing table identifier.
    subnets List<Property Map>
    (List) The subnets to which routing table is attached.
    tags List<String>
    Enter any tags that you want to associate with your routing table. Tags might help you find your routing table more easily after it is created. Separate multiple tags with a comma (,).
    timeouts Property Map
    vpc String
    The VPC ID.

    Supporting Types

    IsVpcRoutingTableResourceGroup, IsVpcRoutingTableResourceGroupArgs

    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique ID of the subnet.
    name String
    The routing table name.
    href string
    (String) The URL for this resource group.
    id string
    (String) The unique ID of the subnet.
    name string
    The routing table name.
    href str
    (String) The URL for this resource group.
    id str
    (String) The unique ID of the subnet.
    name str
    The routing table name.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique ID of the subnet.
    name String
    The routing table name.

    IsVpcRoutingTableSubnet, IsVpcRoutingTableSubnetArgs

    Id string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    Id string
    (String) The unique ID of the subnet.
    Name string
    The routing table name.
    id String
    (String) The unique ID of the subnet.
    name String
    The routing table name.
    id string
    (String) The unique ID of the subnet.
    name string
    The routing table name.
    id str
    (String) The unique ID of the subnet.
    name str
    The routing table name.
    id String
    (String) The unique ID of the subnet.
    name String
    The routing table name.

    IsVpcRoutingTableTimeouts, IsVpcRoutingTableTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    The ibm_is_vpc_routing_table resource can be imported by using VPC ID and VPC Route table ID.

    Example

    $ pulumi import ibm:index/isVpcRoutingTable:IsVpcRoutingTable example 56738c92-4631-4eb5-8938-8af9211a6ea4/fc2667e0-9e6f-4993-a0fd-cabab477c4d1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud