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

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";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
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) {
    }
}
Copy
{}
Copy

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
resources:
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsVpcRoutingTable:
    type: ibm:IsVpcRoutingTable
    properties:
      vpc: ${exampleIsVpc.isVpcId}
      routeDirectLinkIngress: true
      routeTransitGatewayIngress: false
      routeVpcZoneIngress: false
Copy

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",
    ],
});
Copy
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",
    ])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
resources:
  example:
    type: ibm:IsVpc
  isVpcRoutingTableInstance:
    type: ibm:IsVpcRoutingTable
    properties:
      vpc: ${example.isVpcId}
      routeDirectLinkIngress: true
      routeTransitGatewayIngress: false
      routeVpcZoneIngress: false
      advertiseRoutesTos:
        - direct_link
        - transit_gateway
Copy

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"],
});
Copy
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"])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
resources:
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsVpcRoutingTable:
    type: ibm:IsVpcRoutingTable
    properties:
      vpc: ${exampleIsVpc.isVpcId}
      routeDirectLinkIngress: true
      routeTransitGatewayIngress: false
      routeVpcZoneIngress: false
      acceptRoutesFromResourceTypes:
        - vpn_server
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. IsVpcRoutingTableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. IsVpcRoutingTableArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsVpcRoutingTableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
    },
});
Copy
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"),
},
})
Copy
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());
Copy
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",
    })
Copy
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",
    },
});
Copy
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
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique ID of the subnet.
Name This property is required. string
The routing table name.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique ID of the subnet.
Name This property is required. string
The routing table name.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique ID of the subnet.
name This property is required. String
The routing table name.
href This property is required. string
(String) The URL for this resource group.
id This property is required. string
(String) The unique ID of the subnet.
name This property is required. string
The routing table name.
href This property is required. str
(String) The URL for this resource group.
id This property is required. str
(String) The unique ID of the subnet.
name This property is required. str
The routing table name.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique ID of the subnet.
name This property is required. String
The routing table name.

IsVpcRoutingTableSubnet
, IsVpcRoutingTableSubnetArgs

Id This property is required. string
(String) The unique ID of the subnet.
Name This property is required. string
The routing table name.
Id This property is required. string
(String) The unique ID of the subnet.
Name This property is required. string
The routing table name.
id This property is required. String
(String) The unique ID of the subnet.
name This property is required. String
The routing table name.
id This property is required. string
(String) The unique ID of the subnet.
name This property is required. string
The routing table name.
id This property is required. str
(String) The unique ID of the subnet.
name This property is required. str
The routing table name.
id This property is required. String
(String) The unique ID of the subnet.
name This property is required. 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
Copy

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.