VpcPeeringConnection

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var mypeeringconnection = new Aiven.VpcPeeringConnection("mypeeringconnection", new Aiven.VpcPeeringConnectionArgs
        {
            PeerCloudAccount = "<PEER_ACCOUNT_ID>",
            PeerRegion = "<PEER_REGION>",
            PeerVpc = "<PEER_VPC_ID/NAME>",
            VpcId = aiven_project_vpc.Myvpc.Id,
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

mypeeringconnection = aiven.VpcPeeringConnection("mypeeringconnection",
    peer_cloud_account="<PEER_ACCOUNT_ID>",
    peer_region="<PEER_REGION>",
    peer_vpc="<PEER_VPC_ID/NAME>",
    vpc_id=aiven_project_vpc["myvpc"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const mypeeringconnection = new aiven.VpcPeeringConnection("mypeeringconnection", {
    peerCloudAccount: "<PEER_ACCOUNT_ID>",
    peerRegion: "<PEER_REGION>",
    peerVpc: "<PEER_VPC_ID/NAME>",
    vpcId: aiven_project_vpc_myvpc.id,
});

Create a VpcPeeringConnection Resource

def VpcPeeringConnection(resource_name, opts=None, client_timeout=None, peer_cloud_account=None, peer_region=None, peer_vpc=None, vpc_id=None, __props__=None);
name string
The unique name of the resource.
args VpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args VpcPeeringConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args VpcPeeringConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

VpcPeeringConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The VpcPeeringConnection resource accepts the following input properties:

PeerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

PeerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

VpcId string

The VPC the peering connection belongs to

ClientTimeout VpcPeeringConnectionClientTimeoutArgs

Custom Terraform Client timeouts

Deprecated: use timeouts instead

PeerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

PeerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

PeerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

VpcId string

The VPC the peering connection belongs to

ClientTimeout VpcPeeringConnectionClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

PeerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

peerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

peerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

vpcId string

The VPC the peering connection belongs to

clientTimeout VpcPeeringConnectionClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

peerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

peer_cloud_account str

AWS account ID or GCP project ID of the peered VPC

peer_vpc str

AWS VPC ID or GCP VPC network name of the peered VPC

vpc_id str

The VPC the peering connection belongs to

client_timeout Dict[VpcPeeringConnectionClientTimeout]

Custom Terraform Client timeouts

Deprecated: use timeouts instead

peer_region str

AWS region of the peered VPC (if not in the same region as Aiven VPC)

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
PeeringConnectionId string

Cloud provider identifier for the peering connection if available

State string

State of the peering connection

StateInfo Dictionary<string, object>

State-specific help or error information

Id string
The provider-assigned unique ID for this managed resource.
PeeringConnectionId string

Cloud provider identifier for the peering connection if available

State string

State of the peering connection

StateInfo map[string]interface{}

State-specific help or error information

id string
The provider-assigned unique ID for this managed resource.
peeringConnectionId string

Cloud provider identifier for the peering connection if available

state string

State of the peering connection

stateInfo {[key: string]: any}

State-specific help or error information

id str
The provider-assigned unique ID for this managed resource.
peering_connection_id str

Cloud provider identifier for the peering connection if available

state str

State of the peering connection

state_info Dict[str, Any]

State-specific help or error information

Look up an Existing VpcPeeringConnection Resource

Get an existing VpcPeeringConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, client_timeout=None, peer_cloud_account=None, peer_region=None, peer_vpc=None, peering_connection_id=None, state=None, state_info=None, vpc_id=None, __props__=None);
func GetVpcPeeringConnection(ctx *Context, name string, id IDInput, state *VpcPeeringConnectionState, opts ...ResourceOption) (*VpcPeeringConnection, error)
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.

The following state arguments are supported:

ClientTimeout VpcPeeringConnectionClientTimeoutArgs

Custom Terraform Client timeouts

Deprecated: use timeouts instead

PeerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

PeerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

PeerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

PeeringConnectionId string

Cloud provider identifier for the peering connection if available

State string

State of the peering connection

StateInfo Dictionary<string, object>

State-specific help or error information

VpcId string

The VPC the peering connection belongs to

ClientTimeout VpcPeeringConnectionClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

PeerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

PeerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

PeerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

PeeringConnectionId string

Cloud provider identifier for the peering connection if available

State string

State of the peering connection

StateInfo map[string]interface{}

State-specific help or error information

VpcId string

The VPC the peering connection belongs to

clientTimeout VpcPeeringConnectionClientTimeout

Custom Terraform Client timeouts

Deprecated: use timeouts instead

peerCloudAccount string

AWS account ID or GCP project ID of the peered VPC

peerRegion string

AWS region of the peered VPC (if not in the same region as Aiven VPC)

peerVpc string

AWS VPC ID or GCP VPC network name of the peered VPC

peeringConnectionId string

Cloud provider identifier for the peering connection if available

state string

State of the peering connection

stateInfo {[key: string]: any}

State-specific help or error information

vpcId string

The VPC the peering connection belongs to

client_timeout Dict[VpcPeeringConnectionClientTimeout]

Custom Terraform Client timeouts

Deprecated: use timeouts instead

peer_cloud_account str

AWS account ID or GCP project ID of the peered VPC

peer_region str

AWS region of the peered VPC (if not in the same region as Aiven VPC)

peer_vpc str

AWS VPC ID or GCP VPC network name of the peered VPC

peering_connection_id str

Cloud provider identifier for the peering connection if available

state str

State of the peering connection

state_info Dict[str, Any]

State-specific help or error information

vpc_id str

The VPC the peering connection belongs to

Supporting Types

VpcPeeringConnectionClientTimeout

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Create string
Create string
create string
create str

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.