Creates and manages Scaleway Site-to-Site VPN Connections. A connection links a Scaleway VPN Gateway to a Customer Gateway and establishes an IPSec tunnel with BGP routing.
For more information, see the main documentation.
Example Usage
Basic Connection
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const vpc = new scaleway.network.Vpc("vpc", {name: "my-vpc"});
const pn = new scaleway.network.PrivateNetwork("pn", {
name: "my-private-network",
vpcId: vpc.id,
ipv4Subnet: {
subnet: "10.0.1.0/24",
},
});
const gateway = new scaleway.s2svpn.Gateway("gateway", {
name: "my-vpn-gateway",
gatewayType: "VGW-S",
privateNetworkId: pn.id,
});
const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
name: "my-customer-gateway",
ipv4Public: "203.0.113.1",
asn: 65000,
});
const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
name: "my-routing-policy",
prefixFilterIns: ["10.0.2.0/24"],
prefixFilterOuts: ["10.0.1.0/24"],
});
const main = new scaleway.s2svpn.Connection("main", {
name: "my-vpn-connection",
vpnGatewayId: gateway.id,
customerGatewayId: customerGw.id,
initiationPolicy: "customer_gateway",
enableRoutePropagation: true,
bgpConfigIpv4s: [{
routingPolicyId: policy.id,
privateIp: "169.254.0.1/30",
peerPrivateIp: "169.254.0.2/30",
}],
ikev2Ciphers: [{
encryption: "aes256",
integrity: "sha256",
dhGroup: "modp2048",
}],
espCiphers: [{
encryption: "aes256",
integrity: "sha256",
dhGroup: "modp2048",
}],
});
import pulumi
import pulumiverse_scaleway as scaleway
vpc = scaleway.network.Vpc("vpc", name="my-vpc")
pn = scaleway.network.PrivateNetwork("pn",
name="my-private-network",
vpc_id=vpc.id,
ipv4_subnet={
"subnet": "10.0.1.0/24",
})
gateway = scaleway.s2svpn.Gateway("gateway",
name="my-vpn-gateway",
gateway_type="VGW-S",
private_network_id=pn.id)
customer_gw = scaleway.s2svpn.CustomerGateway("customer_gw",
name="my-customer-gateway",
ipv4_public="203.0.113.1",
asn=65000)
policy = scaleway.s2svpn.RoutingPolicy("policy",
name="my-routing-policy",
prefix_filter_ins=["10.0.2.0/24"],
prefix_filter_outs=["10.0.1.0/24"])
main = scaleway.s2svpn.Connection("main",
name="my-vpn-connection",
vpn_gateway_id=gateway.id,
customer_gateway_id=customer_gw.id,
initiation_policy="customer_gateway",
enable_route_propagation=True,
bgp_config_ipv4s=[{
"routing_policy_id": policy.id,
"private_ip": "169.254.0.1/30",
"peer_private_ip": "169.254.0.2/30",
}],
ikev2_ciphers=[{
"encryption": "aes256",
"integrity": "sha256",
"dh_group": "modp2048",
}],
esp_ciphers=[{
"encryption": "aes256",
"integrity": "sha256",
"dh_group": "modp2048",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/network"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/s2svpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := network.NewVpc(ctx, "vpc", &network.VpcArgs{
Name: pulumi.String("my-vpc"),
})
if err != nil {
return err
}
pn, err := network.NewPrivateNetwork(ctx, "pn", &network.PrivateNetworkArgs{
Name: pulumi.String("my-private-network"),
VpcId: vpc.ID(),
Ipv4Subnet: &network.PrivateNetworkIpv4SubnetArgs{
Subnet: pulumi.String("10.0.1.0/24"),
},
})
if err != nil {
return err
}
gateway, err := s2svpn.NewGateway(ctx, "gateway", &s2svpn.GatewayArgs{
Name: pulumi.String("my-vpn-gateway"),
GatewayType: pulumi.String("VGW-S"),
PrivateNetworkId: pn.ID(),
})
if err != nil {
return err
}
customerGw, err := s2svpn.NewCustomerGateway(ctx, "customer_gw", &s2svpn.CustomerGatewayArgs{
Name: pulumi.String("my-customer-gateway"),
Ipv4Public: pulumi.String("203.0.113.1"),
Asn: pulumi.Int(65000),
})
if err != nil {
return err
}
policy, err := s2svpn.NewRoutingPolicy(ctx, "policy", &s2svpn.RoutingPolicyArgs{
Name: pulumi.String("my-routing-policy"),
PrefixFilterIns: pulumi.StringArray{
pulumi.String("10.0.2.0/24"),
},
PrefixFilterOuts: pulumi.StringArray{
pulumi.String("10.0.1.0/24"),
},
})
if err != nil {
return err
}
_, err = s2svpn.NewConnection(ctx, "main", &s2svpn.ConnectionArgs{
Name: pulumi.String("my-vpn-connection"),
VpnGatewayId: gateway.ID(),
CustomerGatewayId: customerGw.ID(),
InitiationPolicy: pulumi.String("customer_gateway"),
EnableRoutePropagation: pulumi.Bool(true),
BgpConfigIpv4s: s2svpn.ConnectionBgpConfigIpv4Array{
&s2svpn.ConnectionBgpConfigIpv4Args{
RoutingPolicyId: policy.ID(),
PrivateIp: pulumi.String("169.254.0.1/30"),
PeerPrivateIp: pulumi.String("169.254.0.2/30"),
},
},
Ikev2Ciphers: s2svpn.ConnectionIkev2CipherArray{
&s2svpn.ConnectionIkev2CipherArgs{
Encryption: pulumi.String("aes256"),
Integrity: pulumi.String("sha256"),
DhGroup: pulumi.String("modp2048"),
},
},
EspCiphers: s2svpn.ConnectionEspCipherArray{
&s2svpn.ConnectionEspCipherArgs{
Encryption: pulumi.String("aes256"),
Integrity: pulumi.String("sha256"),
DhGroup: pulumi.String("modp2048"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var vpc = new Scaleway.Network.Vpc("vpc", new()
{
Name = "my-vpc",
});
var pn = new Scaleway.Network.PrivateNetwork("pn", new()
{
Name = "my-private-network",
VpcId = vpc.Id,
Ipv4Subnet = new Scaleway.Network.Inputs.PrivateNetworkIpv4SubnetArgs
{
Subnet = "10.0.1.0/24",
},
});
var gateway = new Scaleway.S2svpn.Gateway("gateway", new()
{
Name = "my-vpn-gateway",
GatewayType = "VGW-S",
PrivateNetworkId = pn.Id,
});
var customerGw = new Scaleway.S2svpn.CustomerGateway("customer_gw", new()
{
Name = "my-customer-gateway",
Ipv4Public = "203.0.113.1",
Asn = 65000,
});
var policy = new Scaleway.S2svpn.RoutingPolicy("policy", new()
{
Name = "my-routing-policy",
PrefixFilterIns = new[]
{
"10.0.2.0/24",
},
PrefixFilterOuts = new[]
{
"10.0.1.0/24",
},
});
var main = new Scaleway.S2svpn.Connection("main", new()
{
Name = "my-vpn-connection",
VpnGatewayId = gateway.Id,
CustomerGatewayId = customerGw.Id,
InitiationPolicy = "customer_gateway",
EnableRoutePropagation = true,
BgpConfigIpv4s = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionBgpConfigIpv4Args
{
RoutingPolicyId = policy.Id,
PrivateIp = "169.254.0.1/30",
PeerPrivateIp = "169.254.0.2/30",
},
},
Ikev2Ciphers = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionIkev2CipherArgs
{
Encryption = "aes256",
Integrity = "sha256",
DhGroup = "modp2048",
},
},
EspCiphers = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionEspCipherArgs
{
Encryption = "aes256",
Integrity = "sha256",
DhGroup = "modp2048",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.network.Vpc;
import com.pulumi.scaleway.network.VpcArgs;
import com.pulumi.scaleway.network.PrivateNetwork;
import com.pulumi.scaleway.network.PrivateNetworkArgs;
import com.pulumi.scaleway.network.inputs.PrivateNetworkIpv4SubnetArgs;
import com.pulumi.scaleway.s2svpn.Gateway;
import com.pulumi.scaleway.s2svpn.GatewayArgs;
import com.pulumi.scaleway.s2svpn.CustomerGateway;
import com.pulumi.scaleway.s2svpn.CustomerGatewayArgs;
import com.pulumi.scaleway.s2svpn.RoutingPolicy;
import com.pulumi.scaleway.s2svpn.RoutingPolicyArgs;
import com.pulumi.scaleway.s2svpn.Connection;
import com.pulumi.scaleway.s2svpn.ConnectionArgs;
import com.pulumi.scaleway.s2svpn.inputs.ConnectionBgpConfigIpv4Args;
import com.pulumi.scaleway.s2svpn.inputs.ConnectionIkev2CipherArgs;
import com.pulumi.scaleway.s2svpn.inputs.ConnectionEspCipherArgs;
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 vpc = new Vpc("vpc", VpcArgs.builder()
.name("my-vpc")
.build());
var pn = new PrivateNetwork("pn", PrivateNetworkArgs.builder()
.name("my-private-network")
.vpcId(vpc.id())
.ipv4Subnet(PrivateNetworkIpv4SubnetArgs.builder()
.subnet("10.0.1.0/24")
.build())
.build());
var gateway = new Gateway("gateway", GatewayArgs.builder()
.name("my-vpn-gateway")
.gatewayType("VGW-S")
.privateNetworkId(pn.id())
.build());
var customerGw = new CustomerGateway("customerGw", CustomerGatewayArgs.builder()
.name("my-customer-gateway")
.ipv4Public("203.0.113.1")
.asn(65000)
.build());
var policy = new RoutingPolicy("policy", RoutingPolicyArgs.builder()
.name("my-routing-policy")
.prefixFilterIns("10.0.2.0/24")
.prefixFilterOuts("10.0.1.0/24")
.build());
var main = new Connection("main", ConnectionArgs.builder()
.name("my-vpn-connection")
.vpnGatewayId(gateway.id())
.customerGatewayId(customerGw.id())
.initiationPolicy("customer_gateway")
.enableRoutePropagation(true)
.bgpConfigIpv4s(ConnectionBgpConfigIpv4Args.builder()
.routingPolicyId(policy.id())
.privateIp("169.254.0.1/30")
.peerPrivateIp("169.254.0.2/30")
.build())
.ikev2Ciphers(ConnectionIkev2CipherArgs.builder()
.encryption("aes256")
.integrity("sha256")
.dhGroup("modp2048")
.build())
.espCiphers(ConnectionEspCipherArgs.builder()
.encryption("aes256")
.integrity("sha256")
.dhGroup("modp2048")
.build())
.build());
}
}
resources:
vpc:
type: scaleway:network:Vpc
properties:
name: my-vpc
pn:
type: scaleway:network:PrivateNetwork
properties:
name: my-private-network
vpcId: ${vpc.id}
ipv4Subnet:
subnet: 10.0.1.0/24
gateway:
type: scaleway:s2svpn:Gateway
properties:
name: my-vpn-gateway
gatewayType: VGW-S
privateNetworkId: ${pn.id}
customerGw:
type: scaleway:s2svpn:CustomerGateway
name: customer_gw
properties:
name: my-customer-gateway
ipv4Public: 203.0.113.1
asn: 65000
policy:
type: scaleway:s2svpn:RoutingPolicy
properties:
name: my-routing-policy
prefixFilterIns:
- 10.0.2.0/24
prefixFilterOuts:
- 10.0.1.0/24
main:
type: scaleway:s2svpn:Connection
properties:
name: my-vpn-connection
vpnGatewayId: ${gateway.id}
customerGatewayId: ${customerGw.id}
initiationPolicy: customer_gateway
enableRoutePropagation: true
bgpConfigIpv4s:
- routingPolicyId: ${policy.id}
privateIp: 169.254.0.1/30
peerPrivateIp: 169.254.0.2/30
ikev2Ciphers:
- encryption: aes256
integrity: sha256
dhGroup: modp2048
espCiphers:
- encryption: aes256
integrity: sha256
dhGroup: modp2048
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args?: ConnectionArgs, opts?: CustomResourceOptions);@overload
def Connection(resource_name: str,
args: Optional[ConnectionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_config_ipv4s: Optional[Sequence[ConnectionBgpConfigIpv4Args]] = None,
bgp_config_ipv6s: Optional[Sequence[ConnectionBgpConfigIpv6Args]] = None,
customer_gateway_id: Optional[str] = None,
enable_route_propagation: Optional[bool] = None,
esp_ciphers: Optional[Sequence[ConnectionEspCipherArgs]] = None,
ikev2_ciphers: Optional[Sequence[ConnectionIkev2CipherArgs]] = None,
initiation_policy: Optional[str] = None,
is_ipv6: Optional[bool] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
vpn_gateway_id: Optional[str] = None)func NewConnection(ctx *Context, name string, args *ConnectionArgs, opts ...ResourceOption) (*Connection, error)public Connection(string name, ConnectionArgs? args = null, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: scaleway:s2svpn:Connection
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 ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- 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 connectionResource = new Scaleway.S2svpn.Connection("connectionResource", new()
{
BgpConfigIpv4s = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionBgpConfigIpv4Args
{
RoutingPolicyId = "string",
PeerPrivateIp = "string",
PrivateIp = "string",
},
},
BgpConfigIpv6s = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionBgpConfigIpv6Args
{
RoutingPolicyId = "string",
PeerPrivateIp = "string",
PrivateIp = "string",
},
},
CustomerGatewayId = "string",
EnableRoutePropagation = false,
EspCiphers = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionEspCipherArgs
{
Encryption = "string",
DhGroup = "string",
Integrity = "string",
},
},
Ikev2Ciphers = new[]
{
new Scaleway.S2svpn.Inputs.ConnectionIkev2CipherArgs
{
Encryption = "string",
DhGroup = "string",
Integrity = "string",
},
},
InitiationPolicy = "string",
IsIpv6 = false,
Name = "string",
ProjectId = "string",
Region = "string",
Tags = new[]
{
"string",
},
VpnGatewayId = "string",
});
example, err := s2svpn.NewConnection(ctx, "connectionResource", &s2svpn.ConnectionArgs{
BgpConfigIpv4s: s2svpn.ConnectionBgpConfigIpv4Array{
&s2svpn.ConnectionBgpConfigIpv4Args{
RoutingPolicyId: pulumi.String("string"),
PeerPrivateIp: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
},
},
BgpConfigIpv6s: s2svpn.ConnectionBgpConfigIpv6Array{
&s2svpn.ConnectionBgpConfigIpv6Args{
RoutingPolicyId: pulumi.String("string"),
PeerPrivateIp: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
},
},
CustomerGatewayId: pulumi.String("string"),
EnableRoutePropagation: pulumi.Bool(false),
EspCiphers: s2svpn.ConnectionEspCipherArray{
&s2svpn.ConnectionEspCipherArgs{
Encryption: pulumi.String("string"),
DhGroup: pulumi.String("string"),
Integrity: pulumi.String("string"),
},
},
Ikev2Ciphers: s2svpn.ConnectionIkev2CipherArray{
&s2svpn.ConnectionIkev2CipherArgs{
Encryption: pulumi.String("string"),
DhGroup: pulumi.String("string"),
Integrity: pulumi.String("string"),
},
},
InitiationPolicy: pulumi.String("string"),
IsIpv6: pulumi.Bool(false),
Name: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
VpnGatewayId: pulumi.String("string"),
})
var connectionResource = new Connection("connectionResource", ConnectionArgs.builder()
.bgpConfigIpv4s(ConnectionBgpConfigIpv4Args.builder()
.routingPolicyId("string")
.peerPrivateIp("string")
.privateIp("string")
.build())
.bgpConfigIpv6s(ConnectionBgpConfigIpv6Args.builder()
.routingPolicyId("string")
.peerPrivateIp("string")
.privateIp("string")
.build())
.customerGatewayId("string")
.enableRoutePropagation(false)
.espCiphers(ConnectionEspCipherArgs.builder()
.encryption("string")
.dhGroup("string")
.integrity("string")
.build())
.ikev2Ciphers(ConnectionIkev2CipherArgs.builder()
.encryption("string")
.dhGroup("string")
.integrity("string")
.build())
.initiationPolicy("string")
.isIpv6(false)
.name("string")
.projectId("string")
.region("string")
.tags("string")
.vpnGatewayId("string")
.build());
connection_resource = scaleway.s2svpn.Connection("connectionResource",
bgp_config_ipv4s=[{
"routing_policy_id": "string",
"peer_private_ip": "string",
"private_ip": "string",
}],
bgp_config_ipv6s=[{
"routing_policy_id": "string",
"peer_private_ip": "string",
"private_ip": "string",
}],
customer_gateway_id="string",
enable_route_propagation=False,
esp_ciphers=[{
"encryption": "string",
"dh_group": "string",
"integrity": "string",
}],
ikev2_ciphers=[{
"encryption": "string",
"dh_group": "string",
"integrity": "string",
}],
initiation_policy="string",
is_ipv6=False,
name="string",
project_id="string",
region="string",
tags=["string"],
vpn_gateway_id="string")
const connectionResource = new scaleway.s2svpn.Connection("connectionResource", {
bgpConfigIpv4s: [{
routingPolicyId: "string",
peerPrivateIp: "string",
privateIp: "string",
}],
bgpConfigIpv6s: [{
routingPolicyId: "string",
peerPrivateIp: "string",
privateIp: "string",
}],
customerGatewayId: "string",
enableRoutePropagation: false,
espCiphers: [{
encryption: "string",
dhGroup: "string",
integrity: "string",
}],
ikev2Ciphers: [{
encryption: "string",
dhGroup: "string",
integrity: "string",
}],
initiationPolicy: "string",
isIpv6: false,
name: "string",
projectId: "string",
region: "string",
tags: ["string"],
vpnGatewayId: "string",
});
type: scaleway:s2svpn:Connection
properties:
bgpConfigIpv4s:
- peerPrivateIp: string
privateIp: string
routingPolicyId: string
bgpConfigIpv6s:
- peerPrivateIp: string
privateIp: string
routingPolicyId: string
customerGatewayId: string
enableRoutePropagation: false
espCiphers:
- dhGroup: string
encryption: string
integrity: string
ikev2Ciphers:
- dhGroup: string
encryption: string
integrity: string
initiationPolicy: string
isIpv6: false
name: string
projectId: string
region: string
tags:
- string
vpnGatewayId: string
Connection 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 Connection resource accepts the following input properties:
- Bgp
Config List<Pulumiverse.Ipv4s Scaleway. S2svpn. Inputs. Connection Bgp Config Ipv4> - BGP configuration for IPv4. See BGP Config below.
- Bgp
Config List<Pulumiverse.Ipv6s Scaleway. S2svpn. Inputs. Connection Bgp Config Ipv6> - BGP configuration for IPv6. See BGP Config below.
- Customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Esp
Ciphers List<Pulumiverse.Scaleway. S2svpn. Inputs. Connection Esp Cipher> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- Ikev2Ciphers
List<Pulumiverse.
Scaleway. S2svpn. Inputs. Connection Ikev2Cipher> - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- Initiation
Policy string - Defines who initiates the IPSec tunnel.
- Is
Ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - Name string
- The name of the connection.
- Project
Id string project_id) The ID of the project the connection is associated with.- Region string
region) The region in which the connection should be created.- List<string>
- The list of tags to apply to the connection.
- Vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- Bgp
Config []ConnectionIpv4s Bgp Config Ipv4Args - BGP configuration for IPv4. See BGP Config below.
- Bgp
Config []ConnectionIpv6s Bgp Config Ipv6Args - BGP configuration for IPv6. See BGP Config below.
- Customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Esp
Ciphers []ConnectionEsp Cipher Args - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- Ikev2Ciphers
[]Connection
Ikev2Cipher Args - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- Initiation
Policy string - Defines who initiates the IPSec tunnel.
- Is
Ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - Name string
- The name of the connection.
- Project
Id string project_id) The ID of the project the connection is associated with.- Region string
region) The region in which the connection should be created.- []string
- The list of tags to apply to the connection.
- Vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- bgp
Config List<ConnectionIpv4s Bgp Config Ipv4> - BGP configuration for IPv4. See BGP Config below.
- bgp
Config List<ConnectionIpv6s Bgp Config Ipv6> - BGP configuration for IPv6. See BGP Config below.
- customer
Gateway StringId - The ID of the customer gateway to attach to the connection.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers List<ConnectionEsp Cipher> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers
List<Connection
Ikev2Cipher> - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy String - Defines who initiates the IPSec tunnel.
- is
Ipv6 Boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name String
- The name of the connection.
- project
Id String project_id) The ID of the project the connection is associated with.- region String
region) The region in which the connection should be created.- List<String>
- The list of tags to apply to the connection.
- vpn
Gateway StringId - The ID of the VPN gateway to attach to the connection.
- bgp
Config ConnectionIpv4s Bgp Config Ipv4[] - BGP configuration for IPv4. See BGP Config below.
- bgp
Config ConnectionIpv6s Bgp Config Ipv6[] - BGP configuration for IPv6. See BGP Config below.
- customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- enable
Route booleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers ConnectionEsp Cipher[] - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers
Connection
Ikev2Cipher[] - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy string - Defines who initiates the IPSec tunnel.
- is
Ipv6 boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name string
- The name of the connection.
- project
Id string project_id) The ID of the project the connection is associated with.- region string
region) The region in which the connection should be created.- string[]
- The list of tags to apply to the connection.
- vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- bgp_
config_ Sequence[Connectionipv4s Bgp Config Ipv4Args] - BGP configuration for IPv4. See BGP Config below.
- bgp_
config_ Sequence[Connectionipv6s Bgp Config Ipv6Args] - BGP configuration for IPv6. See BGP Config below.
- customer_
gateway_ strid - The ID of the customer gateway to attach to the connection.
- enable_
route_ boolpropagation - Defines whether route propagation is enabled or not.
- esp_
ciphers Sequence[ConnectionEsp Cipher Args] - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2_
ciphers Sequence[ConnectionIkev2Cipher Args] - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation_
policy str - Defines who initiates the IPSec tunnel.
- is_
ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name str
- The name of the connection.
- project_
id str project_id) The ID of the project the connection is associated with.- region str
region) The region in which the connection should be created.- Sequence[str]
- The list of tags to apply to the connection.
- vpn_
gateway_ strid - The ID of the VPN gateway to attach to the connection.
- bgp
Config List<Property Map>Ipv4s - BGP configuration for IPv4. See BGP Config below.
- bgp
Config List<Property Map>Ipv6s - BGP configuration for IPv6. See BGP Config below.
- customer
Gateway StringId - The ID of the customer gateway to attach to the connection.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers List<Property Map> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers List<Property Map>
- IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy String - Defines who initiates the IPSec tunnel.
- is
Ipv6 Boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name String
- The name of the connection.
- project
Id String project_id) The ID of the project the connection is associated with.- region String
region) The region in which the connection should be created.- List<String>
- The list of tags to apply to the connection.
- vpn
Gateway StringId - The ID of the VPN gateway to attach to the connection.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Bgp
Session List<Pulumiverse.Ipv4s Scaleway. S2svpn. Outputs. Connection Bgp Session Ipv4> - The BGP IPv4 session information. See BGP Session below.
- Bgp
Session List<Pulumiverse.Ipv6s Scaleway. S2svpn. Outputs. Connection Bgp Session Ipv6> - The BGP IPv6 session information. See BGP Session below.
- Bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- Bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- Created
At string - The date and time of the creation of the connection (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the connection is associated with.
- Route
Propagation boolEnabled - Whether route propagation is enabled.
- Secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- Secret
Version int - The version of the secret containing the PSK.
- Status string
- The status of the connection.
- Tunnel
Status string - The status of the IPSec tunnel.
- Updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- Bgp
Session []ConnectionIpv4s Bgp Session Ipv4 - The BGP IPv4 session information. See BGP Session below.
- Bgp
Session []ConnectionIpv6s Bgp Session Ipv6 - The BGP IPv6 session information. See BGP Session below.
- Bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- Bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- Created
At string - The date and time of the creation of the connection (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the connection is associated with.
- Route
Propagation boolEnabled - Whether route propagation is enabled.
- Secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- Secret
Version int - The version of the secret containing the PSK.
- Status string
- The status of the connection.
- Tunnel
Status string - The status of the IPSec tunnel.
- Updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- bgp
Session List<ConnectionIpv4s Bgp Session Ipv4> - The BGP IPv4 session information. See BGP Session below.
- bgp
Session List<ConnectionIpv6s Bgp Session Ipv6> - The BGP IPv6 session information. See BGP Session below.
- bgp
Status StringIpv4 - The status of the BGP IPv4 session.
- bgp
Status StringIpv6 - The status of the BGP IPv6 session.
- created
At String - The date and time of the creation of the connection (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the connection is associated with.
- route
Propagation BooleanEnabled - Whether route propagation is enabled.
- secret
Id String - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version Integer - The version of the secret containing the PSK.
- status String
- The status of the connection.
- tunnel
Status String - The status of the IPSec tunnel.
- updated
At String - The date and time of the last update of the connection (RFC 3339 format).
- bgp
Session ConnectionIpv4s Bgp Session Ipv4[] - The BGP IPv4 session information. See BGP Session below.
- bgp
Session ConnectionIpv6s Bgp Session Ipv6[] - The BGP IPv6 session information. See BGP Session below.
- bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- created
At string - The date and time of the creation of the connection (RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Organization ID the connection is associated with.
- route
Propagation booleanEnabled - Whether route propagation is enabled.
- secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version number - The version of the secret containing the PSK.
- status string
- The status of the connection.
- tunnel
Status string - The status of the IPSec tunnel.
- updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- bgp_
session_ Sequence[Connectionipv4s Bgp Session Ipv4] - The BGP IPv4 session information. See BGP Session below.
- bgp_
session_ Sequence[Connectionipv6s Bgp Session Ipv6] - The BGP IPv6 session information. See BGP Session below.
- bgp_
status_ stripv4 - The status of the BGP IPv4 session.
- bgp_
status_ stripv6 - The status of the BGP IPv6 session.
- created_
at str - The date and time of the creation of the connection (RFC 3339 format).
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The Organization ID the connection is associated with.
- route_
propagation_ boolenabled - Whether route propagation is enabled.
- secret_
id str - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret_
version int - The version of the secret containing the PSK.
- status str
- The status of the connection.
- tunnel_
status str - The status of the IPSec tunnel.
- updated_
at str - The date and time of the last update of the connection (RFC 3339 format).
- bgp
Session List<Property Map>Ipv4s - The BGP IPv4 session information. See BGP Session below.
- bgp
Session List<Property Map>Ipv6s - The BGP IPv6 session information. See BGP Session below.
- bgp
Status StringIpv4 - The status of the BGP IPv4 session.
- bgp
Status StringIpv6 - The status of the BGP IPv6 session.
- created
At String - The date and time of the creation of the connection (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the connection is associated with.
- route
Propagation BooleanEnabled - Whether route propagation is enabled.
- secret
Id String - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version Number - The version of the secret containing the PSK.
- status String
- The status of the connection.
- tunnel
Status String - The status of the IPSec tunnel.
- updated
At String - The date and time of the last update of the connection (RFC 3339 format).
Look up Existing Connection Resource
Get an existing Connection 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?: ConnectionState, opts?: CustomResourceOptions): Connection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bgp_config_ipv4s: Optional[Sequence[ConnectionBgpConfigIpv4Args]] = None,
bgp_config_ipv6s: Optional[Sequence[ConnectionBgpConfigIpv6Args]] = None,
bgp_session_ipv4s: Optional[Sequence[ConnectionBgpSessionIpv4Args]] = None,
bgp_session_ipv6s: Optional[Sequence[ConnectionBgpSessionIpv6Args]] = None,
bgp_status_ipv4: Optional[str] = None,
bgp_status_ipv6: Optional[str] = None,
created_at: Optional[str] = None,
customer_gateway_id: Optional[str] = None,
enable_route_propagation: Optional[bool] = None,
esp_ciphers: Optional[Sequence[ConnectionEspCipherArgs]] = None,
ikev2_ciphers: Optional[Sequence[ConnectionIkev2CipherArgs]] = None,
initiation_policy: Optional[str] = None,
is_ipv6: Optional[bool] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
route_propagation_enabled: Optional[bool] = None,
secret_id: Optional[str] = None,
secret_version: Optional[int] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tunnel_status: Optional[str] = None,
updated_at: Optional[str] = None,
vpn_gateway_id: Optional[str] = None) -> Connectionfunc GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)resources: _: type: scaleway:s2svpn:Connection get: 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.
- Bgp
Config List<Pulumiverse.Ipv4s Scaleway. S2svpn. Inputs. Connection Bgp Config Ipv4> - BGP configuration for IPv4. See BGP Config below.
- Bgp
Config List<Pulumiverse.Ipv6s Scaleway. S2svpn. Inputs. Connection Bgp Config Ipv6> - BGP configuration for IPv6. See BGP Config below.
- Bgp
Session List<Pulumiverse.Ipv4s Scaleway. S2svpn. Inputs. Connection Bgp Session Ipv4> - The BGP IPv4 session information. See BGP Session below.
- Bgp
Session List<Pulumiverse.Ipv6s Scaleway. S2svpn. Inputs. Connection Bgp Session Ipv6> - The BGP IPv6 session information. See BGP Session below.
- Bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- Bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- Created
At string - The date and time of the creation of the connection (RFC 3339 format).
- Customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Esp
Ciphers List<Pulumiverse.Scaleway. S2svpn. Inputs. Connection Esp Cipher> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- Ikev2Ciphers
List<Pulumiverse.
Scaleway. S2svpn. Inputs. Connection Ikev2Cipher> - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- Initiation
Policy string - Defines who initiates the IPSec tunnel.
- Is
Ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - Name string
- The name of the connection.
- Organization
Id string - The Organization ID the connection is associated with.
- Project
Id string project_id) The ID of the project the connection is associated with.- Region string
region) The region in which the connection should be created.- Route
Propagation boolEnabled - Whether route propagation is enabled.
- Secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- Secret
Version int - The version of the secret containing the PSK.
- Status string
- The status of the connection.
- List<string>
- The list of tags to apply to the connection.
- Tunnel
Status string - The status of the IPSec tunnel.
- Updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- Vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- Bgp
Config []ConnectionIpv4s Bgp Config Ipv4Args - BGP configuration for IPv4. See BGP Config below.
- Bgp
Config []ConnectionIpv6s Bgp Config Ipv6Args - BGP configuration for IPv6. See BGP Config below.
- Bgp
Session []ConnectionIpv4s Bgp Session Ipv4Args - The BGP IPv4 session information. See BGP Session below.
- Bgp
Session []ConnectionIpv6s Bgp Session Ipv6Args - The BGP IPv6 session information. See BGP Session below.
- Bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- Bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- Created
At string - The date and time of the creation of the connection (RFC 3339 format).
- Customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- Enable
Route boolPropagation - Defines whether route propagation is enabled or not.
- Esp
Ciphers []ConnectionEsp Cipher Args - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- Ikev2Ciphers
[]Connection
Ikev2Cipher Args - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- Initiation
Policy string - Defines who initiates the IPSec tunnel.
- Is
Ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - Name string
- The name of the connection.
- Organization
Id string - The Organization ID the connection is associated with.
- Project
Id string project_id) The ID of the project the connection is associated with.- Region string
region) The region in which the connection should be created.- Route
Propagation boolEnabled - Whether route propagation is enabled.
- Secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- Secret
Version int - The version of the secret containing the PSK.
- Status string
- The status of the connection.
- []string
- The list of tags to apply to the connection.
- Tunnel
Status string - The status of the IPSec tunnel.
- Updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- Vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- bgp
Config List<ConnectionIpv4s Bgp Config Ipv4> - BGP configuration for IPv4. See BGP Config below.
- bgp
Config List<ConnectionIpv6s Bgp Config Ipv6> - BGP configuration for IPv6. See BGP Config below.
- bgp
Session List<ConnectionIpv4s Bgp Session Ipv4> - The BGP IPv4 session information. See BGP Session below.
- bgp
Session List<ConnectionIpv6s Bgp Session Ipv6> - The BGP IPv6 session information. See BGP Session below.
- bgp
Status StringIpv4 - The status of the BGP IPv4 session.
- bgp
Status StringIpv6 - The status of the BGP IPv6 session.
- created
At String - The date and time of the creation of the connection (RFC 3339 format).
- customer
Gateway StringId - The ID of the customer gateway to attach to the connection.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers List<ConnectionEsp Cipher> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers
List<Connection
Ikev2Cipher> - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy String - Defines who initiates the IPSec tunnel.
- is
Ipv6 Boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name String
- The name of the connection.
- organization
Id String - The Organization ID the connection is associated with.
- project
Id String project_id) The ID of the project the connection is associated with.- region String
region) The region in which the connection should be created.- route
Propagation BooleanEnabled - Whether route propagation is enabled.
- secret
Id String - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version Integer - The version of the secret containing the PSK.
- status String
- The status of the connection.
- List<String>
- The list of tags to apply to the connection.
- tunnel
Status String - The status of the IPSec tunnel.
- updated
At String - The date and time of the last update of the connection (RFC 3339 format).
- vpn
Gateway StringId - The ID of the VPN gateway to attach to the connection.
- bgp
Config ConnectionIpv4s Bgp Config Ipv4[] - BGP configuration for IPv4. See BGP Config below.
- bgp
Config ConnectionIpv6s Bgp Config Ipv6[] - BGP configuration for IPv6. See BGP Config below.
- bgp
Session ConnectionIpv4s Bgp Session Ipv4[] - The BGP IPv4 session information. See BGP Session below.
- bgp
Session ConnectionIpv6s Bgp Session Ipv6[] - The BGP IPv6 session information. See BGP Session below.
- bgp
Status stringIpv4 - The status of the BGP IPv4 session.
- bgp
Status stringIpv6 - The status of the BGP IPv6 session.
- created
At string - The date and time of the creation of the connection (RFC 3339 format).
- customer
Gateway stringId - The ID of the customer gateway to attach to the connection.
- enable
Route booleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers ConnectionEsp Cipher[] - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers
Connection
Ikev2Cipher[] - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy string - Defines who initiates the IPSec tunnel.
- is
Ipv6 boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name string
- The name of the connection.
- organization
Id string - The Organization ID the connection is associated with.
- project
Id string project_id) The ID of the project the connection is associated with.- region string
region) The region in which the connection should be created.- route
Propagation booleanEnabled - Whether route propagation is enabled.
- secret
Id string - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version number - The version of the secret containing the PSK.
- status string
- The status of the connection.
- string[]
- The list of tags to apply to the connection.
- tunnel
Status string - The status of the IPSec tunnel.
- updated
At string - The date and time of the last update of the connection (RFC 3339 format).
- vpn
Gateway stringId - The ID of the VPN gateway to attach to the connection.
- bgp_
config_ Sequence[Connectionipv4s Bgp Config Ipv4Args] - BGP configuration for IPv4. See BGP Config below.
- bgp_
config_ Sequence[Connectionipv6s Bgp Config Ipv6Args] - BGP configuration for IPv6. See BGP Config below.
- bgp_
session_ Sequence[Connectionipv4s Bgp Session Ipv4Args] - The BGP IPv4 session information. See BGP Session below.
- bgp_
session_ Sequence[Connectionipv6s Bgp Session Ipv6Args] - The BGP IPv6 session information. See BGP Session below.
- bgp_
status_ stripv4 - The status of the BGP IPv4 session.
- bgp_
status_ stripv6 - The status of the BGP IPv6 session.
- created_
at str - The date and time of the creation of the connection (RFC 3339 format).
- customer_
gateway_ strid - The ID of the customer gateway to attach to the connection.
- enable_
route_ boolpropagation - Defines whether route propagation is enabled or not.
- esp_
ciphers Sequence[ConnectionEsp Cipher Args] - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2_
ciphers Sequence[ConnectionIkev2Cipher Args] - IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation_
policy str - Defines who initiates the IPSec tunnel.
- is_
ipv6 bool - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name str
- The name of the connection.
- organization_
id str - The Organization ID the connection is associated with.
- project_
id str project_id) The ID of the project the connection is associated with.- region str
region) The region in which the connection should be created.- route_
propagation_ boolenabled - Whether route propagation is enabled.
- secret_
id str - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret_
version int - The version of the secret containing the PSK.
- status str
- The status of the connection.
- Sequence[str]
- The list of tags to apply to the connection.
- tunnel_
status str - The status of the IPSec tunnel.
- updated_
at str - The date and time of the last update of the connection (RFC 3339 format).
- vpn_
gateway_ strid - The ID of the VPN gateway to attach to the connection.
- bgp
Config List<Property Map>Ipv4s - BGP configuration for IPv4. See BGP Config below.
- bgp
Config List<Property Map>Ipv6s - BGP configuration for IPv6. See BGP Config below.
- bgp
Session List<Property Map>Ipv4s - The BGP IPv4 session information. See BGP Session below.
- bgp
Session List<Property Map>Ipv6s - The BGP IPv6 session information. See BGP Session below.
- bgp
Status StringIpv4 - The status of the BGP IPv4 session.
- bgp
Status StringIpv6 - The status of the BGP IPv6 session.
- created
At String - The date and time of the creation of the connection (RFC 3339 format).
- customer
Gateway StringId - The ID of the customer gateway to attach to the connection.
- enable
Route BooleanPropagation - Defines whether route propagation is enabled or not.
- esp
Ciphers List<Property Map> - ESP cipher configuration for Phase 2 (data encryption). See Cipher Config below.
- ikev2Ciphers List<Property Map>
- IKEv2 cipher configuration for Phase 1 (tunnel establishment). See Cipher Config below.
- initiation
Policy String - Defines who initiates the IPSec tunnel.
- is
Ipv6 Boolean - Defines IP version of the IPSec Tunnel. Defaults to
false(IPv4). - name String
- The name of the connection.
- organization
Id String - The Organization ID the connection is associated with.
- project
Id String project_id) The ID of the project the connection is associated with.- region String
region) The region in which the connection should be created.- route
Propagation BooleanEnabled - Whether route propagation is enabled.
- secret
Id String - The ID of the secret containing the pre-shared key (PSK) for the connection.
- secret
Version Number - The version of the secret containing the PSK.
- status String
- The status of the connection.
- List<String>
- The list of tags to apply to the connection.
- tunnel
Status String - The status of the IPSec tunnel.
- updated
At String - The date and time of the last update of the connection (RFC 3339 format).
- vpn
Gateway StringId - The ID of the VPN gateway to attach to the connection.
Supporting Types
ConnectionBgpConfigIpv4, ConnectionBgpConfigIpv4Args
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy stringId - The routing policy ID used for this BGP session.
- peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing_
policy_ strid - The routing policy ID used for this BGP session.
- peer_
private_ strip - The BGP peer IP on customer side (within the tunnel).
- private_
ip str - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
ConnectionBgpConfigIpv6, ConnectionBgpConfigIpv6Args
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy stringId - The routing policy ID used for this BGP session.
- peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing_
policy_ strid - The routing policy ID used for this BGP session.
- peer_
private_ strip - The BGP peer IP on customer side (within the tunnel).
- private_
ip str - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
ConnectionBgpSessionIpv4, ConnectionBgpSessionIpv4Args
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy stringId - The routing policy ID used for this BGP session.
- peer_
private_ strip - The BGP peer IP on customer side (within the tunnel).
- private_
ip str - The BGP peer IP on Scaleway side (within the tunnel).
- routing_
policy_ strid - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
ConnectionBgpSessionIpv6, ConnectionBgpSessionIpv6Args
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- Peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- Private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- Routing
Policy stringId - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
- peer
Private stringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip string - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy stringId - The routing policy ID used for this BGP session.
- peer_
private_ strip - The BGP peer IP on customer side (within the tunnel).
- private_
ip str - The BGP peer IP on Scaleway side (within the tunnel).
- routing_
policy_ strid - The routing policy ID used for this BGP session.
- peer
Private StringIp - The BGP peer IP on customer side (within the tunnel).
- private
Ip String - The BGP peer IP on Scaleway side (within the tunnel).
- routing
Policy StringId - The routing policy ID used for this BGP session.
ConnectionEspCipher, ConnectionEspCipherArgs
- Encryption string
- The encryption algorithm
- Dh
Group string - The Diffie-Hellman group
- Integrity string
- The integrity/hash algorithm
- Encryption string
- The encryption algorithm
- Dh
Group string - The Diffie-Hellman group
- Integrity string
- The integrity/hash algorithm
- encryption String
- The encryption algorithm
- dh
Group String - The Diffie-Hellman group
- integrity String
- The integrity/hash algorithm
- encryption string
- The encryption algorithm
- dh
Group string - The Diffie-Hellman group
- integrity string
- The integrity/hash algorithm
- encryption str
- The encryption algorithm
- dh_
group str - The Diffie-Hellman group
- integrity str
- The integrity/hash algorithm
- encryption String
- The encryption algorithm
- dh
Group String - The Diffie-Hellman group
- integrity String
- The integrity/hash algorithm
ConnectionIkev2Cipher, ConnectionIkev2CipherArgs
- Encryption string
- The encryption algorithm
- Dh
Group string - The Diffie-Hellman group
- Integrity string
- The integrity/hash algorithm
- Encryption string
- The encryption algorithm
- Dh
Group string - The Diffie-Hellman group
- Integrity string
- The integrity/hash algorithm
- encryption String
- The encryption algorithm
- dh
Group String - The Diffie-Hellman group
- integrity String
- The integrity/hash algorithm
- encryption string
- The encryption algorithm
- dh
Group string - The Diffie-Hellman group
- integrity string
- The integrity/hash algorithm
- encryption str
- The encryption algorithm
- dh_
group str - The Diffie-Hellman group
- integrity str
- The integrity/hash algorithm
- encryption String
- The encryption algorithm
- dh
Group String - The Diffie-Hellman group
- integrity String
- The integrity/hash algorithm
Import
Connections can be imported using {region}/{id}, e.g.
bash
$ pulumi import scaleway:s2svpn/connection:Connection main fr-par/11111111-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
