1. Packages
  2. Scaleway
  3. API Docs
  4. s2svpn
  5. Gateway
Scaleway v1.41.1 published on Monday, Jan 12, 2026 by pulumiverse
scaleway logo
Scaleway v1.41.1 published on Monday, Jan 12, 2026 by pulumiverse

    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:

    GatewayType string
    The VPN gateway type (commercial offer type).
    PrivateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    IpamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    IpamPrivateIpv6Id string
    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.
    ProjectId string
    project_id) The ID of the project the VPN gateway is associated with.
    PublicConfigs List<Pulumiverse.Scaleway.S2svpn.Inputs.GatewayPublicConfig>
    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.
    Tags 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.
    GatewayType string
    The VPN gateway type (commercial offer type).
    PrivateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    IpamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    IpamPrivateIpv6Id string
    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.
    ProjectId string
    project_id) The ID of the project the VPN gateway is associated with.
    PublicConfigs []GatewayPublicConfigArgs
    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.
    Tags []string
    The list of tags to apply to the VPN gateway.
    Zone string
    zone) The zone in which the VPN gateway should be created.
    gatewayType String
    The VPN gateway type (commercial offer type).
    privateNetworkId String
    The ID of the Private Network to attach to the VPN gateway.
    ipamPrivateIpv4Id String
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id String
    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.
    projectId String
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs List<GatewayPublicConfig>
    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.
    tags 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.
    gatewayType string
    The VPN gateway type (commercial offer type).
    privateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    ipamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id string
    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.
    projectId string
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs GatewayPublicConfig[]
    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.
    tags 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_id str
    The ID of the Private Network to attach to the VPN gateway.
    ipam_private_ipv4_id str
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipam_private_ipv6_id str
    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[GatewayPublicConfigArgs]
    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.
    tags 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.
    gatewayType String
    The VPN gateway type (commercial offer type).
    privateNetworkId String
    The ID of the Private Network to attach to the VPN gateway.
    ipamPrivateIpv4Id String
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id String
    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.
    projectId String
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs 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.
    tags 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).
    CreatedAt 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.
    OrganizationId string
    The Organization ID the VPN gateway is associated with.
    Status string
    The status of the VPN gateway.
    UpdatedAt 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).
    CreatedAt 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.
    OrganizationId string
    The Organization ID the VPN gateway is associated with.
    Status string
    The status of the VPN gateway.
    UpdatedAt 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).
    createdAt 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.
    organizationId String
    The Organization ID the VPN gateway is associated with.
    status String
    The status of the VPN gateway.
    updatedAt 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).
    createdAt 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.
    organizationId string
    The Organization ID the VPN gateway is associated with.
    status string
    The status of the VPN gateway.
    updatedAt 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).
    createdAt 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.
    organizationId String
    The Organization ID the VPN gateway is associated with.
    status String
    The status of the VPN gateway.
    updatedAt 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) -> Gateway
    func 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.
    The following state arguments are supported:
    Asn int
    The AS Number of the VPN gateway (typically 12876 for Scaleway).
    CreatedAt string
    The date and time of the creation of the VPN gateway (RFC 3339 format).
    GatewayType string
    The VPN gateway type (commercial offer type).
    IpamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    IpamPrivateIpv6Id string
    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.
    OrganizationId string
    The Organization ID the VPN gateway is associated with.
    PrivateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    ProjectId string
    project_id) The ID of the project the VPN gateway is associated with.
    PublicConfigs List<Pulumiverse.Scaleway.S2svpn.Inputs.GatewayPublicConfig>
    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.
    Tags List<string>
    The list of tags to apply to the VPN gateway.
    UpdatedAt 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).
    CreatedAt string
    The date and time of the creation of the VPN gateway (RFC 3339 format).
    GatewayType string
    The VPN gateway type (commercial offer type).
    IpamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    IpamPrivateIpv6Id string
    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.
    OrganizationId string
    The Organization ID the VPN gateway is associated with.
    PrivateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    ProjectId string
    project_id) The ID of the project the VPN gateway is associated with.
    PublicConfigs []GatewayPublicConfigArgs
    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.
    Tags []string
    The list of tags to apply to the VPN gateway.
    UpdatedAt 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).
    createdAt String
    The date and time of the creation of the VPN gateway (RFC 3339 format).
    gatewayType String
    The VPN gateway type (commercial offer type).
    ipamPrivateIpv4Id String
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id String
    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.
    organizationId String
    The Organization ID the VPN gateway is associated with.
    privateNetworkId String
    The ID of the Private Network to attach to the VPN gateway.
    projectId String
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs List<GatewayPublicConfig>
    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.
    tags List<String>
    The list of tags to apply to the VPN gateway.
    updatedAt 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).
    createdAt string
    The date and time of the creation of the VPN gateway (RFC 3339 format).
    gatewayType string
    The VPN gateway type (commercial offer type).
    ipamPrivateIpv4Id string
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id string
    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.
    organizationId string
    The Organization ID the VPN gateway is associated with.
    privateNetworkId string
    The ID of the Private Network to attach to the VPN gateway.
    projectId string
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs GatewayPublicConfig[]
    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.
    tags string[]
    The list of tags to apply to the VPN gateway.
    updatedAt 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_ipv4_id str
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipam_private_ipv6_id str
    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_id str
    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[GatewayPublicConfigArgs]
    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.
    tags 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).
    createdAt String
    The date and time of the creation of the VPN gateway (RFC 3339 format).
    gatewayType String
    The VPN gateway type (commercial offer type).
    ipamPrivateIpv4Id String
    The ID of the IPAM private IPv4 address to attach to the VPN gateway.
    ipamPrivateIpv6Id String
    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.
    organizationId String
    The Organization ID the VPN gateway is associated with.
    privateNetworkId String
    The ID of the Private Network to attach to the VPN gateway.
    projectId String
    project_id) The ID of the project the VPN gateway is associated with.
    publicConfigs 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.
    tags List<String>
    The list of tags to apply to the VPN gateway.
    updatedAt 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

    IpamIpv4Id string
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    IpamIpv6Id string
    The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
    IpamIpv4Id string
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    IpamIpv6Id string
    The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
    ipamIpv4Id String
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    ipamIpv6Id String
    The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
    ipamIpv4Id string
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    ipamIpv6Id string
    The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
    ipam_ipv4_id str
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    ipam_ipv6_id str
    The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
    ipamIpv4Id String
    The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
    ipamIpv6Id 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 scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.41.1 published on Monday, Jan 12, 2026 by pulumiverse
      Meet Neo: Your AI Platform Teammate