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";
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.
- Accept
Routes List<string>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- Advertise
Routes List<string>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- Is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- Name string
- The routing table name.
- Route
Direct boolLink Ingress - 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 boolIngress - 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 boolGateway Ingress - 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 boolZone Ingress - 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.
- 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
Is
Vpc Routing Table Timeouts
- Vpc string
- The VPC ID.
- Accept
Routes []stringFrom Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- []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 formatkey:value
.- Advertise
Routes []stringTos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- Is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- Name string
- The routing table name.
- Route
Direct boolLink Ingress - 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 boolIngress - 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 boolGateway Ingress - 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 boolZone Ingress - 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.
- []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
Is
Vpc Routing Table Timeouts Args
- vpc String
- The VPC ID.
- accept
Routes List<String>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes List<String>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- is
Vpc StringRouting Table Id - (String) The unique ID of the subnet.
- name String
- The routing table name.
- route
Direct BooleanLink Ingress - 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 BooleanIngress - 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 BooleanGateway Ingress - 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 BooleanZone Ingress - 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.
- 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
Is
Vpc Routing Table Timeouts
- vpc string
- The VPC ID.
- accept
Routes string[]From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes string[]Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- name string
- The routing table name.
- route
Direct booleanLink Ingress - 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 booleanIngress - 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 booleanGateway Ingress - 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 booleanZone Ingress - 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.
- 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
Is
Vpc Routing Table Timeouts
- vpc str
- The VPC ID.
- accept_
routes_ Sequence[str]from_ resource_ types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise_
routes_ Sequence[str]tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- is_
vpc_ strrouting_ table_ id - (String) The unique ID of the subnet.
- name str
- The routing table name.
- route_
direct_ boollink_ ingress - 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_ boolingress - 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_ boolgateway_ ingress - 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_ boolzone_ ingress - 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.
- 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
Is
Vpc Routing Table Timeouts Args
- vpc String
- The VPC ID.
- accept
Routes List<String>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes List<String>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- is
Vpc StringRouting Table Id - (String) The unique ID of the subnet.
- name String
- The routing table name.
- route
Direct BooleanLink Ingress - 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 BooleanIngress - 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 BooleanGateway Ingress - 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 BooleanZone Ingress - 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.
- 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:
- Created
At 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.
- Is
Default bool - (String) Indicates the default routing table for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Resource
Groups List<IsVpc Routing Table Resource Group> - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Routing
Table string - (String) The unique routing table identifier.
- Subnets
List<Is
Vpc Routing Table Subnet> - (List) The subnets to which routing table is attached.
- Created
At 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.
- Is
Default bool - (String) Indicates the default routing table for this VPC.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Resource
Groups []IsVpc Routing Table Resource Group - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Routing
Table string - (String) The unique routing table identifier.
- Subnets
[]Is
Vpc Routing Table Subnet - (List) The subnets to which routing table is attached.
- created
At 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.
- is
Default Boolean - (String) Indicates the default routing table for this VPC.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- resource
Groups List<IsVpc Routing Table Resource Group> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- routing
Table String - (String) The unique routing table identifier.
- subnets
List<Is
Vpc Routing Table Subnet> - (List) The subnets to which routing table is attached.
- created
At 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.
- is
Default boolean - (String) Indicates the default routing table for this VPC.
- lifecycle
State string - (String) The lifecycle state of the routing table.
- resource
Groups IsVpc Routing Table Resource Group[] - (List) The resource group for this routing table.
- resource
Type string - (String) The resource type.
- routing
Table string - (String) The unique routing table identifier.
- subnets
Is
Vpc Routing Table Subnet[] - (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[IsVpc Routing Table Resource Group] - (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[Is
Vpc Routing Table Subnet] - (List) The subnets to which routing table is attached.
- created
At 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.
- is
Default Boolean - (String) Indicates the default routing table for this VPC.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- resource
Groups List<Property Map> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- routing
Table 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.
- Accept
Routes List<string>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- Advertise
Routes List<string>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- Created
At 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.
- Is
Default bool - (String) Indicates the default routing table for this VPC.
- Is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Name string
- The routing table name.
- Resource
Groups List<IsVpc Routing Table Resource Group> - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Route
Direct boolLink Ingress - 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 boolIngress - 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 boolGateway Ingress - 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 boolZone Ingress - 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 string - (String) The unique routing table identifier.
- Subnets
List<Is
Vpc Routing Table Subnet> - (List) The subnets to which routing table is attached.
- 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
Is
Vpc Routing Table Timeouts - Vpc string
- The VPC ID.
- Accept
Routes []stringFrom Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- []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 formatkey:value
.- Advertise
Routes []stringTos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- Created
At 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.
- Is
Default bool - (String) Indicates the default routing table for this VPC.
- Is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- Lifecycle
State string - (String) The lifecycle state of the routing table.
- Name string
- The routing table name.
- Resource
Groups []IsVpc Routing Table Resource Group Args - (List) The resource group for this routing table.
- Resource
Type string - (String) The resource type.
- Route
Direct boolLink Ingress - 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 boolIngress - 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 boolGateway Ingress - 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 boolZone Ingress - 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 string - (String) The unique routing table identifier.
- Subnets
[]Is
Vpc Routing Table Subnet Args - (List) The subnets to which routing table is attached.
- []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
Is
Vpc Routing Table Timeouts Args - Vpc string
- The VPC ID.
- accept
Routes List<String>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes List<String>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- created
At 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.
- is
Default Boolean - (String) Indicates the default routing table for this VPC.
- is
Vpc StringRouting Table Id - (String) The unique ID of the subnet.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- name String
- The routing table name.
- resource
Groups List<IsVpc Routing Table Resource Group> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- route
Direct BooleanLink Ingress - 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 BooleanIngress - 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 BooleanGateway Ingress - 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 BooleanZone Ingress - 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 String - (String) The unique routing table identifier.
- subnets
List<Is
Vpc Routing Table Subnet> - (List) The subnets to which routing table is attached.
- 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
Is
Vpc Routing Table Timeouts - vpc String
- The VPC ID.
- accept
Routes string[]From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes string[]Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- created
At 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.
- is
Default boolean - (String) Indicates the default routing table for this VPC.
- is
Vpc stringRouting Table Id - (String) The unique ID of the subnet.
- lifecycle
State string - (String) The lifecycle state of the routing table.
- name string
- The routing table name.
- resource
Groups IsVpc Routing Table Resource Group[] - (List) The resource group for this routing table.
- resource
Type string - (String) The resource type.
- route
Direct booleanLink Ingress - 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 booleanIngress - 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 booleanGateway Ingress - 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 booleanZone Ingress - 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 string - (String) The unique routing table identifier.
- subnets
Is
Vpc Routing Table Subnet[] - (List) The subnets to which routing table is attached.
- 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
Is
Vpc Routing Table Timeouts - vpc string
- The VPC ID.
- accept_
routes_ Sequence[str]from_ resource_ types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise_
routes_ Sequence[str]tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- 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_ strrouting_ table_ id - (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[IsVpc Routing Table Resource Group Args] - (List) The resource group for this routing table.
- resource_
type str - (String) The resource type.
- route_
direct_ boollink_ ingress - 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_ boolingress - 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_ boolgateway_ ingress - 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_ boolzone_ ingress - 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[Is
Vpc Routing Table Subnet Args] - (List) The subnets to which routing table is attached.
- 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
Is
Vpc Routing Table Timeouts Args - vpc str
- The VPC ID.
- accept
Routes List<String>From Resource Types - The resource type filter specifying the resources that may create routes in this routing table. Ex:
vpn_server
,vpn_gateway
- 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 formatkey:value
.- advertise
Routes List<String>Tos 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
(requiresroute_direct_link_ingress
be set totrue
) •transit_gateway
(requiresroute_transit_gateway_ingress
be set totrue
)- created
At 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.
- is
Default Boolean - (String) Indicates the default routing table for this VPC.
- is
Vpc StringRouting Table Id - (String) The unique ID of the subnet.
- lifecycle
State String - (String) The lifecycle state of the routing table.
- name String
- The routing table name.
- resource
Groups List<Property Map> - (List) The resource group for this routing table.
- resource
Type String - (String) The resource type.
- route
Direct BooleanLink Ingress - 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 BooleanIngress - 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 BooleanGateway Ingress - 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 BooleanZone Ingress - 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 String - (String) The unique routing table identifier.
- subnets List<Property Map>
- (List) The subnets to which routing table is attached.
- 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
IsVpcRoutingTableSubnet, IsVpcRoutingTableSubnetArgs
IsVpcRoutingTableTimeouts, IsVpcRoutingTableTimeoutsArgs
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.