published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Creates and manages a Google Cloud VPC peering connection. If this resource is missing (for example, after a service power off), it’s removed from the state and a new create plan is generated.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const exampleOrganization = new aiven.Organization("example", {name: "Aiven Ltd"});
const exampleOrganizationVpc = new aiven.OrganizationVpc("example", {
organizationId: exampleOrganization.id,
cloudName: "aws-eu-west-1",
networkCidr: "10.0.0.0/24",
});
const example = new aiven.GcpOrgVpcPeeringConnection("example", {
organizationId: exampleOrganization.id,
organizationVpcId: exampleOrganizationVpc.organizationVpcId,
gcpProjectId: "my-gcp-project",
peerVpc: "my-vpc",
});
import pulumi
import pulumi_aiven as aiven
example_organization = aiven.Organization("example", name="Aiven Ltd")
example_organization_vpc = aiven.OrganizationVpc("example",
organization_id=example_organization.id,
cloud_name="aws-eu-west-1",
network_cidr="10.0.0.0/24")
example = aiven.GcpOrgVpcPeeringConnection("example",
organization_id=example_organization.id,
organization_vpc_id=example_organization_vpc.organization_vpc_id,
gcp_project_id="my-gcp-project",
peer_vpc="my-vpc")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleOrganization, err := aiven.NewOrganization(ctx, "example", &aiven.OrganizationArgs{
Name: pulumi.String("Aiven Ltd"),
})
if err != nil {
return err
}
exampleOrganizationVpc, err := aiven.NewOrganizationVpc(ctx, "example", &aiven.OrganizationVpcArgs{
OrganizationId: exampleOrganization.ID().ToIDOutput().ToStringOutput(),
CloudName: pulumi.String("aws-eu-west-1"),
NetworkCidr: pulumi.String("10.0.0.0/24"),
})
if err != nil {
return err
}
_, err = aiven.NewGcpOrgVpcPeeringConnection(ctx, "example", &aiven.GcpOrgVpcPeeringConnectionArgs{
OrganizationId: exampleOrganization.ID().ToIDOutput().ToStringOutput(),
OrganizationVpcId: exampleOrganizationVpc.OrganizationVpcId,
GcpProjectId: pulumi.String("my-gcp-project"),
PeerVpc: pulumi.String("my-vpc"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var exampleOrganization = new Aiven.Organization("example", new()
{
Name = "Aiven Ltd",
});
var exampleOrganizationVpc = new Aiven.OrganizationVpc("example", new()
{
OrganizationId = exampleOrganization.Id,
CloudName = "aws-eu-west-1",
NetworkCidr = "10.0.0.0/24",
});
var example = new Aiven.GcpOrgVpcPeeringConnection("example", new()
{
OrganizationId = exampleOrganization.Id,
OrganizationVpcId = exampleOrganizationVpc.OrganizationVpcId,
GcpProjectId = "my-gcp-project",
PeerVpc = "my-vpc",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.Organization;
import com.pulumi.aiven.OrganizationArgs;
import com.pulumi.aiven.OrganizationVpc;
import com.pulumi.aiven.OrganizationVpcArgs;
import com.pulumi.aiven.GcpOrgVpcPeeringConnection;
import com.pulumi.aiven.GcpOrgVpcPeeringConnectionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleOrganization = new Organization("exampleOrganization", OrganizationArgs.builder()
.name("Aiven Ltd")
.build());
var exampleOrganizationVpc = new OrganizationVpc("exampleOrganizationVpc", OrganizationVpcArgs.builder()
.organizationId(exampleOrganization.id())
.cloudName("aws-eu-west-1")
.networkCidr("10.0.0.0/24")
.build());
var example = new GcpOrgVpcPeeringConnection("example", GcpOrgVpcPeeringConnectionArgs.builder()
.organizationId(exampleOrganization.id())
.organizationVpcId(exampleOrganizationVpc.organizationVpcId())
.gcpProjectId("my-gcp-project")
.peerVpc("my-vpc")
.build());
}
}
resources:
example:
type: aiven:GcpOrgVpcPeeringConnection
properties:
organizationId: ${exampleOrganization.id}
organizationVpcId: ${exampleOrganizationVpc.organizationVpcId}
gcpProjectId: my-gcp-project
peerVpc: my-vpc
exampleOrganizationVpc:
type: aiven:OrganizationVpc
name: example
properties:
organizationId: ${exampleOrganization.id}
cloudName: aws-eu-west-1
networkCidr: 10.0.0.0/24
exampleOrganization:
type: aiven:Organization
name: example
properties:
name: Aiven Ltd
terraform {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
resource "aiven_gcp_org_vpc_peering_connection" "example" {
lifecycle {
create_before_destroy = true
}
organization_id = aiven_organization.example.id
organization_vpc_id = aiven_organization_vpc.example.organization_vpc_id
gcp_project_id = "my-gcp-project"
peer_vpc = "my-vpc"
}
resource "aiven_organization_vpc" "example" {
lifecycle {
create_before_destroy = true
}
organization_id = aiven_organization.example.id
cloud_name = "aws-eu-west-1"
network_cidr = "10.0.0.0/24"
}
resource "aiven_organization" "example" {
lifecycle {
create_before_destroy = true
}
name = "Aiven Ltd"
}
Create GcpOrgVpcPeeringConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GcpOrgVpcPeeringConnection(name: string, args: GcpOrgVpcPeeringConnectionArgs, opts?: CustomResourceOptions);@overload
def GcpOrgVpcPeeringConnection(resource_name: str,
args: GcpOrgVpcPeeringConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GcpOrgVpcPeeringConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
gcp_project_id: Optional[str] = None,
organization_id: Optional[str] = None,
organization_vpc_id: Optional[str] = None,
peer_vpc: Optional[str] = None,
timeouts: Optional[GcpOrgVpcPeeringConnectionTimeoutsArgs] = None)func NewGcpOrgVpcPeeringConnection(ctx *Context, name string, args GcpOrgVpcPeeringConnectionArgs, opts ...ResourceOption) (*GcpOrgVpcPeeringConnection, error)public GcpOrgVpcPeeringConnection(string name, GcpOrgVpcPeeringConnectionArgs args, CustomResourceOptions? opts = null)
public GcpOrgVpcPeeringConnection(String name, GcpOrgVpcPeeringConnectionArgs args)
public GcpOrgVpcPeeringConnection(String name, GcpOrgVpcPeeringConnectionArgs args, CustomResourceOptions options)
type: aiven:GcpOrgVpcPeeringConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aiven_gcp_org_vpc_peering_connection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GcpOrgVpcPeeringConnectionArgs
- 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 GcpOrgVpcPeeringConnectionArgs
- 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 GcpOrgVpcPeeringConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GcpOrgVpcPeeringConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GcpOrgVpcPeeringConnectionArgs
- 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 gcpOrgVpcPeeringConnectionResource = new Aiven.GcpOrgVpcPeeringConnection("gcpOrgVpcPeeringConnectionResource", new()
{
GcpProjectId = "string",
OrganizationId = "string",
OrganizationVpcId = "string",
PeerVpc = "string",
Timeouts = new Aiven.Inputs.GcpOrgVpcPeeringConnectionTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := aiven.NewGcpOrgVpcPeeringConnection(ctx, "gcpOrgVpcPeeringConnectionResource", &aiven.GcpOrgVpcPeeringConnectionArgs{
GcpProjectId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
OrganizationVpcId: pulumi.String("string"),
PeerVpc: pulumi.String("string"),
Timeouts: &aiven.GcpOrgVpcPeeringConnectionTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "aiven_gcp_org_vpc_peering_connection" "gcpOrgVpcPeeringConnectionResource" {
lifecycle {
create_before_destroy = true
}
gcp_project_id = "string"
organization_id = "string"
organization_vpc_id = "string"
peer_vpc = "string"
timeouts = {
create = "string"
delete = "string"
read = "string"
update = "string"
}
}
var gcpOrgVpcPeeringConnectionResource = new GcpOrgVpcPeeringConnection("gcpOrgVpcPeeringConnectionResource", GcpOrgVpcPeeringConnectionArgs.builder()
.gcpProjectId("string")
.organizationId("string")
.organizationVpcId("string")
.peerVpc("string")
.timeouts(GcpOrgVpcPeeringConnectionTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
gcp_org_vpc_peering_connection_resource = aiven.GcpOrgVpcPeeringConnection("gcpOrgVpcPeeringConnectionResource",
gcp_project_id="string",
organization_id="string",
organization_vpc_id="string",
peer_vpc="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const gcpOrgVpcPeeringConnectionResource = new aiven.GcpOrgVpcPeeringConnection("gcpOrgVpcPeeringConnectionResource", {
gcpProjectId: "string",
organizationId: "string",
organizationVpcId: "string",
peerVpc: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: aiven:GcpOrgVpcPeeringConnection
properties:
gcpProjectId: string
organizationId: string
organizationVpcId: string
peerVpc: string
timeouts:
create: string
delete: string
read: string
update: string
GcpOrgVpcPeeringConnection 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 GcpOrgVpcPeeringConnection resource accepts the following input properties:
- Gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - Organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- Organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- Peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - Timeouts
Gcp
Org Vpc Peering Connection Timeouts
- Gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - Organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- Organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- Peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - Timeouts
Gcp
Org Vpc Peering Connection Timeouts Args
- gcp_
project_ stringid - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization_
id string - ID of an organization. Changing this property forces recreation of the resource.
- organization_
vpc_ stringid - Organization VPC ID. Changing this property forces recreation of the resource.
- peer_
vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - timeouts object
- gcp
Project StringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id String - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc StringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc String - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - timeouts
Gcp
Org Vpc Peering Connection Timeouts
- gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - timeouts
Gcp
Org Vpc Peering Connection Timeouts
- gcp_
project_ strid - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization_
id str - ID of an organization. Changing this property forces recreation of the resource.
- organization_
vpc_ strid - Organization VPC ID. Changing this property forces recreation of the resource.
- peer_
vpc str - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - timeouts
Gcp
Org Vpc Peering Connection Timeouts Args
- gcp
Project StringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id String - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc StringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc String - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GcpOrgVpcPeeringConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - Computed Google Cloud network peering link.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - Computed Google Cloud network peering link.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- id string
- The provider-assigned unique ID for this managed resource.
- self_
link string - Computed Google Cloud network peering link.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - Computed Google Cloud network peering link.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- id string
- The provider-assigned unique ID for this managed resource.
- self
Link string - Computed Google Cloud network peering link.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- id str
- The provider-assigned unique ID for this managed resource.
- self_
link str - Computed Google Cloud network peering link.
- state str
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - Computed Google Cloud network peering link.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER.
Look up Existing GcpOrgVpcPeeringConnection Resource
Get an existing GcpOrgVpcPeeringConnection 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?: GcpOrgVpcPeeringConnectionState, opts?: CustomResourceOptions): GcpOrgVpcPeeringConnection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gcp_project_id: Optional[str] = None,
organization_id: Optional[str] = None,
organization_vpc_id: Optional[str] = None,
peer_vpc: Optional[str] = None,
self_link: Optional[str] = None,
state: Optional[str] = None,
timeouts: Optional[GcpOrgVpcPeeringConnectionTimeoutsArgs] = None) -> GcpOrgVpcPeeringConnectionfunc GetGcpOrgVpcPeeringConnection(ctx *Context, name string, id IDInput, state *GcpOrgVpcPeeringConnectionState, opts ...ResourceOption) (*GcpOrgVpcPeeringConnection, error)public static GcpOrgVpcPeeringConnection Get(string name, Input<string> id, GcpOrgVpcPeeringConnectionState? state, CustomResourceOptions? opts = null)public static GcpOrgVpcPeeringConnection get(String name, Output<String> id, GcpOrgVpcPeeringConnectionState state, CustomResourceOptions options)resources: _: type: aiven:GcpOrgVpcPeeringConnection get: id: ${id}import {
to = aiven_gcp_org_vpc_peering_connection.example
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.
- Gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - Organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- Organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- Peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - Self
Link string - Computed Google Cloud network peering link.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - Timeouts
Gcp
Org Vpc Peering Connection Timeouts
- Gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - Organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- Organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- Peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - Self
Link string - Computed Google Cloud network peering link.
- State string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - Timeouts
Gcp
Org Vpc Peering Connection Timeouts Args
- gcp_
project_ stringid - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization_
id string - ID of an organization. Changing this property forces recreation of the resource.
- organization_
vpc_ stringid - Organization VPC ID. Changing this property forces recreation of the resource.
- peer_
vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - self_
link string - Computed Google Cloud network peering link.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - timeouts object
- gcp
Project StringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id String - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc StringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc String - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - self
Link String - Computed Google Cloud network peering link.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - timeouts
Gcp
Org Vpc Peering Connection Timeouts
- gcp
Project stringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id string - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc stringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc string - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - self
Link string - Computed Google Cloud network peering link.
- state string
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - timeouts
Gcp
Org Vpc Peering Connection Timeouts
- gcp_
project_ strid - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization_
id str - ID of an organization. Changing this property forces recreation of the resource.
- organization_
vpc_ strid - Organization VPC ID. Changing this property forces recreation of the resource.
- peer_
vpc str - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - self_
link str - Computed Google Cloud network peering link.
- state str
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - timeouts
Gcp
Org Vpc Peering Connection Timeouts Args
- gcp
Project StringId - Google Cloud project ID. Maximum length:
1024. Changing this property forces recreation of the resource. - organization
Id String - ID of an organization. Changing this property forces recreation of the resource.
- organization
Vpc StringId - Organization VPC ID. Changing this property forces recreation of the resource.
- peer
Vpc String - Google Cloud VPC network name. Maximum length:
1024. Changing this property forces recreation of the resource. - self
Link String - Computed Google Cloud network peering link.
- state String
- State of the peering connection. The possible values are
ACTIVE,APPROVED,APPROVED_PEER_REQUESTED,DELETED,DELETED_BY_PEER,DELETING,ERROR,INVALID_SPECIFICATION,PENDING_PEERandREJECTED_BY_PEER. - timeouts Property Map
Supporting Types
GcpOrgVpcPeeringConnectionTimeouts, GcpOrgVpcPeeringConnectionTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default_ String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default string
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default str
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- default String
- Timeout for all operations. Deprecated, use operation-specific timeouts instead.
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
$ pulumi import aiven:index/gcpOrgVpcPeeringConnection:GcpOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/GCP_PROJECT_ID/PEER_VPC
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
published on Thursday, Oct 22, 2026 by Pulumi