@pulumiverse/scaleway 1.39.0 → 1.40.0-alpha.1766140471
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getKeyManagerKey.d.ts +132 -0
- package/getKeyManagerKey.js +102 -0
- package/getKeyManagerKey.js.map +1 -0
- package/index.d.ts +5 -1
- package/index.js +10 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/s2svpn/connection.d.ts +361 -0
- package/s2svpn/connection.js +168 -0
- package/s2svpn/connection.js.map +1 -0
- package/s2svpn/customerGateway.d.ts +209 -0
- package/s2svpn/customerGateway.js +135 -0
- package/s2svpn/customerGateway.js.map +1 -0
- package/s2svpn/gateway.d.ts +235 -0
- package/s2svpn/gateway.js +120 -0
- package/s2svpn/gateway.js.map +1 -0
- package/s2svpn/index.d.ts +12 -0
- package/s2svpn/index.js +37 -0
- package/s2svpn/index.js.map +1 -0
- package/s2svpn/routingPolicy.d.ts +194 -0
- package/s2svpn/routingPolicy.js +117 -0
- package/s2svpn/routingPolicy.js.map +1 -0
- package/types/input.d.ts +96 -0
- package/types/output.d.ts +106 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Gateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Site-to-Site VPN Gateways.
|
|
10
|
+
* For more information, see [the main documentation](https://www.scaleway.com/en/docs/site-to-site-vpn/reference-content/understanding-s2svpn/).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ### Basic
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
|
+
*
|
|
20
|
+
* const vpc = new scaleway.network.Vpc("vpc", {name: "my-vpc"});
|
|
21
|
+
* const pn = new scaleway.network.PrivateNetwork("pn", {
|
|
22
|
+
* name: "my-private-network",
|
|
23
|
+
* vpcId: vpc.id,
|
|
24
|
+
* ipv4Subnet: {
|
|
25
|
+
* subnet: "10.0.1.0/24",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* const gateway = new scaleway.s2svpn.Gateway("gateway", {
|
|
29
|
+
* name: "my-vpn-gateway",
|
|
30
|
+
* gatewayType: "VGW-S",
|
|
31
|
+
* privateNetworkId: pn.id,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* VPN Gateways can be imported using `{region}/{id}`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* bash
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import scaleway:s2svpn/gateway:Gateway main fr-par/11111111-1111-1111-1111-111111111111
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class Gateway extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new Gateway(name, state, { ...opts, id: id });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === Gateway.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["asn"] = state?.asn;
|
|
74
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
75
|
+
resourceInputs["gatewayType"] = state?.gatewayType;
|
|
76
|
+
resourceInputs["ipamPrivateIpv4Id"] = state?.ipamPrivateIpv4Id;
|
|
77
|
+
resourceInputs["ipamPrivateIpv6Id"] = state?.ipamPrivateIpv6Id;
|
|
78
|
+
resourceInputs["name"] = state?.name;
|
|
79
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
80
|
+
resourceInputs["privateNetworkId"] = state?.privateNetworkId;
|
|
81
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
82
|
+
resourceInputs["publicConfigs"] = state?.publicConfigs;
|
|
83
|
+
resourceInputs["region"] = state?.region;
|
|
84
|
+
resourceInputs["status"] = state?.status;
|
|
85
|
+
resourceInputs["tags"] = state?.tags;
|
|
86
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
87
|
+
resourceInputs["zone"] = state?.zone;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
if (args?.gatewayType === undefined && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'gatewayType'");
|
|
93
|
+
}
|
|
94
|
+
if (args?.privateNetworkId === undefined && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'privateNetworkId'");
|
|
96
|
+
}
|
|
97
|
+
resourceInputs["gatewayType"] = args?.gatewayType;
|
|
98
|
+
resourceInputs["ipamPrivateIpv4Id"] = args?.ipamPrivateIpv4Id;
|
|
99
|
+
resourceInputs["ipamPrivateIpv6Id"] = args?.ipamPrivateIpv6Id;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["privateNetworkId"] = args?.privateNetworkId;
|
|
102
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
103
|
+
resourceInputs["publicConfigs"] = args?.publicConfigs;
|
|
104
|
+
resourceInputs["region"] = args?.region;
|
|
105
|
+
resourceInputs["tags"] = args?.tags;
|
|
106
|
+
resourceInputs["zone"] = args?.zone;
|
|
107
|
+
resourceInputs["asn"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.Gateway = Gateway;
|
|
118
|
+
/** @internal */
|
|
119
|
+
Gateway.__pulumiType = 'scaleway:s2svpn/gateway:Gateway';
|
|
120
|
+
//# sourceMappingURL=gateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../s2svpn/gateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI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C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/IL,0BAgJC;AAlIG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { ConnectionArgs, ConnectionState } from "./connection";
|
|
2
|
+
export type Connection = import("./connection").Connection;
|
|
3
|
+
export declare const Connection: typeof import("./connection").Connection;
|
|
4
|
+
export { CustomerGatewayArgs, CustomerGatewayState } from "./customerGateway";
|
|
5
|
+
export type CustomerGateway = import("./customerGateway").CustomerGateway;
|
|
6
|
+
export declare const CustomerGateway: typeof import("./customerGateway").CustomerGateway;
|
|
7
|
+
export { GatewayArgs, GatewayState } from "./gateway";
|
|
8
|
+
export type Gateway = import("./gateway").Gateway;
|
|
9
|
+
export declare const Gateway: typeof import("./gateway").Gateway;
|
|
10
|
+
export { RoutingPolicyArgs, RoutingPolicyState } from "./routingPolicy";
|
|
11
|
+
export type RoutingPolicy = import("./routingPolicy").RoutingPolicy;
|
|
12
|
+
export declare const RoutingPolicy: typeof import("./routingPolicy").RoutingPolicy;
|
package/s2svpn/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RoutingPolicy = exports.Gateway = exports.CustomerGateway = exports.Connection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.Connection = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
|
|
10
|
+
exports.CustomerGateway = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["CustomerGateway"], () => require("./customerGateway"));
|
|
12
|
+
exports.Gateway = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
|
|
14
|
+
exports.RoutingPolicy = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["RoutingPolicy"], () => require("./routingPolicy"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "scaleway:s2svpn/connection:Connection":
|
|
21
|
+
return new exports.Connection(name, undefined, { urn });
|
|
22
|
+
case "scaleway:s2svpn/customerGateway:CustomerGateway":
|
|
23
|
+
return new exports.CustomerGateway(name, undefined, { urn });
|
|
24
|
+
case "scaleway:s2svpn/gateway:Gateway":
|
|
25
|
+
return new exports.Gateway(name, undefined, { urn });
|
|
26
|
+
case "scaleway:s2svpn/routingPolicy:RoutingPolicy":
|
|
27
|
+
return new exports.RoutingPolicy(name, undefined, { urn });
|
|
28
|
+
default:
|
|
29
|
+
throw new Error(`unknown resource type ${type}`);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
pulumi.runtime.registerResourceModule("scaleway", "s2svpn/connection", _module);
|
|
34
|
+
pulumi.runtime.registerResourceModule("scaleway", "s2svpn/customerGateway", _module);
|
|
35
|
+
pulumi.runtime.registerResourceModule("scaleway", "s2svpn/gateway", _module);
|
|
36
|
+
pulumi.runtime.registerResourceModule("scaleway", "s2svpn/rout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D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Creates and manages Scaleway Site-to-Site VPN Routing Policies.
|
|
4
|
+
* A routing policy defines which routes are accepted from and advertised to the peer gateway via BGP.
|
|
5
|
+
*
|
|
6
|
+
* For more information, see [the main documentation](https://www.scaleway.com/en/docs/site-to-site-vpn/reference-content/understanding-s2svpn/).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### Basic
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
15
|
+
*
|
|
16
|
+
* const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
|
|
17
|
+
* name: "my-routing-policy",
|
|
18
|
+
* prefixFilterIns: ["10.0.2.0/24"],
|
|
19
|
+
* prefixFilterOuts: ["10.0.1.0/24"],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Multiple Prefixes
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
28
|
+
*
|
|
29
|
+
* const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
|
|
30
|
+
* name: "my-routing-policy",
|
|
31
|
+
* prefixFilterIns: [
|
|
32
|
+
* "10.0.2.0/24",
|
|
33
|
+
* "10.0.3.0/24",
|
|
34
|
+
* ],
|
|
35
|
+
* prefixFilterOuts: [
|
|
36
|
+
* "10.0.1.0/24",
|
|
37
|
+
* "172.16.0.0/16",
|
|
38
|
+
* ],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Routing Policies can be imported using `{region}/{id}`, e.g.
|
|
45
|
+
*
|
|
46
|
+
* bash
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import scaleway:s2svpn/routingPolicy:RoutingPolicy main fr-par/11111111-1111-1111-1111-111111111111
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class RoutingPolicy extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing RoutingPolicy resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoutingPolicyState, opts?: pulumi.CustomResourceOptions): RoutingPolicy;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of RoutingPolicy. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is RoutingPolicy;
|
|
68
|
+
/**
|
|
69
|
+
* The date and time of the creation of the routing policy (RFC 3339 format).
|
|
70
|
+
*/
|
|
71
|
+
readonly createdAt: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Defines whether the routing policy is for IPv6 prefixes. Defaults to `false` (IPv4).
|
|
74
|
+
*/
|
|
75
|
+
readonly isIpv6: pulumi.Output<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the routing policy. If not provided, it will be randomly generated.
|
|
78
|
+
*/
|
|
79
|
+
readonly name: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The Organization ID the routing policy is associated with.
|
|
82
|
+
*/
|
|
83
|
+
readonly organizationId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* List of IP prefixes (in CIDR notation) to accept from the peer gateway. These are the routes that the customer gateway can announce to Scaleway.
|
|
86
|
+
*/
|
|
87
|
+
readonly prefixFilterIns: pulumi.Output<string[] | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* List of IP prefixes (in CIDR notation) to advertise to the peer gateway. These are the routes that Scaleway will announce to the customer gateway.
|
|
90
|
+
*/
|
|
91
|
+
readonly prefixFilterOuts: pulumi.Output<string[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* `projectId`) The ID of the project the routing policy is associated with.
|
|
94
|
+
*/
|
|
95
|
+
readonly projectId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* `region`) The region in which the routing policy should be created.
|
|
98
|
+
*/
|
|
99
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* The list of tags to apply to the routing policy.
|
|
102
|
+
*/
|
|
103
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The date and time of the last update of the routing policy (RFC 3339 format).
|
|
106
|
+
*/
|
|
107
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Create a RoutingPolicy resource with the given unique name, arguments, and options.
|
|
110
|
+
*
|
|
111
|
+
* @param name The _unique_ name of the resource.
|
|
112
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
113
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
114
|
+
*/
|
|
115
|
+
constructor(name: string, args?: RoutingPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Input properties used for looking up and filtering RoutingPolicy resources.
|
|
119
|
+
*/
|
|
120
|
+
export interface RoutingPolicyState {
|
|
121
|
+
/**
|
|
122
|
+
* The date and time of the creation of the routing policy (RFC 3339 format).
|
|
123
|
+
*/
|
|
124
|
+
createdAt?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Defines whether the routing policy is for IPv6 prefixes. Defaults to `false` (IPv4).
|
|
127
|
+
*/
|
|
128
|
+
isIpv6?: pulumi.Input<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* The name of the routing policy. If not provided, it will be randomly generated.
|
|
131
|
+
*/
|
|
132
|
+
name?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The Organization ID the routing policy is associated with.
|
|
135
|
+
*/
|
|
136
|
+
organizationId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* List of IP prefixes (in CIDR notation) to accept from the peer gateway. These are the routes that the customer gateway can announce to Scaleway.
|
|
139
|
+
*/
|
|
140
|
+
prefixFilterIns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* List of IP prefixes (in CIDR notation) to advertise to the peer gateway. These are the routes that Scaleway will announce to the customer gateway.
|
|
143
|
+
*/
|
|
144
|
+
prefixFilterOuts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
145
|
+
/**
|
|
146
|
+
* `projectId`) The ID of the project the routing policy is associated with.
|
|
147
|
+
*/
|
|
148
|
+
projectId?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* `region`) The region in which the routing policy should be created.
|
|
151
|
+
*/
|
|
152
|
+
region?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The list of tags to apply to the routing policy.
|
|
155
|
+
*/
|
|
156
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* The date and time of the last update of the routing policy (RFC 3339 format).
|
|
159
|
+
*/
|
|
160
|
+
updatedAt?: pulumi.Input<string>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The set of arguments for constructing a RoutingPolicy resource.
|
|
164
|
+
*/
|
|
165
|
+
export interface RoutingPolicyArgs {
|
|
166
|
+
/**
|
|
167
|
+
* Defines whether the routing policy is for IPv6 prefixes. Defaults to `false` (IPv4).
|
|
168
|
+
*/
|
|
169
|
+
isIpv6?: pulumi.Input<boolean>;
|
|
170
|
+
/**
|
|
171
|
+
* The name of the routing policy. If not provided, it will be randomly generated.
|
|
172
|
+
*/
|
|
173
|
+
name?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* List of IP prefixes (in CIDR notation) to accept from the peer gateway. These are the routes that the customer gateway can announce to Scaleway.
|
|
176
|
+
*/
|
|
177
|
+
prefixFilterIns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
178
|
+
/**
|
|
179
|
+
* List of IP prefixes (in CIDR notation) to advertise to the peer gateway. These are the routes that Scaleway will announce to the customer gateway.
|
|
180
|
+
*/
|
|
181
|
+
prefixFilterOuts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
|
+
/**
|
|
183
|
+
* `projectId`) The ID of the project the routing policy is associated with.
|
|
184
|
+
*/
|
|
185
|
+
projectId?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* `region`) The region in which the routing policy should be created.
|
|
188
|
+
*/
|
|
189
|
+
region?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The list of tags to apply to the routing policy.
|
|
192
|
+
*/
|
|
193
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
194
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RoutingPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Creates and manages Scaleway Site-to-Site VPN Routing Policies.
|
|
10
|
+
* A routing policy defines which routes are accepted from and advertised to the peer gateway via BGP.
|
|
11
|
+
*
|
|
12
|
+
* For more information, see [the main documentation](https://www.scaleway.com/en/docs/site-to-site-vpn/reference-content/understanding-s2svpn/).
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ### Basic
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
21
|
+
*
|
|
22
|
+
* const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
|
|
23
|
+
* name: "my-routing-policy",
|
|
24
|
+
* prefixFilterIns: ["10.0.2.0/24"],
|
|
25
|
+
* prefixFilterOuts: ["10.0.1.0/24"],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ### Multiple Prefixes
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as scaleway from "@pulumiverse/scaleway";
|
|
34
|
+
*
|
|
35
|
+
* const policy = new scaleway.s2svpn.RoutingPolicy("policy", {
|
|
36
|
+
* name: "my-routing-policy",
|
|
37
|
+
* prefixFilterIns: [
|
|
38
|
+
* "10.0.2.0/24",
|
|
39
|
+
* "10.0.3.0/24",
|
|
40
|
+
* ],
|
|
41
|
+
* prefixFilterOuts: [
|
|
42
|
+
* "10.0.1.0/24",
|
|
43
|
+
* "172.16.0.0/16",
|
|
44
|
+
* ],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* Routing Policies can be imported using `{region}/{id}`, e.g.
|
|
51
|
+
*
|
|
52
|
+
* bash
|
|
53
|
+
*
|
|
54
|
+
* ```sh
|
|
55
|
+
* $ pulumi import scaleway:s2svpn/routingPolicy:RoutingPolicy main fr-par/11111111-1111-1111-1111-111111111111
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
class RoutingPolicy extends pulumi.CustomResource {
|
|
59
|
+
/**
|
|
60
|
+
* Get an existing RoutingPolicy resource's state with the given name, ID, and optional extra
|
|
61
|
+
* properties used to qualify the lookup.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resulting resource.
|
|
64
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
+
* @param state Any extra arguments used during the lookup.
|
|
66
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
+
*/
|
|
68
|
+
static get(name, id, state, opts) {
|
|
69
|
+
return new RoutingPolicy(name, state, { ...opts, id: id });
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of RoutingPolicy. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj) {
|
|
76
|
+
if (obj === undefined || obj === null) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return obj['__pulumiType'] === RoutingPolicy.__pulumiType;
|
|
80
|
+
}
|
|
81
|
+
constructor(name, argsOrState, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (opts.id) {
|
|
85
|
+
const state = argsOrState;
|
|
86
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
87
|
+
resourceInputs["isIpv6"] = state?.isIpv6;
|
|
88
|
+
resourceInputs["name"] = state?.name;
|
|
89
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
90
|
+
resourceInputs["prefixFilterIns"] = state?.prefixFilterIns;
|
|
91
|
+
resourceInputs["prefixFilterOuts"] = state?.prefixFilterOuts;
|
|
92
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
93
|
+
resourceInputs["region"] = state?.region;
|
|
94
|
+
resourceInputs["tags"] = state?.tags;
|
|
95
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const args = argsOrState;
|
|
99
|
+
resourceInputs["isIpv6"] = args?.isIpv6;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["prefixFilterIns"] = args?.prefixFilterIns;
|
|
102
|
+
resourceInputs["prefixFilterOuts"] = args?.prefixFilterOuts;
|
|
103
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
104
|
+
resourceInputs["region"] = args?.region;
|
|
105
|
+
resourceInputs["tags"] = args?.tags;
|
|
106
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
109
|
+
}
|
|
110
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
super(RoutingPolicy.__pulumiType, name, resourceInputs, opts);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.RoutingPolicy = RoutingPolicy;
|
|
115
|
+
/** @internal */
|
|
116
|
+
RoutingPolicy.__pulumiType = 'scaleway:s2svpn/routingPolicy:RoutingPolicy';
|
|
117
|
+
//# sourceMappingURL=routingPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routingPolicy.js","sourceRoot":"","sources":["../../s2svpn/routingPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,MAAM,CAAC,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nE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA3GL,sCA4GC;AA9FG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -5107,6 +5107,102 @@ export declare namespace redis {
|
|
|
5107
5107
|
port?: pulumi.Input<number>;
|
|
5108
5108
|
}
|
|
5109
5109
|
}
|
|
5110
|
+
export declare namespace s2svpn {
|
|
5111
|
+
interface ConnectionBgpConfigIpv4 {
|
|
5112
|
+
/**
|
|
5113
|
+
* The BGP peer IP on customer side (within the tunnel).
|
|
5114
|
+
*/
|
|
5115
|
+
peerPrivateIp?: pulumi.Input<string>;
|
|
5116
|
+
/**
|
|
5117
|
+
* The BGP peer IP on Scaleway side (within the tunnel).
|
|
5118
|
+
*/
|
|
5119
|
+
privateIp?: pulumi.Input<string>;
|
|
5120
|
+
/**
|
|
5121
|
+
* The routing policy ID used for this BGP session.
|
|
5122
|
+
*/
|
|
5123
|
+
routingPolicyId: pulumi.Input<string>;
|
|
5124
|
+
}
|
|
5125
|
+
interface ConnectionBgpConfigIpv6 {
|
|
5126
|
+
/**
|
|
5127
|
+
* The BGP peer IP on customer side (within the tunnel).
|
|
5128
|
+
*/
|
|
5129
|
+
peerPrivateIp?: pulumi.Input<string>;
|
|
5130
|
+
/**
|
|
5131
|
+
* The BGP peer IP on Scaleway side (within the tunnel).
|
|
5132
|
+
*/
|
|
5133
|
+
privateIp?: pulumi.Input<string>;
|
|
5134
|
+
/**
|
|
5135
|
+
* The routing policy ID used for this BGP session.
|
|
5136
|
+
*/
|
|
5137
|
+
routingPolicyId: pulumi.Input<string>;
|
|
5138
|
+
}
|
|
5139
|
+
interface ConnectionBgpSessionIpv4 {
|
|
5140
|
+
/**
|
|
5141
|
+
* The BGP peer IP on customer side (within the tunnel).
|
|
5142
|
+
*/
|
|
5143
|
+
peerPrivateIp?: pulumi.Input<string>;
|
|
5144
|
+
/**
|
|
5145
|
+
* The BGP peer IP on Scaleway side (within the tunnel).
|
|
5146
|
+
*/
|
|
5147
|
+
privateIp?: pulumi.Input<string>;
|
|
5148
|
+
/**
|
|
5149
|
+
* The routing policy ID used for this BGP session.
|
|
5150
|
+
*/
|
|
5151
|
+
routingPolicyId?: pulumi.Input<string>;
|
|
5152
|
+
}
|
|
5153
|
+
interface ConnectionBgpSessionIpv6 {
|
|
5154
|
+
/**
|
|
5155
|
+
* The BGP peer IP on customer side (within the tunnel).
|
|
5156
|
+
*/
|
|
5157
|
+
peerPrivateIp?: pulumi.Input<string>;
|
|
5158
|
+
/**
|
|
5159
|
+
* The BGP peer IP on Scaleway side (within the tunnel).
|
|
5160
|
+
*/
|
|
5161
|
+
privateIp?: pulumi.Input<string>;
|
|
5162
|
+
/**
|
|
5163
|
+
* The routing policy ID used for this BGP session.
|
|
5164
|
+
*/
|
|
5165
|
+
routingPolicyId?: pulumi.Input<string>;
|
|
5166
|
+
}
|
|
5167
|
+
interface ConnectionEspCipher {
|
|
5168
|
+
/**
|
|
5169
|
+
* The Diffie-Hellman group
|
|
5170
|
+
*/
|
|
5171
|
+
dhGroup?: pulumi.Input<string>;
|
|
5172
|
+
/**
|
|
5173
|
+
* The encryption algorithm
|
|
5174
|
+
*/
|
|
5175
|
+
encryption: pulumi.Input<string>;
|
|
5176
|
+
/**
|
|
5177
|
+
* The integrity/hash algorithm
|
|
5178
|
+
*/
|
|
5179
|
+
integrity?: pulumi.Input<string>;
|
|
5180
|
+
}
|
|
5181
|
+
interface ConnectionIkev2Cipher {
|
|
5182
|
+
/**
|
|
5183
|
+
* The Diffie-Hellman group
|
|
5184
|
+
*/
|
|
5185
|
+
dhGroup?: pulumi.Input<string>;
|
|
5186
|
+
/**
|
|
5187
|
+
* The encryption algorithm
|
|
5188
|
+
*/
|
|
5189
|
+
encryption: pulumi.Input<string>;
|
|
5190
|
+
/**
|
|
5191
|
+
* The integrity/hash algorithm
|
|
5192
|
+
*/
|
|
5193
|
+
integrity?: pulumi.Input<string>;
|
|
5194
|
+
}
|
|
5195
|
+
interface GatewayPublicConfig {
|
|
5196
|
+
/**
|
|
5197
|
+
* The ID of the IPAM IPv4 address to use as the public IP for the VPN gateway.
|
|
5198
|
+
*/
|
|
5199
|
+
ipamIpv4Id?: pulumi.Input<string>;
|
|
5200
|
+
/**
|
|
5201
|
+
* The ID of the IPAM IPv6 address to use as the public IP for the VPN gateway.
|
|
5202
|
+
*/
|
|
5203
|
+
ipamIpv6Id?: pulumi.Input<string>;
|
|
5204
|
+
}
|
|
5205
|
+
}
|
|
5110
5206
|
export declare namespace secrets {
|
|
5111
5207
|
interface SecretEphemeralPolicy {
|
|
5112
5208
|
/**
|