Creates and manages Scaleway Site-to-Site VPN Customer Gateways. A customer gateway represents your external VPN endpoint (e.g., a firewall, router, or VPN appliance).
For more information, see the main documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
name: "my-customer-gateway",
ipv4Public: "203.0.113.1",
asn: 65000,
});
import pulumi
import pulumiverse_scaleway as scaleway
customer_gw = scaleway.s2svpn.CustomerGateway("customer_gw",
name="my-customer-gateway",
ipv4_public="203.0.113.1",
asn=65000)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/s2svpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, 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
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var customerGw = new Scaleway.S2svpn.CustomerGateway("customer_gw", new()
{
Name = "my-customer-gateway",
Ipv4Public = "203.0.113.1",
Asn = 65000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.s2svpn.CustomerGateway;
import com.pulumi.scaleway.s2svpn.CustomerGatewayArgs;
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 customerGw = new CustomerGateway("customerGw", CustomerGatewayArgs.builder()
.name("my-customer-gateway")
.ipv4Public("203.0.113.1")
.asn(65000)
.build());
}
}
resources:
customerGw:
type: scaleway:s2svpn:CustomerGateway
name: customer_gw
properties:
name: my-customer-gateway
ipv4Public: 203.0.113.1
asn: 65000
With IPv6
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
name: "my-customer-gateway",
ipv4Public: "203.0.113.1",
ipv6Public: "2001:db8::1",
asn: 65000,
});
import pulumi
import pulumiverse_scaleway as scaleway
customer_gw = scaleway.s2svpn.CustomerGateway("customer_gw",
name="my-customer-gateway",
ipv4_public="203.0.113.1",
ipv6_public="2001:db8::1",
asn=65000)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/s2svpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s2svpn.NewCustomerGateway(ctx, "customer_gw", &s2svpn.CustomerGatewayArgs{
Name: pulumi.String("my-customer-gateway"),
Ipv4Public: pulumi.String("203.0.113.1"),
Ipv6Public: pulumi.String("2001:db8::1"),
Asn: pulumi.Int(65000),
})
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 customerGw = new Scaleway.S2svpn.CustomerGateway("customer_gw", new()
{
Name = "my-customer-gateway",
Ipv4Public = "203.0.113.1",
Ipv6Public = "2001:db8::1",
Asn = 65000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.s2svpn.CustomerGateway;
import com.pulumi.scaleway.s2svpn.CustomerGatewayArgs;
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 customerGw = new CustomerGateway("customerGw", CustomerGatewayArgs.builder()
.name("my-customer-gateway")
.ipv4Public("203.0.113.1")
.ipv6Public("2001:db8::1")
.asn(65000)
.build());
}
}
resources:
customerGw:
type: scaleway:s2svpn:CustomerGateway
name: customer_gw
properties:
name: my-customer-gateway
ipv4Public: 203.0.113.1
ipv6Public: 2001:db8::1
asn: 65000
Using Instance Public IP
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const vpnEndpointIp = new scaleway.instance.Ip("vpn_endpoint_ip", {});
const vpnEndpoint = new scaleway.instance.Server("vpn_endpoint", {
name: "vpn-endpoint",
type: "DEV1-S",
image: "ubuntu_jammy",
ipIds: [vpnEndpointIp.id],
});
const customerGw = new scaleway.s2svpn.CustomerGateway("customer_gw", {
name: "my-customer-gateway",
ipv4Public: vpnEndpointIp.address,
asn: 65000,
});
import pulumi
import pulumiverse_scaleway as scaleway
vpn_endpoint_ip = scaleway.instance.Ip("vpn_endpoint_ip")
vpn_endpoint = scaleway.instance.Server("vpn_endpoint",
name="vpn-endpoint",
type="DEV1-S",
image="ubuntu_jammy",
ip_ids=[vpn_endpoint_ip.id])
customer_gw = scaleway.s2svpn.CustomerGateway("customer_gw",
name="my-customer-gateway",
ipv4_public=vpn_endpoint_ip.address,
asn=65000)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/instance"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/s2svpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpnEndpointIp, err := instance.NewIp(ctx, "vpn_endpoint_ip", nil)
if err != nil {
return err
}
_, err = instance.NewServer(ctx, "vpn_endpoint", &instance.ServerArgs{
Name: pulumi.String("vpn-endpoint"),
Type: pulumi.String("DEV1-S"),
Image: pulumi.String("ubuntu_jammy"),
IpIds: pulumi.StringArray{
vpnEndpointIp.ID(),
},
})
if err != nil {
return err
}
_, err = s2svpn.NewCustomerGateway(ctx, "customer_gw", &s2svpn.CustomerGatewayArgs{
Name: pulumi.String("my-customer-gateway"),
Ipv4Public: vpnEndpointIp.Address,
Asn: pulumi.Int(65000),
})
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 vpnEndpointIp = new Scaleway.Instance.Ip("vpn_endpoint_ip");
var vpnEndpoint = new Scaleway.Instance.Server("vpn_endpoint", new()
{
Name = "vpn-endpoint",
Type = "DEV1-S",
Image = "ubuntu_jammy",
IpIds = new[]
{
vpnEndpointIp.Id,
},
});
var customerGw = new Scaleway.S2svpn.CustomerGateway("customer_gw", new()
{
Name = "my-customer-gateway",
Ipv4Public = vpnEndpointIp.Address,
Asn = 65000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.instance.Ip;
import com.pulumi.scaleway.instance.Server;
import com.pulumi.scaleway.instance.ServerArgs;
import com.pulumi.scaleway.s2svpn.CustomerGateway;
import com.pulumi.scaleway.s2svpn.CustomerGatewayArgs;
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 vpnEndpointIp = new Ip("vpnEndpointIp");
var vpnEndpoint = new Server("vpnEndpoint", ServerArgs.builder()
.name("vpn-endpoint")
.type("DEV1-S")
.image("ubuntu_jammy")
.ipIds(vpnEndpointIp.id())
.build());
var customerGw = new CustomerGateway("customerGw", CustomerGatewayArgs.builder()
.name("my-customer-gateway")
.ipv4Public(vpnEndpointIp.address())
.asn(65000)
.build());
}
}
resources:
vpnEndpointIp:
type: scaleway:instance:Ip
name: vpn_endpoint_ip
vpnEndpoint:
type: scaleway:instance:Server
name: vpn_endpoint
properties:
name: vpn-endpoint
type: DEV1-S
image: ubuntu_jammy
ipIds:
- ${vpnEndpointIp.id}
customerGw:
type: scaleway:s2svpn:CustomerGateway
name: customer_gw
properties:
name: my-customer-gateway
ipv4Public: ${vpnEndpointIp.address}
asn: 65000
Create CustomerGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomerGateway(name: string, args: CustomerGatewayArgs, opts?: CustomResourceOptions);@overload
def CustomerGateway(resource_name: str,
args: CustomerGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomerGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
asn: Optional[int] = None,
ipv4_public: Optional[str] = None,
ipv6_public: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None)func NewCustomerGateway(ctx *Context, name string, args CustomerGatewayArgs, opts ...ResourceOption) (*CustomerGateway, error)public CustomerGateway(string name, CustomerGatewayArgs args, CustomResourceOptions? opts = null)
public CustomerGateway(String name, CustomerGatewayArgs args)
public CustomerGateway(String name, CustomerGatewayArgs args, CustomResourceOptions options)
type: scaleway:s2svpn:CustomerGateway
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 CustomerGatewayArgs
- 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 CustomerGatewayArgs
- 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 CustomerGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomerGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomerGatewayArgs
- 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 customerGatewayResource = new Scaleway.S2svpn.CustomerGateway("customerGatewayResource", new()
{
Asn = 0,
Ipv4Public = "string",
Ipv6Public = "string",
Name = "string",
ProjectId = "string",
Region = "string",
Tags = new[]
{
"string",
},
});
example, err := s2svpn.NewCustomerGateway(ctx, "customerGatewayResource", &s2svpn.CustomerGatewayArgs{
Asn: pulumi.Int(0),
Ipv4Public: pulumi.String("string"),
Ipv6Public: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var customerGatewayResource = new CustomerGateway("customerGatewayResource", CustomerGatewayArgs.builder()
.asn(0)
.ipv4Public("string")
.ipv6Public("string")
.name("string")
.projectId("string")
.region("string")
.tags("string")
.build());
customer_gateway_resource = scaleway.s2svpn.CustomerGateway("customerGatewayResource",
asn=0,
ipv4_public="string",
ipv6_public="string",
name="string",
project_id="string",
region="string",
tags=["string"])
const customerGatewayResource = new scaleway.s2svpn.CustomerGateway("customerGatewayResource", {
asn: 0,
ipv4Public: "string",
ipv6Public: "string",
name: "string",
projectId: "string",
region: "string",
tags: ["string"],
});
type: scaleway:s2svpn:CustomerGateway
properties:
asn: 0
ipv4Public: string
ipv6Public: string
name: string
projectId: string
region: string
tags:
- string
CustomerGateway 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 CustomerGateway resource accepts the following input properties:
- Asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- Ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- Ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- Name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- Project
Id string project_id) The ID of the project the customer gateway is associated with.- Region string
region) The region in which the customer gateway should be created.- List<string>
- The list of tags to apply to the customer gateway.
- Asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- Ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- Ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- Name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- Project
Id string project_id) The ID of the project the customer gateway is associated with.- Region string
region) The region in which the customer gateway should be created.- []string
- The list of tags to apply to the customer gateway.
- asn Integer
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- ipv4Public String
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public String
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name String
- The name of the customer gateway. If not provided, it will be randomly generated.
- project
Id String project_id) The ID of the project the customer gateway is associated with.- region String
region) The region in which the customer gateway should be created.- List<String>
- The list of tags to apply to the customer gateway.
- asn number
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- project
Id string project_id) The ID of the project the customer gateway is associated with.- region string
region) The region in which the customer gateway should be created.- string[]
- The list of tags to apply to the customer gateway.
- asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- ipv4_
public str - The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6_
public str - The public IPv6 address of the customer gateway (your VPN endpoint).
- name str
- The name of the customer gateway. If not provided, it will be randomly generated.
- project_
id str project_id) The ID of the project the customer gateway is associated with.- region str
region) The region in which the customer gateway should be created.- Sequence[str]
- The list of tags to apply to the customer gateway.
- asn Number
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- ipv4Public String
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public String
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name String
- The name of the customer gateway. If not provided, it will be randomly generated.
- project
Id String project_id) The ID of the project the customer gateway is associated with.- region String
region) The region in which the customer gateway should be created.- List<String>
- The list of tags to apply to the customer gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomerGateway resource produces the following output properties:
- Created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the customer gateway is associated with.
- Updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- Created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the customer gateway is associated with.
- Updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- created
At String - The date and time of the creation of the customer gateway (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the customer gateway is associated with.
- updated
At String - The date and time of the last update of the customer gateway (RFC 3339 format).
- created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Organization ID the customer gateway is associated with.
- updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- created_
at str - The date and time of the creation of the customer gateway (RFC 3339 format).
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The Organization ID the customer gateway is associated with.
- updated_
at str - The date and time of the last update of the customer gateway (RFC 3339 format).
- created
At String - The date and time of the creation of the customer gateway (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the customer gateway is associated with.
- updated
At String - The date and time of the last update of the customer gateway (RFC 3339 format).
Look up Existing CustomerGateway Resource
Get an existing CustomerGateway 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?: CustomerGatewayState, opts?: CustomResourceOptions): CustomerGateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asn: Optional[int] = None,
created_at: Optional[str] = None,
ipv4_public: Optional[str] = None,
ipv6_public: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None) -> CustomerGatewayfunc GetCustomerGateway(ctx *Context, name string, id IDInput, state *CustomerGatewayState, opts ...ResourceOption) (*CustomerGateway, error)public static CustomerGateway Get(string name, Input<string> id, CustomerGatewayState? state, CustomResourceOptions? opts = null)public static CustomerGateway get(String name, Output<String> id, CustomerGatewayState state, CustomResourceOptions options)resources: _: type: scaleway:s2svpn:CustomerGateway 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.
- Asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- Created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- Ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- Ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- Name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the customer gateway is associated with.
- Project
Id string project_id) The ID of the project the customer gateway is associated with.- Region string
region) The region in which the customer gateway should be created.- List<string>
- The list of tags to apply to the customer gateway.
- Updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- Asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- Created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- Ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- Ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- Name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the customer gateway is associated with.
- Project
Id string project_id) The ID of the project the customer gateway is associated with.- Region string
region) The region in which the customer gateway should be created.- []string
- The list of tags to apply to the customer gateway.
- Updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- asn Integer
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- created
At String - The date and time of the creation of the customer gateway (RFC 3339 format).
- ipv4Public String
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public String
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name String
- The name of the customer gateway. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the customer gateway is associated with.
- project
Id String project_id) The ID of the project the customer gateway is associated with.- region String
region) The region in which the customer gateway should be created.- List<String>
- The list of tags to apply to the customer gateway.
- updated
At String - The date and time of the last update of the customer gateway (RFC 3339 format).
- asn number
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- created
At string - The date and time of the creation of the customer gateway (RFC 3339 format).
- ipv4Public string
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public string
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name string
- The name of the customer gateway. If not provided, it will be randomly generated.
- organization
Id string - The Organization ID the customer gateway is associated with.
- project
Id string project_id) The ID of the project the customer gateway is associated with.- region string
region) The region in which the customer gateway should be created.- string[]
- The list of tags to apply to the customer gateway.
- updated
At string - The date and time of the last update of the customer gateway (RFC 3339 format).
- asn int
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- created_
at str - The date and time of the creation of the customer gateway (RFC 3339 format).
- ipv4_
public str - The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6_
public str - The public IPv6 address of the customer gateway (your VPN endpoint).
- name str
- The name of the customer gateway. If not provided, it will be randomly generated.
- organization_
id str - The Organization ID the customer gateway is associated with.
- project_
id str project_id) The ID of the project the customer gateway is associated with.- region str
region) The region in which the customer gateway should be created.- Sequence[str]
- The list of tags to apply to the customer gateway.
- updated_
at str - The date and time of the last update of the customer gateway (RFC 3339 format).
- asn Number
- The AS Number of the customer gateway. Must be different from Scaleway's ASN (12876). For testing, you can use a private ASN (64512-65535).
- created
At String - The date and time of the creation of the customer gateway (RFC 3339 format).
- ipv4Public String
- The public IPv4 address of the customer gateway (your VPN endpoint).
- ipv6Public String
- The public IPv6 address of the customer gateway (your VPN endpoint).
- name String
- The name of the customer gateway. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the customer gateway is associated with.
- project
Id String project_id) The ID of the project the customer gateway is associated with.- region String
region) The region in which the customer gateway should be created.- List<String>
- The list of tags to apply to the customer gateway.
- updated
At String - The date and time of the last update of the customer gateway (RFC 3339 format).
Import
Customer Gateways can be imported using {region}/{id}, e.g.
bash
$ pulumi import scaleway:s2svpn/customerGateway:CustomerGateway 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.
