1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixTransitGatewayPeering
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixTransitGatewayPeering

Explore with Pulumi AI

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    The aviatrix_transit_gateway_peering resource allows the creation and management of peerings between Aviatrix transit gateways.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix Transit Gateway Peering
        var testTransitGatewayPeering = new Aviatrix.AviatrixTransitGatewayPeering("testTransitGatewayPeering", new()
        {
            EnableInsaneModeEncryptionOverInternet = false,
            EnablePeeringOverPrivateNetwork = false,
            Gateway1ExcludedNetworkCidrs = new[]
            {
                "10.0.0.48/28",
            },
            Gateway1ExcludedTgwConnections = new[]
            {
                "vpn_connection_a",
            },
            Gateway2ExcludedNetworkCidrs = new[]
            {
                "10.0.0.48/28",
            },
            Gateway2ExcludedTgwConnections = new[]
            {
                "vpn_connection_b",
            },
            PrependAsPath1s = new[]
            {
                "65001",
                "65001",
                "65001",
            },
            PrependAsPath2s = new[]
            {
                "65002",
            },
            TransitGatewayName1 = "transit-Gw1",
            TransitGatewayName2 = "transit-Gw2",
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aviatrix.NewAviatrixTransitGatewayPeering(ctx, "testTransitGatewayPeering", &aviatrix.AviatrixTransitGatewayPeeringArgs{
    			EnableInsaneModeEncryptionOverInternet: pulumi.Bool(false),
    			EnablePeeringOverPrivateNetwork:        pulumi.Bool(false),
    			Gateway1ExcludedNetworkCidrs: pulumi.StringArray{
    				pulumi.String("10.0.0.48/28"),
    			},
    			Gateway1ExcludedTgwConnections: pulumi.StringArray{
    				pulumi.String("vpn_connection_a"),
    			},
    			Gateway2ExcludedNetworkCidrs: pulumi.StringArray{
    				pulumi.String("10.0.0.48/28"),
    			},
    			Gateway2ExcludedTgwConnections: pulumi.StringArray{
    				pulumi.String("vpn_connection_b"),
    			},
    			PrependAsPath1s: pulumi.StringArray{
    				pulumi.String("65001"),
    				pulumi.String("65001"),
    				pulumi.String("65001"),
    			},
    			PrependAsPath2s: pulumi.StringArray{
    				pulumi.String("65002"),
    			},
    			TransitGatewayName1: pulumi.String("transit-Gw1"),
    			TransitGatewayName2: pulumi.String("transit-Gw2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixTransitGatewayPeering;
    import com.pulumi.aviatrix.AviatrixTransitGatewayPeeringArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testTransitGatewayPeering = new AviatrixTransitGatewayPeering("testTransitGatewayPeering", AviatrixTransitGatewayPeeringArgs.builder()        
                .enableInsaneModeEncryptionOverInternet(false)
                .enablePeeringOverPrivateNetwork(false)
                .gateway1ExcludedNetworkCidrs("10.0.0.48/28")
                .gateway1ExcludedTgwConnections("vpn_connection_a")
                .gateway2ExcludedNetworkCidrs("10.0.0.48/28")
                .gateway2ExcludedTgwConnections("vpn_connection_b")
                .prependAsPath1s(            
                    "65001",
                    "65001",
                    "65001")
                .prependAsPath2s("65002")
                .transitGatewayName1("transit-Gw1")
                .transitGatewayName2("transit-Gw2")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix Transit Gateway Peering
    test_transit_gateway_peering = aviatrix.AviatrixTransitGatewayPeering("testTransitGatewayPeering",
        enable_insane_mode_encryption_over_internet=False,
        enable_peering_over_private_network=False,
        gateway1_excluded_network_cidrs=["10.0.0.48/28"],
        gateway1_excluded_tgw_connections=["vpn_connection_a"],
        gateway2_excluded_network_cidrs=["10.0.0.48/28"],
        gateway2_excluded_tgw_connections=["vpn_connection_b"],
        prepend_as_path1s=[
            "65001",
            "65001",
            "65001",
        ],
        prepend_as_path2s=["65002"],
        transit_gateway_name1="transit-Gw1",
        transit_gateway_name2="transit-Gw2")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix Transit Gateway Peering
    const testTransitGatewayPeering = new aviatrix.AviatrixTransitGatewayPeering("test_transit_gateway_peering", {
        enableInsaneModeEncryptionOverInternet: false,
        enablePeeringOverPrivateNetwork: false,
        gateway1ExcludedNetworkCidrs: ["10.0.0.48/28"],
        gateway1ExcludedTgwConnections: ["vpn_connection_a"],
        gateway2ExcludedNetworkCidrs: ["10.0.0.48/28"],
        gateway2ExcludedTgwConnections: ["vpn_connection_b"],
        prependAsPath1s: [
            "65001",
            "65001",
            "65001",
        ],
        prependAsPath2s: ["65002"],
        transitGatewayName1: "transit-Gw1",
        transitGatewayName2: "transit-Gw2",
    });
    
    resources:
      # Create an Aviatrix Transit Gateway Peering
      testTransitGatewayPeering:
        type: aviatrix:AviatrixTransitGatewayPeering
        properties:
          enableInsaneModeEncryptionOverInternet: false
          enablePeeringOverPrivateNetwork: false
          gateway1ExcludedNetworkCidrs:
            - 10.0.0.48/28
          gateway1ExcludedTgwConnections:
            - vpn_connection_a
          gateway2ExcludedNetworkCidrs:
            - 10.0.0.48/28
          gateway2ExcludedTgwConnections:
            - vpn_connection_b
          prependAsPath1s:
            - '65001'
            - '65001'
            - '65001'
          prependAsPath2s:
            - '65002'
          transitGatewayName1: transit-Gw1
          transitGatewayName2: transit-Gw2
    

    Create AviatrixTransitGatewayPeering Resource

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

    Constructor syntax

    new AviatrixTransitGatewayPeering(name: string, args: AviatrixTransitGatewayPeeringArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixTransitGatewayPeering(resource_name: str,
                                      args: AviatrixTransitGatewayPeeringArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixTransitGatewayPeering(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      transit_gateway_name1: Optional[str] = None,
                                      transit_gateway_name2: Optional[str] = None,
                                      gateway2_excluded_network_cidrs: Optional[Sequence[str]] = None,
                                      enable_single_tunnel_mode: Optional[bool] = None,
                                      gateway1_excluded_network_cidrs: Optional[Sequence[str]] = None,
                                      gateway1_excluded_tgw_connections: Optional[Sequence[str]] = None,
                                      enable_insane_mode_encryption_over_internet: Optional[bool] = None,
                                      gateway2_excluded_tgw_connections: Optional[Sequence[str]] = None,
                                      prepend_as_path1s: Optional[Sequence[str]] = None,
                                      prepend_as_path2s: Optional[Sequence[str]] = None,
                                      enable_peering_over_private_network: Optional[bool] = None,
                                      enable_max_performance: Optional[bool] = None,
                                      tunnel_count: Optional[int] = None)
    func NewAviatrixTransitGatewayPeering(ctx *Context, name string, args AviatrixTransitGatewayPeeringArgs, opts ...ResourceOption) (*AviatrixTransitGatewayPeering, error)
    public AviatrixTransitGatewayPeering(string name, AviatrixTransitGatewayPeeringArgs args, CustomResourceOptions? opts = null)
    public AviatrixTransitGatewayPeering(String name, AviatrixTransitGatewayPeeringArgs args)
    public AviatrixTransitGatewayPeering(String name, AviatrixTransitGatewayPeeringArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixTransitGatewayPeering
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AviatrixTransitGatewayPeeringArgs
    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 AviatrixTransitGatewayPeeringArgs
    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 AviatrixTransitGatewayPeeringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixTransitGatewayPeeringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixTransitGatewayPeeringArgs
    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 aviatrixTransitGatewayPeeringResource = new Aviatrix.AviatrixTransitGatewayPeering("aviatrixTransitGatewayPeeringResource", new()
    {
        TransitGatewayName1 = "string",
        TransitGatewayName2 = "string",
        Gateway2ExcludedNetworkCidrs = new[]
        {
            "string",
        },
        EnableSingleTunnelMode = false,
        Gateway1ExcludedNetworkCidrs = new[]
        {
            "string",
        },
        Gateway1ExcludedTgwConnections = new[]
        {
            "string",
        },
        EnableInsaneModeEncryptionOverInternet = false,
        Gateway2ExcludedTgwConnections = new[]
        {
            "string",
        },
        PrependAsPath1s = new[]
        {
            "string",
        },
        PrependAsPath2s = new[]
        {
            "string",
        },
        EnablePeeringOverPrivateNetwork = false,
        EnableMaxPerformance = false,
        TunnelCount = 0,
    });
    
    example, err := aviatrix.NewAviatrixTransitGatewayPeering(ctx, "aviatrixTransitGatewayPeeringResource", &aviatrix.AviatrixTransitGatewayPeeringArgs{
    	TransitGatewayName1: pulumi.String("string"),
    	TransitGatewayName2: pulumi.String("string"),
    	Gateway2ExcludedNetworkCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnableSingleTunnelMode: pulumi.Bool(false),
    	Gateway1ExcludedNetworkCidrs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Gateway1ExcludedTgwConnections: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnableInsaneModeEncryptionOverInternet: pulumi.Bool(false),
    	Gateway2ExcludedTgwConnections: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PrependAsPath1s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PrependAsPath2s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnablePeeringOverPrivateNetwork: pulumi.Bool(false),
    	EnableMaxPerformance:            pulumi.Bool(false),
    	TunnelCount:                     pulumi.Int(0),
    })
    
    var aviatrixTransitGatewayPeeringResource = new AviatrixTransitGatewayPeering("aviatrixTransitGatewayPeeringResource", AviatrixTransitGatewayPeeringArgs.builder()
        .transitGatewayName1("string")
        .transitGatewayName2("string")
        .gateway2ExcludedNetworkCidrs("string")
        .enableSingleTunnelMode(false)
        .gateway1ExcludedNetworkCidrs("string")
        .gateway1ExcludedTgwConnections("string")
        .enableInsaneModeEncryptionOverInternet(false)
        .gateway2ExcludedTgwConnections("string")
        .prependAsPath1s("string")
        .prependAsPath2s("string")
        .enablePeeringOverPrivateNetwork(false)
        .enableMaxPerformance(false)
        .tunnelCount(0)
        .build());
    
    aviatrix_transit_gateway_peering_resource = aviatrix.AviatrixTransitGatewayPeering("aviatrixTransitGatewayPeeringResource",
        transit_gateway_name1="string",
        transit_gateway_name2="string",
        gateway2_excluded_network_cidrs=["string"],
        enable_single_tunnel_mode=False,
        gateway1_excluded_network_cidrs=["string"],
        gateway1_excluded_tgw_connections=["string"],
        enable_insane_mode_encryption_over_internet=False,
        gateway2_excluded_tgw_connections=["string"],
        prepend_as_path1s=["string"],
        prepend_as_path2s=["string"],
        enable_peering_over_private_network=False,
        enable_max_performance=False,
        tunnel_count=0)
    
    const aviatrixTransitGatewayPeeringResource = new aviatrix.AviatrixTransitGatewayPeering("aviatrixTransitGatewayPeeringResource", {
        transitGatewayName1: "string",
        transitGatewayName2: "string",
        gateway2ExcludedNetworkCidrs: ["string"],
        enableSingleTunnelMode: false,
        gateway1ExcludedNetworkCidrs: ["string"],
        gateway1ExcludedTgwConnections: ["string"],
        enableInsaneModeEncryptionOverInternet: false,
        gateway2ExcludedTgwConnections: ["string"],
        prependAsPath1s: ["string"],
        prependAsPath2s: ["string"],
        enablePeeringOverPrivateNetwork: false,
        enableMaxPerformance: false,
        tunnelCount: 0,
    });
    
    type: aviatrix:AviatrixTransitGatewayPeering
    properties:
        enableInsaneModeEncryptionOverInternet: false
        enableMaxPerformance: false
        enablePeeringOverPrivateNetwork: false
        enableSingleTunnelMode: false
        gateway1ExcludedNetworkCidrs:
            - string
        gateway1ExcludedTgwConnections:
            - string
        gateway2ExcludedNetworkCidrs:
            - string
        gateway2ExcludedTgwConnections:
            - string
        prependAsPath1s:
            - string
        prependAsPath2s:
            - string
        transitGatewayName1: string
        transitGatewayName2: string
        tunnelCount: 0
    

    AviatrixTransitGatewayPeering Resource Properties

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

    Inputs

    The AviatrixTransitGatewayPeering resource accepts the following input properties:

    TransitGatewayName1 string
    The first transit gateway name to make a peer pair.
    TransitGatewayName2 string
    The second transit gateway name to make a peer pair.
    EnableInsaneModeEncryptionOverInternet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    EnableMaxPerformance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    EnablePeeringOverPrivateNetwork bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    EnableSingleTunnelMode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    Gateway1ExcludedNetworkCidrs List<string>
    List of excluded network CIDRs for the first transit gateway.
    Gateway1ExcludedTgwConnections List<string>
    List of excluded TGW connections for the first transit gateway.
    Gateway2ExcludedNetworkCidrs List<string>
    List of excluded network CIDRs for the second transit gateway.
    Gateway2ExcludedTgwConnections List<string>
    List of excluded TGW connections for the second transit gateway.
    PrependAsPath1s List<string>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    PrependAsPath2s List<string>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    TunnelCount int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    TransitGatewayName1 string
    The first transit gateway name to make a peer pair.
    TransitGatewayName2 string
    The second transit gateway name to make a peer pair.
    EnableInsaneModeEncryptionOverInternet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    EnableMaxPerformance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    EnablePeeringOverPrivateNetwork bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    EnableSingleTunnelMode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    Gateway1ExcludedNetworkCidrs []string
    List of excluded network CIDRs for the first transit gateway.
    Gateway1ExcludedTgwConnections []string
    List of excluded TGW connections for the first transit gateway.
    Gateway2ExcludedNetworkCidrs []string
    List of excluded network CIDRs for the second transit gateway.
    Gateway2ExcludedTgwConnections []string
    List of excluded TGW connections for the second transit gateway.
    PrependAsPath1s []string
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    PrependAsPath2s []string
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    TunnelCount int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    transitGatewayName1 String
    The first transit gateway name to make a peer pair.
    transitGatewayName2 String
    The second transit gateway name to make a peer pair.
    enableInsaneModeEncryptionOverInternet Boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance Boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork Boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode Boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections List<String>
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections List<String>
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    tunnelCount Integer
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    transitGatewayName1 string
    The first transit gateway name to make a peer pair.
    transitGatewayName2 string
    The second transit gateway name to make a peer pair.
    enableInsaneModeEncryptionOverInternet boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs string[]
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections string[]
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs string[]
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections string[]
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s string[]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s string[]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    tunnelCount number
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    transit_gateway_name1 str
    The first transit gateway name to make a peer pair.
    transit_gateway_name2 str
    The second transit gateway name to make a peer pair.
    enable_insane_mode_encryption_over_internet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enable_max_performance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enable_peering_over_private_network bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enable_single_tunnel_mode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1_excluded_network_cidrs Sequence[str]
    List of excluded network CIDRs for the first transit gateway.
    gateway1_excluded_tgw_connections Sequence[str]
    List of excluded TGW connections for the first transit gateway.
    gateway2_excluded_network_cidrs Sequence[str]
    List of excluded network CIDRs for the second transit gateway.
    gateway2_excluded_tgw_connections Sequence[str]
    List of excluded TGW connections for the second transit gateway.
    prepend_as_path1s Sequence[str]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prepend_as_path2s Sequence[str]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    tunnel_count int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    transitGatewayName1 String
    The first transit gateway name to make a peer pair.
    transitGatewayName2 String
    The second transit gateway name to make a peer pair.
    enableInsaneModeEncryptionOverInternet Boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance Boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork Boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode Boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections List<String>
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections List<String>
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    tunnelCount Number
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AviatrixTransitGatewayPeering Resource

    Get an existing AviatrixTransitGatewayPeering 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?: AviatrixTransitGatewayPeeringState, opts?: CustomResourceOptions): AviatrixTransitGatewayPeering
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable_insane_mode_encryption_over_internet: Optional[bool] = None,
            enable_max_performance: Optional[bool] = None,
            enable_peering_over_private_network: Optional[bool] = None,
            enable_single_tunnel_mode: Optional[bool] = None,
            gateway1_excluded_network_cidrs: Optional[Sequence[str]] = None,
            gateway1_excluded_tgw_connections: Optional[Sequence[str]] = None,
            gateway2_excluded_network_cidrs: Optional[Sequence[str]] = None,
            gateway2_excluded_tgw_connections: Optional[Sequence[str]] = None,
            prepend_as_path1s: Optional[Sequence[str]] = None,
            prepend_as_path2s: Optional[Sequence[str]] = None,
            transit_gateway_name1: Optional[str] = None,
            transit_gateway_name2: Optional[str] = None,
            tunnel_count: Optional[int] = None) -> AviatrixTransitGatewayPeering
    func GetAviatrixTransitGatewayPeering(ctx *Context, name string, id IDInput, state *AviatrixTransitGatewayPeeringState, opts ...ResourceOption) (*AviatrixTransitGatewayPeering, error)
    public static AviatrixTransitGatewayPeering Get(string name, Input<string> id, AviatrixTransitGatewayPeeringState? state, CustomResourceOptions? opts = null)
    public static AviatrixTransitGatewayPeering get(String name, Output<String> id, AviatrixTransitGatewayPeeringState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EnableInsaneModeEncryptionOverInternet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    EnableMaxPerformance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    EnablePeeringOverPrivateNetwork bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    EnableSingleTunnelMode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    Gateway1ExcludedNetworkCidrs List<string>
    List of excluded network CIDRs for the first transit gateway.
    Gateway1ExcludedTgwConnections List<string>
    List of excluded TGW connections for the first transit gateway.
    Gateway2ExcludedNetworkCidrs List<string>
    List of excluded network CIDRs for the second transit gateway.
    Gateway2ExcludedTgwConnections List<string>
    List of excluded TGW connections for the second transit gateway.
    PrependAsPath1s List<string>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    PrependAsPath2s List<string>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    TransitGatewayName1 string
    The first transit gateway name to make a peer pair.
    TransitGatewayName2 string
    The second transit gateway name to make a peer pair.
    TunnelCount int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    EnableInsaneModeEncryptionOverInternet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    EnableMaxPerformance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    EnablePeeringOverPrivateNetwork bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    EnableSingleTunnelMode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    Gateway1ExcludedNetworkCidrs []string
    List of excluded network CIDRs for the first transit gateway.
    Gateway1ExcludedTgwConnections []string
    List of excluded TGW connections for the first transit gateway.
    Gateway2ExcludedNetworkCidrs []string
    List of excluded network CIDRs for the second transit gateway.
    Gateway2ExcludedTgwConnections []string
    List of excluded TGW connections for the second transit gateway.
    PrependAsPath1s []string
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    PrependAsPath2s []string
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    TransitGatewayName1 string
    The first transit gateway name to make a peer pair.
    TransitGatewayName2 string
    The second transit gateway name to make a peer pair.
    TunnelCount int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    enableInsaneModeEncryptionOverInternet Boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance Boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork Boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode Boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections List<String>
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections List<String>
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    transitGatewayName1 String
    The first transit gateway name to make a peer pair.
    transitGatewayName2 String
    The second transit gateway name to make a peer pair.
    tunnelCount Integer
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    enableInsaneModeEncryptionOverInternet boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs string[]
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections string[]
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs string[]
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections string[]
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s string[]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s string[]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    transitGatewayName1 string
    The first transit gateway name to make a peer pair.
    transitGatewayName2 string
    The second transit gateway name to make a peer pair.
    tunnelCount number
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    enable_insane_mode_encryption_over_internet bool
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enable_max_performance bool
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enable_peering_over_private_network bool
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enable_single_tunnel_mode bool
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1_excluded_network_cidrs Sequence[str]
    List of excluded network CIDRs for the first transit gateway.
    gateway1_excluded_tgw_connections Sequence[str]
    List of excluded TGW connections for the first transit gateway.
    gateway2_excluded_network_cidrs Sequence[str]
    List of excluded network CIDRs for the second transit gateway.
    gateway2_excluded_tgw_connections Sequence[str]
    List of excluded TGW connections for the second transit gateway.
    prepend_as_path1s Sequence[str]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prepend_as_path2s Sequence[str]
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    transit_gateway_name1 str
    The first transit gateway name to make a peer pair.
    transit_gateway_name2 str
    The second transit gateway name to make a peer pair.
    tunnel_count int
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.
    enableInsaneModeEncryptionOverInternet Boolean
    Advanced option. Enable Insane Mode Encryption over Internet. Transit gateways must be in Insane Mode. Currently, only inter-cloud connections between AWS and Azure are supported. Required with valid tunnel_count. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Boolean. Default: false. Available as of provider version R2.19+.
    enableMaxPerformance Boolean
    Indicates whether the maximum amount of HPE tunnels will be created. Only valid when the two transit gateways are each launched in Insane Mode and in the same cloud type. Default value: true. Available as of provider version R2.22.2+.
    enablePeeringOverPrivateNetwork Boolean
    Advanced option. Enable peering over private network. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available in provider version R2.17.1+.
    enableSingleTunnelMode Boolean
    Advanced option. Enable peering with Single-Tunnel mode. Only appears and applies to when the two Multi-cloud Transit Gateways are each launched in Insane Mode and in a different cloud type. Required with enable_peering_over_private_network. Conflicts with enable_insane_mode_encryption_over_internet and tunnel_count. Type: Boolean. Default: false. Available as of provider version R2.18+.
    gateway1ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the first transit gateway.
    gateway1ExcludedTgwConnections List<String>
    List of excluded TGW connections for the first transit gateway.
    gateway2ExcludedNetworkCidrs List<String>
    List of excluded network CIDRs for the second transit gateway.
    gateway2ExcludedTgwConnections List<String>
    List of excluded TGW connections for the second transit gateway.
    prependAsPath1s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name1. Available in provider version R2.17.2+.
    prependAsPath2s List<String>
    AS Path Prepend for BGP connection. Can only use the transit's own local AS number, repeated up to 25 times. Applies on transit_gateway_name2. Available in provider version R2.17.2+.
    transitGatewayName1 String
    The first transit gateway name to make a peer pair.
    transitGatewayName2 String
    The second transit gateway name to make a peer pair.
    tunnelCount Number
    Advanced option. Number of public tunnels. Required with enable_insane_mode_encryption_over_internet. Conflicts with enable_peering_over_private_network and enable_single_tunnel_mode. Type: Integer. Valid Range: 2-20. Available as of provider version R2.19+.

    Import

    transit_gateway_peering can be imported using the transit_gateway_name1 and transit_gateway_name2, e.g.

     $ pulumi import aviatrix:index/aviatrixTransitGatewayPeering:AviatrixTransitGatewayPeering test transit_gateway_name1~transit_gateway_name2
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    aviatrix astipkovits/pulumi-aviatrix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aviatrix Terraform Provider.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix