aviatrix.AviatrixAwsPeer
Explore with Pulumi AI
The aviatrix_aws_peer resource allows the creation and management of Aviatrix-created native AWS intra and inter-region VPC peerings.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create an Aviatrix AWS Peering
var testAwspeer = new Aviatrix.AviatrixAwsPeer("testAwspeer", new()
{
AccountName1 = "test1-account",
AccountName2 = "test2-account",
RtbList1s = new[]
{
"rtb-abcd1234",
},
RtbList2s = new[]
{
"rtb-wxyz5678",
},
VpcId1 = "vpc-abcd1234",
VpcId2 = "vpc-rdef3333",
VpcReg1 = "us-east-1",
VpcReg2 = "us-west-1",
});
});
package main
import (
"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aviatrix.NewAviatrixAwsPeer(ctx, "testAwspeer", &aviatrix.AviatrixAwsPeerArgs{
AccountName1: pulumi.String("test1-account"),
AccountName2: pulumi.String("test2-account"),
RtbList1s: pulumi.StringArray{
pulumi.String("rtb-abcd1234"),
},
RtbList2s: pulumi.StringArray{
pulumi.String("rtb-wxyz5678"),
},
VpcId1: pulumi.String("vpc-abcd1234"),
VpcId2: pulumi.String("vpc-rdef3333"),
VpcReg1: pulumi.String("us-east-1"),
VpcReg2: pulumi.String("us-west-1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixAwsPeer;
import com.pulumi.aviatrix.AviatrixAwsPeerArgs;
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 testAwspeer = new AviatrixAwsPeer("testAwspeer", AviatrixAwsPeerArgs.builder()
.accountName1("test1-account")
.accountName2("test2-account")
.rtbList1s("rtb-abcd1234")
.rtbList2s("rtb-wxyz5678")
.vpcId1("vpc-abcd1234")
.vpcId2("vpc-rdef3333")
.vpcReg1("us-east-1")
.vpcReg2("us-west-1")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create an Aviatrix AWS Peering
test_awspeer = aviatrix.AviatrixAwsPeer("testAwspeer",
account_name1="test1-account",
account_name2="test2-account",
rtb_list1s=["rtb-abcd1234"],
rtb_list2s=["rtb-wxyz5678"],
vpc_id1="vpc-abcd1234",
vpc_id2="vpc-rdef3333",
vpc_reg1="us-east-1",
vpc_reg2="us-west-1")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create an Aviatrix AWS Peering
const testAwspeer = new aviatrix.AviatrixAwsPeer("test_awspeer", {
accountName1: "test1-account",
accountName2: "test2-account",
rtbList1s: ["rtb-abcd1234"],
rtbList2s: ["rtb-wxyz5678"],
vpcId1: "vpc-abcd1234",
vpcId2: "vpc-rdef3333",
vpcReg1: "us-east-1",
vpcReg2: "us-west-1",
});
resources:
# Create an Aviatrix AWS Peering
testAwspeer:
type: aviatrix:AviatrixAwsPeer
properties:
accountName1: test1-account
accountName2: test2-account
rtbList1s:
- rtb-abcd1234
rtbList2s:
- rtb-wxyz5678
vpcId1: vpc-abcd1234
vpcId2: vpc-rdef3333
vpcReg1: us-east-1
vpcReg2: us-west-1
Create AviatrixAwsPeer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixAwsPeer(name: string, args: AviatrixAwsPeerArgs, opts?: CustomResourceOptions);
@overload
def AviatrixAwsPeer(resource_name: str,
args: AviatrixAwsPeerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixAwsPeer(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name1: Optional[str] = None,
account_name2: Optional[str] = None,
vpc_id1: Optional[str] = None,
vpc_id2: Optional[str] = None,
vpc_reg1: Optional[str] = None,
vpc_reg2: Optional[str] = None,
rtb_list1s: Optional[Sequence[str]] = None,
rtb_list2s: Optional[Sequence[str]] = None)
func NewAviatrixAwsPeer(ctx *Context, name string, args AviatrixAwsPeerArgs, opts ...ResourceOption) (*AviatrixAwsPeer, error)
public AviatrixAwsPeer(string name, AviatrixAwsPeerArgs args, CustomResourceOptions? opts = null)
public AviatrixAwsPeer(String name, AviatrixAwsPeerArgs args)
public AviatrixAwsPeer(String name, AviatrixAwsPeerArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixAwsPeer
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 AviatrixAwsPeerArgs
- 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 AviatrixAwsPeerArgs
- 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 AviatrixAwsPeerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixAwsPeerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixAwsPeerArgs
- 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 aviatrixAwsPeerResource = new Aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource", new()
{
AccountName1 = "string",
AccountName2 = "string",
VpcId1 = "string",
VpcId2 = "string",
VpcReg1 = "string",
VpcReg2 = "string",
RtbList1s = new[]
{
"string",
},
RtbList2s = new[]
{
"string",
},
});
example, err := aviatrix.NewAviatrixAwsPeer(ctx, "aviatrixAwsPeerResource", &aviatrix.AviatrixAwsPeerArgs{
AccountName1: pulumi.String("string"),
AccountName2: pulumi.String("string"),
VpcId1: pulumi.String("string"),
VpcId2: pulumi.String("string"),
VpcReg1: pulumi.String("string"),
VpcReg2: pulumi.String("string"),
RtbList1s: pulumi.StringArray{
pulumi.String("string"),
},
RtbList2s: pulumi.StringArray{
pulumi.String("string"),
},
})
var aviatrixAwsPeerResource = new AviatrixAwsPeer("aviatrixAwsPeerResource", AviatrixAwsPeerArgs.builder()
.accountName1("string")
.accountName2("string")
.vpcId1("string")
.vpcId2("string")
.vpcReg1("string")
.vpcReg2("string")
.rtbList1s("string")
.rtbList2s("string")
.build());
aviatrix_aws_peer_resource = aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource",
account_name1="string",
account_name2="string",
vpc_id1="string",
vpc_id2="string",
vpc_reg1="string",
vpc_reg2="string",
rtb_list1s=["string"],
rtb_list2s=["string"])
const aviatrixAwsPeerResource = new aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource", {
accountName1: "string",
accountName2: "string",
vpcId1: "string",
vpcId2: "string",
vpcReg1: "string",
vpcReg2: "string",
rtbList1s: ["string"],
rtbList2s: ["string"],
});
type: aviatrix:AviatrixAwsPeer
properties:
accountName1: string
accountName2: string
rtbList1s:
- string
rtbList2s:
- string
vpcId1: string
vpcId2: string
vpcReg1: string
vpcReg2: string
AviatrixAwsPeer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AviatrixAwsPeer resource accepts the following input properties:
- Account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Rtb
List1s List<string> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Rtb
List2s List<string> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Rtb
List1s []string - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Rtb
List2s []string - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- account
Name1 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- vpc
Id1 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 String - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 String - Region of AWS cloud. Example: AWS: "us-east-1".
- rtb
List1s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- rtb
List1s string[] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2s string[] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- account_
name1 str - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account_
name2 str - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- vpc_
id1 str - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc_
id2 str - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc_
reg1 str - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc_
reg2 str - Region of AWS cloud. Example: AWS: "us-east-1".
- rtb_
list1s Sequence[str] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb_
list2s Sequence[str] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- account
Name1 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- vpc
Id1 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 String - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 String - Region of AWS cloud. Example: AWS: "us-east-1".
- rtb
List1s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixAwsPeer resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rtb
List1Outputs List<string> - List of route table ID of vpc_id1.
- Rtb
List2Outputs List<string> - List of route table ID of vpc_id2.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rtb
List1Outputs []string - List of route table ID of vpc_id1.
- Rtb
List2Outputs []string - List of route table ID of vpc_id2.
- id String
- The provider-assigned unique ID for this managed resource.
- rtb
List1Outputs List<String> - List of route table ID of vpc_id1.
- rtb
List2Outputs List<String> - List of route table ID of vpc_id2.
- id string
- The provider-assigned unique ID for this managed resource.
- rtb
List1Outputs string[] - List of route table ID of vpc_id1.
- rtb
List2Outputs string[] - List of route table ID of vpc_id2.
- id str
- The provider-assigned unique ID for this managed resource.
- rtb_
list1_ Sequence[str]outputs - List of route table ID of vpc_id1.
- rtb_
list2_ Sequence[str]outputs - List of route table ID of vpc_id2.
- id String
- The provider-assigned unique ID for this managed resource.
- rtb
List1Outputs List<String> - List of route table ID of vpc_id1.
- rtb
List2Outputs List<String> - List of route table ID of vpc_id2.
Look up Existing AviatrixAwsPeer Resource
Get an existing AviatrixAwsPeer 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?: AviatrixAwsPeerState, opts?: CustomResourceOptions): AviatrixAwsPeer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name1: Optional[str] = None,
account_name2: Optional[str] = None,
rtb_list1_outputs: Optional[Sequence[str]] = None,
rtb_list1s: Optional[Sequence[str]] = None,
rtb_list2_outputs: Optional[Sequence[str]] = None,
rtb_list2s: Optional[Sequence[str]] = None,
vpc_id1: Optional[str] = None,
vpc_id2: Optional[str] = None,
vpc_reg1: Optional[str] = None,
vpc_reg2: Optional[str] = None) -> AviatrixAwsPeer
func GetAviatrixAwsPeer(ctx *Context, name string, id IDInput, state *AviatrixAwsPeerState, opts ...ResourceOption) (*AviatrixAwsPeer, error)
public static AviatrixAwsPeer Get(string name, Input<string> id, AviatrixAwsPeerState? state, CustomResourceOptions? opts = null)
public static AviatrixAwsPeer get(String name, Output<String> id, AviatrixAwsPeerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Rtb
List1Outputs List<string> - List of route table ID of vpc_id1.
- Rtb
List1s List<string> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Rtb
List2Outputs List<string> - List of route table ID of vpc_id2.
- Rtb
List2s List<string> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- Rtb
List1Outputs []string - List of route table ID of vpc_id1.
- Rtb
List1s []string - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Rtb
List2Outputs []string - List of route table ID of vpc_id2.
- Rtb
List2s []string - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- Vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- Vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- Vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- account
Name1 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- rtb
List1Outputs List<String> - List of route table ID of vpc_id1.
- rtb
List1s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2Outputs List<String> - List of route table ID of vpc_id2.
- rtb
List2s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- vpc
Id1 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 String - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 String - Region of AWS cloud. Example: AWS: "us-east-1".
- account
Name1 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 string - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- rtb
List1Outputs string[] - List of route table ID of vpc_id1.
- rtb
List1s string[] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2Outputs string[] - List of route table ID of vpc_id2.
- rtb
List2s string[] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- vpc
Id1 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 string - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 string - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 string - Region of AWS cloud. Example: AWS: "us-east-1".
- account_
name1 str - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account_
name2 str - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- rtb_
list1_ Sequence[str]outputs - List of route table ID of vpc_id1.
- rtb_
list1s Sequence[str] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb_
list2_ Sequence[str]outputs - List of route table ID of vpc_id2.
- rtb_
list2s Sequence[str] - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- vpc_
id1 str - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc_
id2 str - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc_
reg1 str - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc_
reg2 str - Region of AWS cloud. Example: AWS: "us-east-1".
- account
Name1 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- account
Name2 String - This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
- rtb
List1Outputs List<String> - List of route table ID of vpc_id1.
- rtb
List1s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- rtb
List2Outputs List<String> - List of route table ID of vpc_id2.
- rtb
List2s List<String> - List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
- vpc
Id1 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Id2 String - VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
- vpc
Reg1 String - Region of AWS cloud. Example: AWS: "us-east-1".
- vpc
Reg2 String - Region of AWS cloud. Example: AWS: "us-east-1".
Import
aws_peer can be imported using the vpc_id1
and vpc_id2
, e.g.
$ pulumi import aviatrix:index/aviatrixAwsPeer:AviatrixAwsPeer test vpc_id1~vpc_id2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.