1. Registry
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. TransitGatewayVpcAttachment
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
aiven logo aiven logo
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi

    Creates and manages an AWS Transit Gateway VPC attachment for an Aiven project VPC. 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 exampleOrganizationAddress = new aiven.OrganizationAddress("example", {
        organizationId: exampleOrganization.id,
        addressLines: [
            "Street 1",
            "Street 2",
        ],
        city: "Helsinki",
        countryCode: "FI",
        name: "Aiven Oy",
    });
    const exampleOrganizationBillingGroup = new aiven.OrganizationBillingGroup("example", {
        paymentMethod: {
            paymentMethodId: "pm4b1ff1ceeaa",
            paymentMethodType: "credit_card",
        },
        billingContactEmails: [{
            email: "jane@example.com",
        }],
        billingEmails: [{
            email: "jane@example.com",
        }],
        organizationId: exampleOrganization.id,
        billingAddressId: exampleOrganizationAddress.addressId,
        shippingAddressId: exampleOrganizationAddress.addressId,
        billingGroupName: "Default billing group for the organization",
    });
    const exampleOrganizationProject = new aiven.OrganizationProject("example", {
        organizationId: exampleOrganization.id,
        projectId: "project-1",
        billingGroupId: exampleOrganizationBillingGroup.billingGroupId,
        parentId: exampleOrganization.id,
    });
    const exampleProjectVpc = new aiven.ProjectVpc("example", {
        project: exampleOrganizationProject.projectId,
        cloudName: "aws-eu-central-1",
        networkCidr: "192.168.6.0/24",
    });
    const example = new aiven.TransitGatewayVpcAttachment("example", {
        vpcId: exampleProjectVpc.id,
        peerCloudAccount: "123456789012",
        peerVpc: "tgw-0123456789abcdef0",
        peerRegion: "us-east-1",
        userPeerNetworkCidrs: ["192.168.6.0/24"],
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example_organization = aiven.Organization("example", name="Aiven Ltd")
    example_organization_address = aiven.OrganizationAddress("example",
        organization_id=example_organization.id,
        address_lines=[
            "Street 1",
            "Street 2",
        ],
        city="Helsinki",
        country_code="FI",
        name="Aiven Oy")
    example_organization_billing_group = aiven.OrganizationBillingGroup("example",
        payment_method={
            "payment_method_id": "pm4b1ff1ceeaa",
            "payment_method_type": "credit_card",
        },
        billing_contact_emails=[{
            "email": "jane@example.com",
        }],
        billing_emails=[{
            "email": "jane@example.com",
        }],
        organization_id=example_organization.id,
        billing_address_id=example_organization_address.address_id,
        shipping_address_id=example_organization_address.address_id,
        billing_group_name="Default billing group for the organization")
    example_organization_project = aiven.OrganizationProject("example",
        organization_id=example_organization.id,
        project_id="project-1",
        billing_group_id=example_organization_billing_group.billing_group_id,
        parent_id=example_organization.id)
    example_project_vpc = aiven.ProjectVpc("example",
        project=example_organization_project.project_id,
        cloud_name="aws-eu-central-1",
        network_cidr="192.168.6.0/24")
    example = aiven.TransitGatewayVpcAttachment("example",
        vpc_id=example_project_vpc.id,
        peer_cloud_account="123456789012",
        peer_vpc="tgw-0123456789abcdef0",
        peer_region="us-east-1",
        user_peer_network_cidrs=["192.168.6.0/24"])
    
    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
    		}
    		exampleOrganizationAddress, err := aiven.NewOrganizationAddress(ctx, "example", &aiven.OrganizationAddressArgs{
    			OrganizationId: exampleOrganization.ID().ToIDOutput().ToStringOutput(),
    			AddressLines: pulumi.StringArray{
    				pulumi.String("Street 1"),
    				pulumi.String("Street 2"),
    			},
    			City:        pulumi.String("Helsinki"),
    			CountryCode: pulumi.String("FI"),
    			Name:        pulumi.String("Aiven Oy"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleOrganizationBillingGroup, err := aiven.NewOrganizationBillingGroup(ctx, "example", &aiven.OrganizationBillingGroupArgs{
    			PaymentMethod: &aiven.OrganizationBillingGroupPaymentMethodArgs{
    				PaymentMethodId:   pulumi.String("pm4b1ff1ceeaa"),
    				PaymentMethodType: pulumi.String("credit_card"),
    			},
    			BillingContactEmails: aiven.OrganizationBillingGroupBillingContactEmailArray{
    				&aiven.OrganizationBillingGroupBillingContactEmailArgs{
    					Email: pulumi.String("jane@example.com"),
    				},
    			},
    			BillingEmails: aiven.OrganizationBillingGroupBillingEmailArray{
    				&aiven.OrganizationBillingGroupBillingEmailArgs{
    					Email: pulumi.String("jane@example.com"),
    				},
    			},
    			OrganizationId:    exampleOrganization.ID().ToIDOutput().ToStringOutput(),
    			BillingAddressId:  exampleOrganizationAddress.AddressId,
    			ShippingAddressId: exampleOrganizationAddress.AddressId,
    			BillingGroupName:  pulumi.String("Default billing group for the organization"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleOrganizationProject, err := aiven.NewOrganizationProject(ctx, "example", &aiven.OrganizationProjectArgs{
    			OrganizationId: exampleOrganization.ID().ToIDOutput().ToStringOutput(),
    			ProjectId:      pulumi.String("project-1"),
    			BillingGroupId: exampleOrganizationBillingGroup.BillingGroupId,
    			ParentId:       exampleOrganization.ID().ToIDOutput().ToStringOutput(),
    		})
    		if err != nil {
    			return err
    		}
    		exampleProjectVpc, err := aiven.NewProjectVpc(ctx, "example", &aiven.ProjectVpcArgs{
    			Project:     exampleOrganizationProject.ProjectId,
    			CloudName:   pulumi.String("aws-eu-central-1"),
    			NetworkCidr: pulumi.String("192.168.6.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aiven.NewTransitGatewayVpcAttachment(ctx, "example", &aiven.TransitGatewayVpcAttachmentArgs{
    			VpcId:            exampleProjectVpc.ID().ToIDOutput().ToStringOutput(),
    			PeerCloudAccount: pulumi.String("123456789012"),
    			PeerVpc:          pulumi.String("tgw-0123456789abcdef0"),
    			PeerRegion:       pulumi.String("us-east-1"),
    			UserPeerNetworkCidrs: pulumi.StringArray{
    				pulumi.String("192.168.6.0/24"),
    			},
    		})
    		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 exampleOrganizationAddress = new Aiven.OrganizationAddress("example", new()
        {
            OrganizationId = exampleOrganization.Id,
            AddressLines = new[]
            {
                "Street 1",
                "Street 2",
            },
            City = "Helsinki",
            CountryCode = "FI",
            Name = "Aiven Oy",
        });
    
        var exampleOrganizationBillingGroup = new Aiven.OrganizationBillingGroup("example", new()
        {
            PaymentMethod = new Aiven.Inputs.OrganizationBillingGroupPaymentMethodArgs
            {
                PaymentMethodId = "pm4b1ff1ceeaa",
                PaymentMethodType = "credit_card",
            },
            BillingContactEmails = new[]
            {
                new Aiven.Inputs.OrganizationBillingGroupBillingContactEmailArgs
                {
                    Email = "jane@example.com",
                },
            },
            BillingEmails = new[]
            {
                new Aiven.Inputs.OrganizationBillingGroupBillingEmailArgs
                {
                    Email = "jane@example.com",
                },
            },
            OrganizationId = exampleOrganization.Id,
            BillingAddressId = exampleOrganizationAddress.AddressId,
            ShippingAddressId = exampleOrganizationAddress.AddressId,
            BillingGroupName = "Default billing group for the organization",
        });
    
        var exampleOrganizationProject = new Aiven.OrganizationProject("example", new()
        {
            OrganizationId = exampleOrganization.Id,
            ProjectId = "project-1",
            BillingGroupId = exampleOrganizationBillingGroup.BillingGroupId,
            ParentId = exampleOrganization.Id,
        });
    
        var exampleProjectVpc = new Aiven.ProjectVpc("example", new()
        {
            Project = exampleOrganizationProject.ProjectId,
            CloudName = "aws-eu-central-1",
            NetworkCidr = "192.168.6.0/24",
        });
    
        var example = new Aiven.TransitGatewayVpcAttachment("example", new()
        {
            VpcId = exampleProjectVpc.Id,
            PeerCloudAccount = "123456789012",
            PeerVpc = "tgw-0123456789abcdef0",
            PeerRegion = "us-east-1",
            UserPeerNetworkCidrs = new[]
            {
                "192.168.6.0/24",
            },
        });
    
    });
    
    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.OrganizationAddress;
    import com.pulumi.aiven.OrganizationAddressArgs;
    import com.pulumi.aiven.OrganizationBillingGroup;
    import com.pulumi.aiven.OrganizationBillingGroupArgs;
    import com.pulumi.aiven.inputs.OrganizationBillingGroupPaymentMethodArgs;
    import com.pulumi.aiven.inputs.OrganizationBillingGroupBillingContactEmailArgs;
    import com.pulumi.aiven.inputs.OrganizationBillingGroupBillingEmailArgs;
    import com.pulumi.aiven.OrganizationProject;
    import com.pulumi.aiven.OrganizationProjectArgs;
    import com.pulumi.aiven.ProjectVpc;
    import com.pulumi.aiven.ProjectVpcArgs;
    import com.pulumi.aiven.TransitGatewayVpcAttachment;
    import com.pulumi.aiven.TransitGatewayVpcAttachmentArgs;
    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 exampleOrganizationAddress = new OrganizationAddress("exampleOrganizationAddress", OrganizationAddressArgs.builder()
                .organizationId(exampleOrganization.id())
                .addressLines(            
                    "Street 1",
                    "Street 2")
                .city("Helsinki")
                .countryCode("FI")
                .name("Aiven Oy")
                .build());
    
            var exampleOrganizationBillingGroup = new OrganizationBillingGroup("exampleOrganizationBillingGroup", OrganizationBillingGroupArgs.builder()
                .paymentMethod(OrganizationBillingGroupPaymentMethodArgs.builder()
                    .paymentMethodId("pm4b1ff1ceeaa")
                    .paymentMethodType("credit_card")
                    .build())
                .billingContactEmails(OrganizationBillingGroupBillingContactEmailArgs.builder()
                    .email("jane@example.com")
                    .build())
                .billingEmails(OrganizationBillingGroupBillingEmailArgs.builder()
                    .email("jane@example.com")
                    .build())
                .organizationId(exampleOrganization.id())
                .billingAddressId(exampleOrganizationAddress.addressId())
                .shippingAddressId(exampleOrganizationAddress.addressId())
                .billingGroupName("Default billing group for the organization")
                .build());
    
            var exampleOrganizationProject = new OrganizationProject("exampleOrganizationProject", OrganizationProjectArgs.builder()
                .organizationId(exampleOrganization.id())
                .projectId("project-1")
                .billingGroupId(exampleOrganizationBillingGroup.billingGroupId())
                .parentId(exampleOrganization.id())
                .build());
    
            var exampleProjectVpc = new ProjectVpc("exampleProjectVpc", ProjectVpcArgs.builder()
                .project(exampleOrganizationProject.projectId())
                .cloudName("aws-eu-central-1")
                .networkCidr("192.168.6.0/24")
                .build());
    
            var example = new TransitGatewayVpcAttachment("example", TransitGatewayVpcAttachmentArgs.builder()
                .vpcId(exampleProjectVpc.id())
                .peerCloudAccount("123456789012")
                .peerVpc("tgw-0123456789abcdef0")
                .peerRegion("us-east-1")
                .userPeerNetworkCidrs("192.168.6.0/24")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aiven:TransitGatewayVpcAttachment
        properties:
          vpcId: ${exampleProjectVpc.id}
          peerCloudAccount: '123456789012'
          peerVpc: tgw-0123456789abcdef0
          peerRegion: us-east-1
          userPeerNetworkCidrs: # /* COMPUTED FIELDS
          #   id                    = "example-project/example-vpc/123456789012/tgw-0123456789abcdef0/us-east-1"
          #   peering_connection_id = "pcx-0123456789abcdef0"
          #   state                 = "ACTIVE"
          #   state_info = {
          #     foo = "foo"
          #   }
          #   */
            - 192.168.6.0/24
      exampleProjectVpc:
        type: aiven:ProjectVpc
        name: example
        properties:
          project: ${exampleOrganizationProject.projectId}
          cloudName: aws-eu-central-1
          networkCidr: 192.168.6.0/24
      exampleOrganizationProject:
        type: aiven:OrganizationProject
        name: example
        properties:
          organizationId: ${exampleOrganization.id}
          projectId: project-1
          billingGroupId: ${exampleOrganizationBillingGroup.billingGroupId}
          parentId: ${exampleOrganization.id}
      exampleOrganizationBillingGroup:
        type: aiven:OrganizationBillingGroup
        name: example
        properties:
          paymentMethod:
            paymentMethodId: pm4b1ff1ceeaa
            paymentMethodType: credit_card
          billingContactEmails:
            - email: jane@example.com
          billingEmails:
            - email: jane@example.com
          organizationId: ${exampleOrganization.id}
          billingAddressId: ${exampleOrganizationAddress.addressId}
          shippingAddressId: ${exampleOrganizationAddress.addressId}
          billingGroupName: Default billing group for the organization
      exampleOrganizationAddress:
        type: aiven:OrganizationAddress
        name: example
        properties:
          organizationId: ${exampleOrganization.id}
          addressLines:
            - Street 1
            - Street 2
          city: Helsinki
          countryCode: FI
          name: Aiven Oy
      exampleOrganization:
        type: aiven:Organization
        name: example
        properties:
          name: Aiven Ltd
    
    terraform {
      required_providers {
        aiven = {
          source = "pulumi/aiven"
        }
      }
    }
    
    resource "aiven_transit_gateway_vpc_attachment" "example" {
      lifecycle {
        create_before_destroy = true
      }
      vpc_id                  = aiven_project_vpc.example.id
      peer_cloud_account      = "123456789012"
      peer_vpc                = "tgw-0123456789abcdef0"
      peer_region             = "us-east-1"
      user_peer_network_cidrs = ["192.168.6.0/24"]
    }
    resource "aiven_project_vpc" "example" {
      lifecycle {
        create_before_destroy = true
      }
      project      = aiven_organization_project.example.project_id
      cloud_name   = "aws-eu-central-1"
      network_cidr = "192.168.6.0/24"
    }
    resource "aiven_organization_project" "example" {
      lifecycle {
        create_before_destroy = true
      }
      organization_id  = aiven_organization.example.id
      project_id       = "project-1"
      billing_group_id = aiven_organization_billing_group.example.billing_group_id
      parent_id        = aiven_organization.example.id
    }
    resource "aiven_organization_billing_group" "example" {
      lifecycle {
        create_before_destroy = true
      }
      payment_method = {
        payment_method_id   = "pm4b1ff1ceeaa"
        payment_method_type = "credit_card"
      }
      billing_contact_emails {
        email = "jane@example.com"
      }
      billing_emails {
        email = "jane@example.com"
      }
      organization_id     = aiven_organization.example.id
      billing_address_id  = aiven_organization_address.example.address_id
      shipping_address_id = aiven_organization_address.example.address_id
      billing_group_name  = "Default billing group for the organization"
    }
    resource "aiven_organization_address" "example" {
      lifecycle {
        create_before_destroy = true
      }
      organization_id = aiven_organization.example.id
      address_lines   = ["Street 1", "Street 2"]
      city            = "Helsinki"
      country_code    = "FI"
      name            = "Aiven Oy"
    }
    resource "aiven_organization" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name = "Aiven Ltd"
    }
    

    Create TransitGatewayVpcAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransitGatewayVpcAttachment(name: string, args: TransitGatewayVpcAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def TransitGatewayVpcAttachment(resource_name: str,
                                    args: TransitGatewayVpcAttachmentArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitGatewayVpcAttachment(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    peer_cloud_account: Optional[str] = None,
                                    peer_vpc: Optional[str] = None,
                                    vpc_id: Optional[str] = None,
                                    peer_region: Optional[str] = None,
                                    timeouts: Optional[TransitGatewayVpcAttachmentTimeoutsArgs] = None,
                                    user_peer_network_cidrs: Optional[Sequence[str]] = None)
    func NewTransitGatewayVpcAttachment(ctx *Context, name string, args TransitGatewayVpcAttachmentArgs, opts ...ResourceOption) (*TransitGatewayVpcAttachment, error)
    public TransitGatewayVpcAttachment(string name, TransitGatewayVpcAttachmentArgs args, CustomResourceOptions? opts = null)
    public TransitGatewayVpcAttachment(String name, TransitGatewayVpcAttachmentArgs args)
    public TransitGatewayVpcAttachment(String name, TransitGatewayVpcAttachmentArgs args, CustomResourceOptions options)
    
    type: aiven:TransitGatewayVpcAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aiven_transit_gateway_vpc_attachment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TransitGatewayVpcAttachmentArgs
    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 TransitGatewayVpcAttachmentArgs
    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 TransitGatewayVpcAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitGatewayVpcAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitGatewayVpcAttachmentArgs
    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 transitGatewayVpcAttachmentResource = new Aiven.TransitGatewayVpcAttachment("transitGatewayVpcAttachmentResource", new()
    {
        PeerCloudAccount = "string",
        PeerVpc = "string",
        VpcId = "string",
        PeerRegion = "string",
        Timeouts = new Aiven.Inputs.TransitGatewayVpcAttachmentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        UserPeerNetworkCidrs = new[]
        {
            "string",
        },
    });
    
    example, err := aiven.NewTransitGatewayVpcAttachment(ctx, "transitGatewayVpcAttachmentResource", &aiven.TransitGatewayVpcAttachmentArgs{
    	PeerCloudAccount: pulumi.String("string"),
    	PeerVpc:          pulumi.String("string"),
    	VpcId:            pulumi.String("string"),
    	PeerRegion:       pulumi.String("string"),
    	Timeouts: &aiven.TransitGatewayVpcAttachmentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UserPeerNetworkCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "aiven_transit_gateway_vpc_attachment" "transitGatewayVpcAttachmentResource" {
      lifecycle {
        create_before_destroy = true
      }
      peer_cloud_account = "string"
      peer_vpc           = "string"
      vpc_id             = "string"
      peer_region        = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
      user_peer_network_cidrs = ["string"]
    }
    
    var transitGatewayVpcAttachmentResource = new TransitGatewayVpcAttachment("transitGatewayVpcAttachmentResource", TransitGatewayVpcAttachmentArgs.builder()
        .peerCloudAccount("string")
        .peerVpc("string")
        .vpcId("string")
        .peerRegion("string")
        .timeouts(TransitGatewayVpcAttachmentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .userPeerNetworkCidrs("string")
        .build());
    
    transit_gateway_vpc_attachment_resource = aiven.TransitGatewayVpcAttachment("transitGatewayVpcAttachmentResource",
        peer_cloud_account="string",
        peer_vpc="string",
        vpc_id="string",
        peer_region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        user_peer_network_cidrs=["string"])
    
    const transitGatewayVpcAttachmentResource = new aiven.TransitGatewayVpcAttachment("transitGatewayVpcAttachmentResource", {
        peerCloudAccount: "string",
        peerVpc: "string",
        vpcId: "string",
        peerRegion: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        userPeerNetworkCidrs: ["string"],
    });
    
    type: aiven:TransitGatewayVpcAttachment
    properties:
        peerCloudAccount: string
        peerRegion: string
        peerVpc: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        userPeerNetworkCidrs:
            - string
        vpcId: string
    

    TransitGatewayVpcAttachment 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 TransitGatewayVpcAttachment resource accepts the following input properties:

    PeerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    VpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    PeerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    Timeouts TransitGatewayVpcAttachmentTimeouts
    UserPeerNetworkCidrs List<string>
    List of private IPv4 ranges to route through the peering connection.
    PeerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    VpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    PeerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    Timeouts TransitGatewayVpcAttachmentTimeoutsArgs
    UserPeerNetworkCidrs []string
    List of private IPv4 ranges to route through the peering connection.
    peer_cloud_account string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_vpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    vpc_id string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peer_region string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    timeouts object
    user_peer_network_cidrs list(string)
    List of private IPv4 ranges to route through the peering connection.
    peerCloudAccount String
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc String
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    vpcId String
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerRegion String
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    timeouts TransitGatewayVpcAttachmentTimeouts
    userPeerNetworkCidrs List<String>
    List of private IPv4 ranges to route through the peering connection.
    peerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    vpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    timeouts TransitGatewayVpcAttachmentTimeouts
    userPeerNetworkCidrs string[]
    List of private IPv4 ranges to route through the peering connection.
    peer_cloud_account str
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_vpc str
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    vpc_id str
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peer_region str
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    timeouts TransitGatewayVpcAttachmentTimeoutsArgs
    user_peer_network_cidrs Sequence[str]
    List of private IPv4 ranges to route through the peering connection.
    peerCloudAccount String
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc String
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    vpcId String
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerRegion String
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    timeouts Property Map
    userPeerNetworkCidrs List<String>
    List of private IPv4 ranges to route through the peering connection.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    PeeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    State string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    StateInfo Dictionary<string, string>
    State-specific help or error information.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    State string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    StateInfo map[string]string
    State-specific help or error information.
    id string
    The provider-assigned unique ID for this managed resource.
    peering_connection_id string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    state_info map(string)
    State-specific help or error information.
    id String
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId String
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state String
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo Map<String,String>
    State-specific help or error information.
    id string
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo {[key: string]: string}
    State-specific help or error information.
    id str
    The provider-assigned unique ID for this managed resource.
    peering_connection_id str
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state str
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    state_info Mapping[str, str]
    State-specific help or error information.
    id String
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId String
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state String
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo Map<String>
    State-specific help or error information.

    Look up Existing TransitGatewayVpcAttachment Resource

    Get an existing TransitGatewayVpcAttachment 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?: TransitGatewayVpcAttachmentState, opts?: CustomResourceOptions): TransitGatewayVpcAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            peer_cloud_account: Optional[str] = None,
            peer_region: Optional[str] = None,
            peer_vpc: Optional[str] = None,
            peering_connection_id: Optional[str] = None,
            state: Optional[str] = None,
            state_info: Optional[Mapping[str, str]] = None,
            timeouts: Optional[TransitGatewayVpcAttachmentTimeoutsArgs] = None,
            user_peer_network_cidrs: Optional[Sequence[str]] = None,
            vpc_id: Optional[str] = None) -> TransitGatewayVpcAttachment
    func GetTransitGatewayVpcAttachment(ctx *Context, name string, id IDInput, state *TransitGatewayVpcAttachmentState, opts ...ResourceOption) (*TransitGatewayVpcAttachment, error)
    public static TransitGatewayVpcAttachment Get(string name, Input<string> id, TransitGatewayVpcAttachmentState? state, CustomResourceOptions? opts = null)
    public static TransitGatewayVpcAttachment get(String name, Output<String> id, TransitGatewayVpcAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: aiven:TransitGatewayVpcAttachment    get:      id: ${id}
    import {
      to = aiven_transit_gateway_vpc_attachment.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.
    The following state arguments are supported:
    PeerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    State string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    StateInfo Dictionary<string, string>
    State-specific help or error information.
    Timeouts TransitGatewayVpcAttachmentTimeouts
    UserPeerNetworkCidrs List<string>
    List of private IPv4 ranges to route through the peering connection.
    VpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    PeerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    PeeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    State string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    StateInfo map[string]string
    State-specific help or error information.
    Timeouts TransitGatewayVpcAttachmentTimeoutsArgs
    UserPeerNetworkCidrs []string
    List of private IPv4 ranges to route through the peering connection.
    VpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peer_cloud_account string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_region string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_vpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    peering_connection_id string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    state_info map(string)
    State-specific help or error information.
    timeouts object
    user_peer_network_cidrs list(string)
    List of private IPv4 ranges to route through the peering connection.
    vpc_id string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerCloudAccount String
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerRegion String
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc String
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    peeringConnectionId String
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state String
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo Map<String,String>
    State-specific help or error information.
    timeouts TransitGatewayVpcAttachmentTimeouts
    userPeerNetworkCidrs List<String>
    List of private IPv4 ranges to route through the peering connection.
    vpcId String
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerCloudAccount string
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerRegion string
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc string
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    peeringConnectionId string
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state string
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo {[key: string]: string}
    State-specific help or error information.
    timeouts TransitGatewayVpcAttachmentTimeouts
    userPeerNetworkCidrs string[]
    List of private IPv4 ranges to route through the peering connection.
    vpcId string
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peer_cloud_account str
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_region str
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    peer_vpc str
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    peering_connection_id str
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state str
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    state_info Mapping[str, str]
    State-specific help or error information.
    timeouts TransitGatewayVpcAttachmentTimeoutsArgs
    user_peer_network_cidrs Sequence[str]
    List of private IPv4 ranges to route through the peering connection.
    vpc_id str
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.
    peerCloudAccount String
    AWS account ID that owns the Transit Gateway. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerRegion String
    AWS region of the Transit Gateway. When omitted, the Aiven project VPC region is used. Maximum length: 1024. Changing this property forces recreation of the resource.
    peerVpc String
    AWS Transit Gateway ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    peeringConnectionId String
    Legacy AWS VPC peering connection ID (pcx-*) for ordinary AWS VPC peering connections, if available. This is not the AWS Transit Gateway attachment ID; TGW attachment details are exposed in stateInfo.
    state String
    Project VPC peering connection state. The possible values are ACTIVE, APPROVED, APPROVED_PEER_REQUESTED, DELETED, DELETED_BY_PEER, DELETING, ERROR, INVALID_SPECIFICATION, PENDING_PEER and REJECTED_BY_PEER.
    stateInfo Map<String>
    State-specific help or error information.
    timeouts Property Map
    userPeerNetworkCidrs List<String>
    List of private IPv4 ranges to route through the peering connection.
    vpcId String
    Aiven project VPC ID in the PROJECT/VPC_ID format. Changing this property forces recreation of the resource.

    Supporting Types

    TransitGatewayVpcAttachmentTimeouts, TransitGatewayVpcAttachmentTimeoutsArgs

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    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

    Import is supported using one of the following formats:

    $ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment example PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC
    $ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment example PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION
    

    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 aiven Terraform Provider.
    aiven logo aiven logo
    Viewing docs for Aiven v6.62.0
    published on Thursday, Oct 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial