Creates and manages Scaleway Site-to-Site VPN Gateways. For more information, see the main documentation.
Example Usage
Basic
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,
});
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)
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
}
_, 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
}
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,
});
});
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 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());
}
}
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}
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);@overload
def Gateway(resource_name: str,
args: GatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway_type: Optional[str] = None,
private_network_id: Optional[str] = None,
ipam_private_ipv4_id: Optional[str] = None,
ipam_private_ipv6_id: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
public_configs: Optional[Sequence[GatewayPublicConfigArgs]] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
zone: Optional[str] = None)func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: scaleway:s2svpn:Gateway
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 GatewayArgs
- 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 GatewayArgs
- 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 GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- 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 gatewayResource = new Scaleway.S2svpn.Gateway("gatewayResource", new()
{
GatewayType = "string",
PrivateNetworkId = "string",
IpamPrivateIpv4Id = "string",
IpamPrivateIpv6Id = "string",
Name = "string",
ProjectId = "string",
PublicConfigs = new[]
{
new Scaleway.S2svpn.Inputs.GatewayPublicConfigArgs
{
IpamIpv4Id = "string",
IpamIpv6Id = "string",
},
},
Region = "string",
Tags = new[]
{
"string",
},
Zone = "string",
});
example, err := s2svpn.NewGateway(ctx, "gatewayResource", &s2svpn.GatewayArgs{
GatewayType: pulumi.String("string"),
PrivateNetworkId: pulumi.String("string"),
IpamPrivateIpv4Id: pulumi.String("string"),
IpamPrivateIpv6Id: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.String("string"),
PublicConfigs: s2svpn.GatewayPublicConfigArray{
&s2svpn.GatewayPublicConfigArgs{
IpamIpv4Id: pulumi.String("string"),
IpamIpv6Id: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Zone: pulumi.String("string"),
})
var gatewayResource = new Gateway("gatewayResource", GatewayArgs.builder()
.gatewayType("string")
.privateNetworkId("string")
.ipamPrivateIpv4Id("string")
.ipamPrivateIpv6Id("string")
.name("string")
.projectId("string")
.publicConfigs(GatewayPublicConfigArgs.builder()
.ipamIpv4Id("string")
.ipamIpv6Id("string")
.build())
.region("string")
.tags("string")
.zone("string")
.build());
gateway_resource = scaleway.s2svpn.Gateway("gatewayResource",
gateway_type="string",
private_network_id="string",
ipam_private_ipv4_id="string",
ipam_private_ipv6_id="string",
name="string",
project_id="string",
public_configs=[{
"ipam_ipv4_id": "string",
"ipam_ipv6_id": "string",
}],
region="string",
tags=["string"],
zone="string")
const gatewayResource = new scaleway.s2svpn.Gateway("gatewayResource", {
gatewayType: "string",
privateNetworkId: "string",
ipamPrivateIpv4Id: "string",
ipamPrivateIpv6Id: "string",
name: "string",
projectId: "string",
publicConfigs: [{
ipamIpv4Id: "string",
ipamIpv6Id: "string",
}],
region: "string",
tags: ["string"],
zone: "string",
});
type: scaleway:s2svpn:Gateway
properties:
gatewayType: string
ipamPrivateIpv4Id: string
ipamPrivateIpv6Id: string
name: string
privateNetworkId: string
projectId: string
publicConfigs:
- ipamIpv4Id: string
ipamIpv6Id: string
region: string
tags:
- string
zone: string
Gateway 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 Gateway resource accepts the following input properties:
- Gateway
Type string - The VPN gateway type (commercial offer type).
- Private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- Ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- Ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- Name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- Project
Id string project_id) The ID of the project the VPN gateway is associated with.- Public
Configs List<Pulumiverse.Scaleway. S2svpn. Inputs. Gateway Public Config> - The public endpoint configuration of the VPN gateway. See Public Config below.
- Region string
region) The region in which the VPN gateway should be created.- List<string>
- The list of tags to apply to the VPN gateway.
- Zone string
zone) The zone in which the VPN gateway should be created.
- Gateway
Type string - The VPN gateway type (commercial offer type).
- Private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- Ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- Ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- Name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- Project
Id string project_id) The ID of the project the VPN gateway is associated with.- Public
Configs []GatewayPublic Config Args - The public endpoint configuration of the VPN gateway. See Public Config below.
- Region string
region) The region in which the VPN gateway should be created.- []string
- The list of tags to apply to the VPN gateway.
- Zone string
zone) The zone in which the VPN gateway should be created.
- gateway
Type String - The VPN gateway type (commercial offer type).
- private
Network StringId - The ID of the Private Network to attach to the VPN gateway.
- ipam
Private StringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private StringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name String
- The name of the VPN gateway. If not provided, it will be randomly generated.
- project
Id String project_id) The ID of the project the VPN gateway is associated with.- public
Configs List<GatewayPublic Config> - The public endpoint configuration of the VPN gateway. See Public Config below.
- region String
region) The region in which the VPN gateway should be created.- List<String>
- The list of tags to apply to the VPN gateway.
- zone String
zone) The zone in which the VPN gateway should be created.
- gateway
Type string - The VPN gateway type (commercial offer type).
- private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- project
Id string project_id) The ID of the project the VPN gateway is associated with.- public
Configs GatewayPublic Config[] - The public endpoint configuration of the VPN gateway. See Public Config below.
- region string
region) The region in which the VPN gateway should be created.- string[]
- The list of tags to apply to the VPN gateway.
- zone string
zone) The zone in which the VPN gateway should be created.
- gateway_
type str - The VPN gateway type (commercial offer type).
- private_
network_ strid - The ID of the Private Network to attach to the VPN gateway.
- ipam_
private_ stripv4_ id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam_
private_ stripv6_ id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name str
- The name of the VPN gateway. If not provided, it will be randomly generated.
- project_
id str project_id) The ID of the project the VPN gateway is associated with.- public_
configs Sequence[GatewayPublic Config Args] - The public endpoint configuration of the VPN gateway. See Public Config below.
- region str
region) The region in which the VPN gateway should be created.- Sequence[str]
- The list of tags to apply to the VPN gateway.
- zone str
zone) The zone in which the VPN gateway should be created.
- gateway
Type String - The VPN gateway type (commercial offer type).
- private
Network StringId - The ID of the Private Network to attach to the VPN gateway.
- ipam
Private StringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private StringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name String
- The name of the VPN gateway. If not provided, it will be randomly generated.
- project
Id String project_id) The ID of the project the VPN gateway is associated with.- public
Configs List<Property Map> - The public endpoint configuration of the VPN gateway. See Public Config below.
- region String
region) The region in which the VPN gateway should be created.- List<String>
- The list of tags to apply to the VPN gateway.
- zone String
zone) The zone in which the VPN gateway should be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Asn int
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- Created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the VPN gateway is associated with.
- Status string
- The status of the VPN gateway.
- Updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- Asn int
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- Created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - The Organization ID the VPN gateway is associated with.
- Status string
- The status of the VPN gateway.
- Updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- asn Integer
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At String - The date and time of the creation of the VPN gateway (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the VPN gateway is associated with.
- status String
- The status of the VPN gateway.
- updated
At String - The date and time of the last update of the VPN gateway (RFC 3339 format).
- asn number
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - The Organization ID the VPN gateway is associated with.
- status string
- The status of the VPN gateway.
- updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- asn int
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created_
at str - The date and time of the creation of the VPN gateway (RFC 3339 format).
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - The Organization ID the VPN gateway is associated with.
- status str
- The status of the VPN gateway.
- updated_
at str - The date and time of the last update of the VPN gateway (RFC 3339 format).
- asn Number
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At String - The date and time of the creation of the VPN gateway (RFC 3339 format).
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - The Organization ID the VPN gateway is associated with.
- status String
- The status of the VPN gateway.
- updated
At String - The date and time of the last update of the VPN gateway (RFC 3339 format).
Look up Existing Gateway Resource
Get an existing Gateway 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?: GatewayState, opts?: CustomResourceOptions): Gateway@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asn: Optional[int] = None,
created_at: Optional[str] = None,
gateway_type: Optional[str] = None,
ipam_private_ipv4_id: Optional[str] = None,
ipam_private_ipv6_id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
private_network_id: Optional[str] = None,
project_id: Optional[str] = None,
public_configs: Optional[Sequence[GatewayPublicConfigArgs]] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
zone: Optional[str] = None) -> Gatewayfunc GetGateway(ctx *Context, name string, id IDInput, state *GatewayState, opts ...ResourceOption) (*Gateway, error)public static Gateway Get(string name, Input<string> id, GatewayState? state, CustomResourceOptions? opts = null)public static Gateway get(String name, Output<String> id, GatewayState state, CustomResourceOptions options)resources: _: type: scaleway:s2svpn:Gateway 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 VPN gateway (typically 12876 for Scaleway).
- Created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- Gateway
Type string - The VPN gateway type (commercial offer type).
- Ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- Ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- Name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the VPN gateway is associated with.
- Private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- Project
Id string project_id) The ID of the project the VPN gateway is associated with.- Public
Configs List<Pulumiverse.Scaleway. S2svpn. Inputs. Gateway Public Config> - The public endpoint configuration of the VPN gateway. See Public Config below.
- Region string
region) The region in which the VPN gateway should be created.- Status string
- The status of the VPN gateway.
- List<string>
- The list of tags to apply to the VPN gateway.
- Updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- Zone string
zone) The zone in which the VPN gateway should be created.
- Asn int
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- Created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- Gateway
Type string - The VPN gateway type (commercial offer type).
- Ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- Ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- Name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- Organization
Id string - The Organization ID the VPN gateway is associated with.
- Private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- Project
Id string project_id) The ID of the project the VPN gateway is associated with.- Public
Configs []GatewayPublic Config Args - The public endpoint configuration of the VPN gateway. See Public Config below.
- Region string
region) The region in which the VPN gateway should be created.- Status string
- The status of the VPN gateway.
- []string
- The list of tags to apply to the VPN gateway.
- Updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- Zone string
zone) The zone in which the VPN gateway should be created.
- asn Integer
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At String - The date and time of the creation of the VPN gateway (RFC 3339 format).
- gateway
Type String - The VPN gateway type (commercial offer type).
- ipam
Private StringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private StringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name String
- The name of the VPN gateway. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the VPN gateway is associated with.
- private
Network StringId - The ID of the Private Network to attach to the VPN gateway.
- project
Id String project_id) The ID of the project the VPN gateway is associated with.- public
Configs List<GatewayPublic Config> - The public endpoint configuration of the VPN gateway. See Public Config below.
- region String
region) The region in which the VPN gateway should be created.- status String
- The status of the VPN gateway.
- List<String>
- The list of tags to apply to the VPN gateway.
- updated
At String - The date and time of the last update of the VPN gateway (RFC 3339 format).
- zone String
zone) The zone in which the VPN gateway should be created.
- asn number
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At string - The date and time of the creation of the VPN gateway (RFC 3339 format).
- gateway
Type string - The VPN gateway type (commercial offer type).
- ipam
Private stringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private stringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name string
- The name of the VPN gateway. If not provided, it will be randomly generated.
- organization
Id string - The Organization ID the VPN gateway is associated with.
- private
Network stringId - The ID of the Private Network to attach to the VPN gateway.
- project
Id string project_id) The ID of the project the VPN gateway is associated with.- public
Configs GatewayPublic Config[] - The public endpoint configuration of the VPN gateway. See Public Config below.
- region string
region) The region in which the VPN gateway should be created.- status string
- The status of the VPN gateway.
- string[]
- The list of tags to apply to the VPN gateway.
- updated
At string - The date and time of the last update of the VPN gateway (RFC 3339 format).
- zone string
zone) The zone in which the VPN gateway should be created.
- asn int
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created_
at str - The date and time of the creation of the VPN gateway (RFC 3339 format).
- gateway_
type str - The VPN gateway type (commercial offer type).
- ipam_
private_ stripv4_ id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam_
private_ stripv6_ id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name str
- The name of the VPN gateway. If not provided, it will be randomly generated.
- organization_
id str - The Organization ID the VPN gateway is associated with.
- private_
network_ strid - The ID of the Private Network to attach to the VPN gateway.
- project_
id str project_id) The ID of the project the VPN gateway is associated with.- public_
configs Sequence[GatewayPublic Config Args] - The public endpoint configuration of the VPN gateway. See Public Config below.
- region str
region) The region in which the VPN gateway should be created.- status str
- The status of the VPN gateway.
- Sequence[str]
- The list of tags to apply to the VPN gateway.
- updated_
at str - The date and time of the last update of the VPN gateway (RFC 3339 format).
- zone str
zone) The zone in which the VPN gateway should be created.
- asn Number
- The AS Number of the VPN gateway (typically 12876 for Scaleway).
- created
At String - The date and time of the creation of the VPN gateway (RFC 3339 format).
- gateway
Type String - The VPN gateway type (commercial offer type).
- ipam
Private StringIpv4Id - The ID of the IPAM private IPv4 address to attach to the VPN gateway.
- ipam
Private StringIpv6Id - The ID of the IPAM private IPv6 address to attach to the VPN gateway.
- name String
- The name of the VPN gateway. If not provided, it will be randomly generated.
- organization
Id String - The Organization ID the VPN gateway is associated with.
- private
Network StringId - The ID of the Private Network to attach to the VPN gateway.
- project
Id String project_id) The ID of the project the VPN gateway is associated with.- public
Configs List<Property Map> - The public endpoint configuration of the VPN gateway. See Public Config below.
- region String
region) The region in which the VPN gateway should be created.- status String
- The status of the VPN gateway.
- List<String>
- The list of tags to apply to the VPN gateway.
- updated
At String - The date and time of the last update of the VPN gateway (RFC 3339 format).
- zone String
zone) The zone in which the VPN gateway should be created.
Supporting Types
GatewayPublicConfig, GatewayPublicConfigArgs
- Ipam
Ipv4Id string - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- Ipam
Ipv6Id string - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
- Ipam
Ipv4Id string - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- Ipam
Ipv6Id string - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
- ipam
Ipv4Id String - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- ipam
Ipv6Id String - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
- ipam
Ipv4Id string - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- ipam
Ipv6Id string - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
- ipam_
ipv4_ strid - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- ipam_
ipv6_ strid - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
- ipam
Ipv4Id String - The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
- ipam
Ipv6Id String - The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
Import
VPN Gateways can be imported using {region}/{id}, e.g.
bash
$ pulumi import scaleway:s2svpn/gateway:Gateway 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.
