@pulumiverse/scaleway 1.42.0 → 1.43.0-alpha.1770357338
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/getRedisCluster.d.ts +2 -0
- package/getRedisCluster.js.map +1 -1
- package/getSecretVersion.d.ts +1 -1
- package/iam/user.d.ts +28 -7
- package/iam/user.js +6 -5
- package/iam/user.js.map +1 -1
- package/iamUser.d.ts +28 -7
- package/iamUser.js +6 -5
- package/iamUser.js.map +1 -1
- package/package.json +2 -2
- package/redis/cluster.d.ts +30 -49
- package/redis/cluster.js +6 -48
- package/redis/cluster.js.map +1 -1
- package/redis/getCluster.d.ts +2 -0
- package/redis/getCluster.js.map +1 -1
- package/redisCluster.d.ts +30 -49
- package/redisCluster.js +6 -48
- package/redisCluster.js.map +1 -1
- package/secretVersion.d.ts +6 -6
- package/secrets/getVersion.d.ts +1 -1
- package/secrets/version.d.ts +6 -6
package/getRedisCluster.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ export interface GetRedisClusterResult {
|
|
|
64
64
|
* Password of the first user of the Redis Cluster.
|
|
65
65
|
*/
|
|
66
66
|
readonly password: string;
|
|
67
|
+
readonly passwordWo: string;
|
|
68
|
+
readonly passwordWoVersion: number;
|
|
67
69
|
readonly privateIps: outputs.GetRedisClusterPrivateIp[];
|
|
68
70
|
/**
|
|
69
71
|
* List of private networks endpoints of the Redis Cluster.
|
package/getRedisCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRedisCluster.js","sourceRoot":"","sources":["../getRedisCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,sIAAsI;AACtI,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,oJAAoJ,CAAC,CAAA;IACrK,IAAI,GAAG,IA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K,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC"}
|
package/getSecretVersion.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface GetSecretVersionResult {
|
|
|
90
90
|
*/
|
|
91
91
|
readonly createdAt: string;
|
|
92
92
|
/**
|
|
93
|
-
* The data payload of the secret version. This is a sensitive attribute containing the secret value. Learn more in the
|
|
93
|
+
* The data payload of the secret version. This is a sensitive attribute containing the secret value, encoded in base64. Learn more in the data section.
|
|
94
94
|
*/
|
|
95
95
|
readonly data: string;
|
|
96
96
|
readonly dataWo: string;
|
package/iam/user.d.ts
CHANGED
|
@@ -5,12 +5,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
8
|
-
* ### User
|
|
9
|
-
*
|
|
10
8
|
* ```typescript
|
|
11
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
10
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
11
|
*
|
|
12
|
+
* //## Basic IAM user creation
|
|
14
13
|
* const user = new scaleway.iam.User("user", {
|
|
15
14
|
* email: "foo@test.com",
|
|
16
15
|
* tags: ["test-tag"],
|
|
@@ -20,8 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
* });
|
|
21
20
|
* ```
|
|
22
21
|
*
|
|
23
|
-
* ### Multiple users
|
|
24
|
-
*
|
|
25
22
|
* ```typescript
|
|
26
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
24
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
@@ -116,9 +113,17 @@ export declare class User extends pulumi.CustomResource {
|
|
|
116
113
|
*/
|
|
117
114
|
readonly organizationId: pulumi.Output<string>;
|
|
118
115
|
/**
|
|
119
|
-
* The password for first access.
|
|
116
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
120
117
|
*/
|
|
121
118
|
readonly password: pulumi.Output<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
121
|
+
*/
|
|
122
|
+
readonly passwordWo: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
125
|
+
*/
|
|
126
|
+
readonly passwordWoVersion: pulumi.Output<number | undefined>;
|
|
122
127
|
/**
|
|
123
128
|
* The user's phone number.
|
|
124
129
|
*/
|
|
@@ -209,9 +214,17 @@ export interface UserState {
|
|
|
209
214
|
*/
|
|
210
215
|
organizationId?: pulumi.Input<string>;
|
|
211
216
|
/**
|
|
212
|
-
* The password for first access.
|
|
217
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
213
218
|
*/
|
|
214
219
|
password?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
222
|
+
*/
|
|
223
|
+
passwordWo?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
226
|
+
*/
|
|
227
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
215
228
|
/**
|
|
216
229
|
* The user's phone number.
|
|
217
230
|
*/
|
|
@@ -270,9 +283,17 @@ export interface UserArgs {
|
|
|
270
283
|
*/
|
|
271
284
|
organizationId?: pulumi.Input<string>;
|
|
272
285
|
/**
|
|
273
|
-
* The password for first access.
|
|
286
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
274
287
|
*/
|
|
275
288
|
password?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
291
|
+
*/
|
|
292
|
+
passwordWo?: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
295
|
+
*/
|
|
296
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
276
297
|
/**
|
|
277
298
|
* The user's phone number.
|
|
278
299
|
*/
|
package/iam/user.js
CHANGED
|
@@ -11,12 +11,11 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* ### User
|
|
15
|
-
*
|
|
16
14
|
* ```typescript
|
|
17
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
16
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
17
|
*
|
|
18
|
+
* //## Basic IAM user creation
|
|
20
19
|
* const user = new scaleway.iam.User("user", {
|
|
21
20
|
* email: "foo@test.com",
|
|
22
21
|
* tags: ["test-tag"],
|
|
@@ -26,8 +25,6 @@ const utilities = require("../utilities");
|
|
|
26
25
|
* });
|
|
27
26
|
* ```
|
|
28
27
|
*
|
|
29
|
-
* ### Multiple users
|
|
30
|
-
*
|
|
31
28
|
* ```typescript
|
|
32
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
30
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
@@ -101,6 +98,8 @@ class User extends pulumi.CustomResource {
|
|
|
101
98
|
resourceInputs["mfa"] = state?.mfa;
|
|
102
99
|
resourceInputs["organizationId"] = state?.organizationId;
|
|
103
100
|
resourceInputs["password"] = state?.password;
|
|
101
|
+
resourceInputs["passwordWo"] = state?.passwordWo;
|
|
102
|
+
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
104
103
|
resourceInputs["phoneNumber"] = state?.phoneNumber;
|
|
105
104
|
resourceInputs["sendPasswordEmail"] = state?.sendPasswordEmail;
|
|
106
105
|
resourceInputs["sendWelcomeEmail"] = state?.sendWelcomeEmail;
|
|
@@ -124,6 +123,8 @@ class User extends pulumi.CustomResource {
|
|
|
124
123
|
resourceInputs["locale"] = args?.locale;
|
|
125
124
|
resourceInputs["organizationId"] = args?.organizationId;
|
|
126
125
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
126
|
+
resourceInputs["passwordWo"] = args?.passwordWo ? pulumi.secret(args.passwordWo) : undefined;
|
|
127
|
+
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
127
128
|
resourceInputs["phoneNumber"] = args?.phoneNumber;
|
|
128
129
|
resourceInputs["sendPasswordEmail"] = args?.sendPasswordEmail;
|
|
129
130
|
resourceInputs["sendWelcomeEmail"] = args?.sendWelcomeEmail;
|
|
@@ -142,7 +143,7 @@ class User extends pulumi.CustomResource {
|
|
|
142
143
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
143
144
|
const aliasOpts = { aliases: [{ type: "scaleway:index/iamUser:IamUser" }] };
|
|
144
145
|
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
145
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
146
|
+
const secretOpts = { additionalSecretOutputs: ["password", "passwordWo"] };
|
|
146
147
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
147
148
|
super(User.__pulumiType, name, resourceInputs, opts);
|
|
148
149
|
}
|
package/iam/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../iam/user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA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i from "@pulumi/pulumi";
|
|
12
10
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
13
11
|
*
|
|
12
|
+
* //## Basic IAM user creation
|
|
14
13
|
* const user = new scaleway.iam.User("user", {
|
|
15
14
|
* email: "foo@test.com",
|
|
16
15
|
* tags: ["test-tag"],
|
|
@@ -20,8 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
* });
|
|
21
20
|
* ```
|
|
22
21
|
*
|
|
23
|
-
* ### Multiple users
|
|
24
|
-
*
|
|
25
22
|
* ```typescript
|
|
26
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
24
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
@@ -118,9 +115,17 @@ export declare class IamUser extends pulumi.CustomResource {
|
|
|
118
115
|
*/
|
|
119
116
|
readonly organizationId: pulumi.Output<string>;
|
|
120
117
|
/**
|
|
121
|
-
* The password for first access.
|
|
118
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
122
119
|
*/
|
|
123
120
|
readonly password: pulumi.Output<string | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
123
|
+
*/
|
|
124
|
+
readonly passwordWo: pulumi.Output<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
127
|
+
*/
|
|
128
|
+
readonly passwordWoVersion: pulumi.Output<number | undefined>;
|
|
124
129
|
/**
|
|
125
130
|
* The user's phone number.
|
|
126
131
|
*/
|
|
@@ -212,9 +217,17 @@ export interface IamUserState {
|
|
|
212
217
|
*/
|
|
213
218
|
organizationId?: pulumi.Input<string>;
|
|
214
219
|
/**
|
|
215
|
-
* The password for first access.
|
|
220
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
216
221
|
*/
|
|
217
222
|
password?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
225
|
+
*/
|
|
226
|
+
passwordWo?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
229
|
+
*/
|
|
230
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
218
231
|
/**
|
|
219
232
|
* The user's phone number.
|
|
220
233
|
*/
|
|
@@ -273,9 +286,17 @@ export interface IamUserArgs {
|
|
|
273
286
|
*/
|
|
274
287
|
organizationId?: pulumi.Input<string>;
|
|
275
288
|
/**
|
|
276
|
-
* The password for first access.
|
|
289
|
+
* The password for first access. Only one of `password` or `passwordWo` should be specified.
|
|
277
290
|
*/
|
|
278
291
|
password?: pulumi.Input<string>;
|
|
292
|
+
/**
|
|
293
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
294
|
+
*/
|
|
295
|
+
passwordWo?: pulumi.Input<string>;
|
|
296
|
+
/**
|
|
297
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
298
|
+
*/
|
|
299
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
279
300
|
/**
|
|
280
301
|
* The user's phone number.
|
|
281
302
|
*/
|
package/iamUser.js
CHANGED
|
@@ -11,12 +11,11 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* ### User
|
|
15
|
-
*
|
|
16
14
|
* ```typescript
|
|
17
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
16
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
17
|
*
|
|
18
|
+
* //## Basic IAM user creation
|
|
20
19
|
* const user = new scaleway.iam.User("user", {
|
|
21
20
|
* email: "foo@test.com",
|
|
22
21
|
* tags: ["test-tag"],
|
|
@@ -26,8 +25,6 @@ const utilities = require("./utilities");
|
|
|
26
25
|
* });
|
|
27
26
|
* ```
|
|
28
27
|
*
|
|
29
|
-
* ### Multiple users
|
|
30
|
-
*
|
|
31
28
|
* ```typescript
|
|
32
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
30
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
@@ -106,6 +103,8 @@ class IamUser extends pulumi.CustomResource {
|
|
|
106
103
|
resourceInputs["mfa"] = state?.mfa;
|
|
107
104
|
resourceInputs["organizationId"] = state?.organizationId;
|
|
108
105
|
resourceInputs["password"] = state?.password;
|
|
106
|
+
resourceInputs["passwordWo"] = state?.passwordWo;
|
|
107
|
+
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
109
108
|
resourceInputs["phoneNumber"] = state?.phoneNumber;
|
|
110
109
|
resourceInputs["sendPasswordEmail"] = state?.sendPasswordEmail;
|
|
111
110
|
resourceInputs["sendWelcomeEmail"] = state?.sendWelcomeEmail;
|
|
@@ -129,6 +128,8 @@ class IamUser extends pulumi.CustomResource {
|
|
|
129
128
|
resourceInputs["locale"] = args?.locale;
|
|
130
129
|
resourceInputs["organizationId"] = args?.organizationId;
|
|
131
130
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
131
|
+
resourceInputs["passwordWo"] = args?.passwordWo ? pulumi.secret(args.passwordWo) : undefined;
|
|
132
|
+
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
132
133
|
resourceInputs["phoneNumber"] = args?.phoneNumber;
|
|
133
134
|
resourceInputs["sendPasswordEmail"] = args?.sendPasswordEmail;
|
|
134
135
|
resourceInputs["sendWelcomeEmail"] = args?.sendWelcomeEmail;
|
|
@@ -145,7 +146,7 @@ class IamUser extends pulumi.CustomResource {
|
|
|
145
146
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
146
147
|
}
|
|
147
148
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
148
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
149
|
+
const secretOpts = { additionalSecretOutputs: ["password", "passwordWo"] };
|
|
149
150
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
150
151
|
super(IamUser.__pulumiType, name, resourceInputs, opts);
|
|
151
152
|
}
|
package/iamUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iamUser.js","sourceRoot":"","sources":["../iamUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"iamUser.js","sourceRoot":"","sources":["../iamUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8GAA8G,CAAC,CAAA;QAC/H,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAoGD,wGAAwG;IACxG,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8GAA8G,CAAC,CAAA;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACv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;;AA/LL,0BAgMC;AAjLG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/scaleway",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0-alpha.1770357338",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Scaleway cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "scaleway",
|
|
27
|
-
"version": "1.
|
|
27
|
+
"version": "1.43.0-alpha.1770357338",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/redis/cluster.d.ts
CHANGED
|
@@ -7,12 +7,11 @@ import * as outputs from "../types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* ### Basic
|
|
11
|
-
*
|
|
12
10
|
* ```typescript
|
|
13
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
12
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
15
13
|
*
|
|
14
|
+
* //## Basic Redis cluster creation
|
|
16
15
|
* const main = new scaleway.redis.Cluster("main", {
|
|
17
16
|
* name: "test_redis_basic",
|
|
18
17
|
* version: "6.2.7",
|
|
@@ -32,48 +31,6 @@ import * as outputs from "../types/output";
|
|
|
32
31
|
* });
|
|
33
32
|
* ```
|
|
34
33
|
*
|
|
35
|
-
* ### With settings
|
|
36
|
-
*
|
|
37
|
-
* ```typescript
|
|
38
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
40
|
-
*
|
|
41
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
42
|
-
* name: "test_redis_basic",
|
|
43
|
-
* version: "6.2.7",
|
|
44
|
-
* nodeType: "RED1-MICRO",
|
|
45
|
-
* userName: "my_initial_user",
|
|
46
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
47
|
-
* settings: {
|
|
48
|
-
* maxclients: "1000",
|
|
49
|
-
* "tcp-keepalive": "120",
|
|
50
|
-
* },
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* ### With a Private Network
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
59
|
-
*
|
|
60
|
-
* const pn = new scaleway.network.PrivateNetwork("pn", {name: "private-network"});
|
|
61
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
62
|
-
* name: "test_redis_endpoints",
|
|
63
|
-
* version: "6.2.7",
|
|
64
|
-
* nodeType: "RED1-MICRO",
|
|
65
|
-
* userName: "my_initial_user",
|
|
66
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
67
|
-
* clusterSize: 1,
|
|
68
|
-
* privateNetworks: [{
|
|
69
|
-
* id: pn.id,
|
|
70
|
-
* serviceIps: ["10.12.1.1/20"],
|
|
71
|
-
* }],
|
|
72
|
-
* }, {
|
|
73
|
-
* dependsOn: [pn],
|
|
74
|
-
* });
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
34
|
* ## Import
|
|
78
35
|
*
|
|
79
36
|
* Redis™ cluster can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -143,9 +100,17 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
143
100
|
*/
|
|
144
101
|
readonly nodeType: pulumi.Output<string>;
|
|
145
102
|
/**
|
|
146
|
-
* Password for the first user of the Redis™ cluster.
|
|
103
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
147
104
|
*/
|
|
148
|
-
readonly password: pulumi.Output<string>;
|
|
105
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
108
|
+
*/
|
|
109
|
+
readonly passwordWo: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
112
|
+
*/
|
|
113
|
+
readonly passwordWoVersion: pulumi.Output<number | undefined>;
|
|
149
114
|
/**
|
|
150
115
|
* The list of private IPv4 addresses associated with the resource.
|
|
151
116
|
*/
|
|
@@ -258,9 +223,17 @@ export interface ClusterState {
|
|
|
258
223
|
*/
|
|
259
224
|
nodeType?: pulumi.Input<string>;
|
|
260
225
|
/**
|
|
261
|
-
* Password for the first user of the Redis™ cluster.
|
|
226
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
262
227
|
*/
|
|
263
228
|
password?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
231
|
+
*/
|
|
232
|
+
passwordWo?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
235
|
+
*/
|
|
236
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
264
237
|
/**
|
|
265
238
|
* The list of private IPv4 addresses associated with the resource.
|
|
266
239
|
*/
|
|
@@ -357,9 +330,17 @@ export interface ClusterArgs {
|
|
|
357
330
|
*/
|
|
358
331
|
nodeType: pulumi.Input<string>;
|
|
359
332
|
/**
|
|
360
|
-
* Password for the first user of the Redis™ cluster.
|
|
333
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
334
|
+
*/
|
|
335
|
+
password?: pulumi.Input<string>;
|
|
336
|
+
/**
|
|
337
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
338
|
+
*/
|
|
339
|
+
passwordWo?: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
361
342
|
*/
|
|
362
|
-
|
|
343
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
363
344
|
/**
|
|
364
345
|
* The list of private IPv4 addresses associated with the resource.
|
|
365
346
|
*/
|
package/redis/cluster.js
CHANGED
|
@@ -11,12 +11,11 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* ### Basic
|
|
15
|
-
*
|
|
16
14
|
* ```typescript
|
|
17
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
16
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
17
|
*
|
|
18
|
+
* //## Basic Redis cluster creation
|
|
20
19
|
* const main = new scaleway.redis.Cluster("main", {
|
|
21
20
|
* name: "test_redis_basic",
|
|
22
21
|
* version: "6.2.7",
|
|
@@ -36,48 +35,6 @@ const utilities = require("../utilities");
|
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
37
|
*
|
|
39
|
-
* ### With settings
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
44
|
-
*
|
|
45
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
46
|
-
* name: "test_redis_basic",
|
|
47
|
-
* version: "6.2.7",
|
|
48
|
-
* nodeType: "RED1-MICRO",
|
|
49
|
-
* userName: "my_initial_user",
|
|
50
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
51
|
-
* settings: {
|
|
52
|
-
* maxclients: "1000",
|
|
53
|
-
* "tcp-keepalive": "120",
|
|
54
|
-
* },
|
|
55
|
-
* });
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* ### With a Private Network
|
|
59
|
-
*
|
|
60
|
-
* ```typescript
|
|
61
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
63
|
-
*
|
|
64
|
-
* const pn = new scaleway.network.PrivateNetwork("pn", {name: "private-network"});
|
|
65
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
66
|
-
* name: "test_redis_endpoints",
|
|
67
|
-
* version: "6.2.7",
|
|
68
|
-
* nodeType: "RED1-MICRO",
|
|
69
|
-
* userName: "my_initial_user",
|
|
70
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
71
|
-
* clusterSize: 1,
|
|
72
|
-
* privateNetworks: [{
|
|
73
|
-
* id: pn.id,
|
|
74
|
-
* serviceIps: ["10.12.1.1/20"],
|
|
75
|
-
* }],
|
|
76
|
-
* }, {
|
|
77
|
-
* dependsOn: [pn],
|
|
78
|
-
* });
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
38
|
* ## Import
|
|
82
39
|
*
|
|
83
40
|
* Redis™ cluster can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -123,6 +80,8 @@ class Cluster extends pulumi.CustomResource {
|
|
|
123
80
|
resourceInputs["name"] = state?.name;
|
|
124
81
|
resourceInputs["nodeType"] = state?.nodeType;
|
|
125
82
|
resourceInputs["password"] = state?.password;
|
|
83
|
+
resourceInputs["passwordWo"] = state?.passwordWo;
|
|
84
|
+
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
126
85
|
resourceInputs["privateIps"] = state?.privateIps;
|
|
127
86
|
resourceInputs["privateNetworks"] = state?.privateNetworks;
|
|
128
87
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -140,9 +99,6 @@ class Cluster extends pulumi.CustomResource {
|
|
|
140
99
|
if (args?.nodeType === undefined && !opts.urn) {
|
|
141
100
|
throw new Error("Missing required property 'nodeType'");
|
|
142
101
|
}
|
|
143
|
-
if (args?.password === undefined && !opts.urn) {
|
|
144
|
-
throw new Error("Missing required property 'password'");
|
|
145
|
-
}
|
|
146
102
|
if (args?.userName === undefined && !opts.urn) {
|
|
147
103
|
throw new Error("Missing required property 'userName'");
|
|
148
104
|
}
|
|
@@ -154,6 +110,8 @@ class Cluster extends pulumi.CustomResource {
|
|
|
154
110
|
resourceInputs["name"] = args?.name;
|
|
155
111
|
resourceInputs["nodeType"] = args?.nodeType;
|
|
156
112
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
113
|
+
resourceInputs["passwordWo"] = args?.passwordWo ? pulumi.secret(args.passwordWo) : undefined;
|
|
114
|
+
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
157
115
|
resourceInputs["privateIps"] = args?.privateIps;
|
|
158
116
|
resourceInputs["privateNetworks"] = args?.privateNetworks;
|
|
159
117
|
resourceInputs["projectId"] = args?.projectId;
|
|
@@ -171,7 +129,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
171
129
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
172
130
|
const aliasOpts = { aliases: [{ type: "scaleway:index/redisCluster:RedisCluster" }] };
|
|
173
131
|
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
174
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
132
|
+
const secretOpts = { additionalSecretOutputs: ["password", "passwordWo"] };
|
|
175
133
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
176
134
|
super(Cluster.__pulumiType, name, resourceInputs, opts);
|
|
177
135
|
}
|
package/redis/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../redis/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../redis/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAG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AAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,0CAA0C,EAAE,CAAC,EAAE,CAAC;QACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAhNL,0BAiNC;AAnMG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/redis/getCluster.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ export interface GetClusterResult {
|
|
|
63
63
|
* Password of the first user of the Redis Cluster.
|
|
64
64
|
*/
|
|
65
65
|
readonly password: string;
|
|
66
|
+
readonly passwordWo: string;
|
|
67
|
+
readonly passwordWoVersion: number;
|
|
66
68
|
readonly privateIps: outputs.redis.GetClusterPrivateIp[];
|
|
67
69
|
/**
|
|
68
70
|
* List of private networks endpoints of the Redis Cluster.
|
package/redis/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../redis/getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;A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S,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC"}
|
package/redisCluster.d.ts
CHANGED
|
@@ -7,12 +7,11 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
-
* ### Basic
|
|
11
|
-
*
|
|
12
10
|
* ```typescript
|
|
13
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
12
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
15
13
|
*
|
|
14
|
+
* //## Basic Redis cluster creation
|
|
16
15
|
* const main = new scaleway.redis.Cluster("main", {
|
|
17
16
|
* name: "test_redis_basic",
|
|
18
17
|
* version: "6.2.7",
|
|
@@ -32,48 +31,6 @@ import * as outputs from "./types/output";
|
|
|
32
31
|
* });
|
|
33
32
|
* ```
|
|
34
33
|
*
|
|
35
|
-
* ### With settings
|
|
36
|
-
*
|
|
37
|
-
* ```typescript
|
|
38
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
40
|
-
*
|
|
41
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
42
|
-
* name: "test_redis_basic",
|
|
43
|
-
* version: "6.2.7",
|
|
44
|
-
* nodeType: "RED1-MICRO",
|
|
45
|
-
* userName: "my_initial_user",
|
|
46
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
47
|
-
* settings: {
|
|
48
|
-
* maxclients: "1000",
|
|
49
|
-
* "tcp-keepalive": "120",
|
|
50
|
-
* },
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* ### With a Private Network
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
59
|
-
*
|
|
60
|
-
* const pn = new scaleway.network.PrivateNetwork("pn", {name: "private-network"});
|
|
61
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
62
|
-
* name: "test_redis_endpoints",
|
|
63
|
-
* version: "6.2.7",
|
|
64
|
-
* nodeType: "RED1-MICRO",
|
|
65
|
-
* userName: "my_initial_user",
|
|
66
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
67
|
-
* clusterSize: 1,
|
|
68
|
-
* privateNetworks: [{
|
|
69
|
-
* id: pn.id,
|
|
70
|
-
* serviceIps: ["10.12.1.1/20"],
|
|
71
|
-
* }],
|
|
72
|
-
* }, {
|
|
73
|
-
* dependsOn: [pn],
|
|
74
|
-
* });
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
34
|
* ## Import
|
|
78
35
|
*
|
|
79
36
|
* Redis™ cluster can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -145,9 +102,17 @@ export declare class RedisCluster extends pulumi.CustomResource {
|
|
|
145
102
|
*/
|
|
146
103
|
readonly nodeType: pulumi.Output<string>;
|
|
147
104
|
/**
|
|
148
|
-
* Password for the first user of the Redis™ cluster.
|
|
105
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
149
106
|
*/
|
|
150
|
-
readonly password: pulumi.Output<string>;
|
|
107
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
110
|
+
*/
|
|
111
|
+
readonly passwordWo: pulumi.Output<string | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
114
|
+
*/
|
|
115
|
+
readonly passwordWoVersion: pulumi.Output<number | undefined>;
|
|
151
116
|
/**
|
|
152
117
|
* The list of private IPv4 addresses associated with the resource.
|
|
153
118
|
*/
|
|
@@ -261,9 +226,17 @@ export interface RedisClusterState {
|
|
|
261
226
|
*/
|
|
262
227
|
nodeType?: pulumi.Input<string>;
|
|
263
228
|
/**
|
|
264
|
-
* Password for the first user of the Redis™ cluster.
|
|
229
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
265
230
|
*/
|
|
266
231
|
password?: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
234
|
+
*/
|
|
235
|
+
passwordWo?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
238
|
+
*/
|
|
239
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
267
240
|
/**
|
|
268
241
|
* The list of private IPv4 addresses associated with the resource.
|
|
269
242
|
*/
|
|
@@ -360,9 +333,17 @@ export interface RedisClusterArgs {
|
|
|
360
333
|
*/
|
|
361
334
|
nodeType: pulumi.Input<string>;
|
|
362
335
|
/**
|
|
363
|
-
* Password for the first user of the Redis™ cluster.
|
|
336
|
+
* Password for the first user of the Redis™ cluster. Only one of `password` or `passwordWo` should be specified.
|
|
337
|
+
*/
|
|
338
|
+
password?: pulumi.Input<string>;
|
|
339
|
+
/**
|
|
340
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
341
|
+
*/
|
|
342
|
+
passwordWo?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* The version of the write-only password. To update the `passwordWo`, you must also update the `passwordWoVersion`.
|
|
364
345
|
*/
|
|
365
|
-
|
|
346
|
+
passwordWoVersion?: pulumi.Input<number>;
|
|
366
347
|
/**
|
|
367
348
|
* The list of private IPv4 addresses associated with the resource.
|
|
368
349
|
*/
|
package/redisCluster.js
CHANGED
|
@@ -11,12 +11,11 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* ### Basic
|
|
15
|
-
*
|
|
16
14
|
* ```typescript
|
|
17
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
16
|
* import * as scaleway from "@pulumiverse/scaleway";
|
|
19
17
|
*
|
|
18
|
+
* //## Basic Redis cluster creation
|
|
20
19
|
* const main = new scaleway.redis.Cluster("main", {
|
|
21
20
|
* name: "test_redis_basic",
|
|
22
21
|
* version: "6.2.7",
|
|
@@ -36,48 +35,6 @@ const utilities = require("./utilities");
|
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
37
|
*
|
|
39
|
-
* ### With settings
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
44
|
-
*
|
|
45
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
46
|
-
* name: "test_redis_basic",
|
|
47
|
-
* version: "6.2.7",
|
|
48
|
-
* nodeType: "RED1-MICRO",
|
|
49
|
-
* userName: "my_initial_user",
|
|
50
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
51
|
-
* settings: {
|
|
52
|
-
* maxclients: "1000",
|
|
53
|
-
* "tcp-keepalive": "120",
|
|
54
|
-
* },
|
|
55
|
-
* });
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* ### With a Private Network
|
|
59
|
-
*
|
|
60
|
-
* ```typescript
|
|
61
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
-
* import * as scaleway from "@pulumiverse/scaleway";
|
|
63
|
-
*
|
|
64
|
-
* const pn = new scaleway.network.PrivateNetwork("pn", {name: "private-network"});
|
|
65
|
-
* const main = new scaleway.redis.Cluster("main", {
|
|
66
|
-
* name: "test_redis_endpoints",
|
|
67
|
-
* version: "6.2.7",
|
|
68
|
-
* nodeType: "RED1-MICRO",
|
|
69
|
-
* userName: "my_initial_user",
|
|
70
|
-
* password: "thiZ_is_v&ry_s3cret",
|
|
71
|
-
* clusterSize: 1,
|
|
72
|
-
* privateNetworks: [{
|
|
73
|
-
* id: pn.id,
|
|
74
|
-
* serviceIps: ["10.12.1.1/20"],
|
|
75
|
-
* }],
|
|
76
|
-
* }, {
|
|
77
|
-
* dependsOn: [pn],
|
|
78
|
-
* });
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
38
|
* ## Import
|
|
82
39
|
*
|
|
83
40
|
* Redis™ cluster can be imported using the `{zone}/{id}`, e.g.
|
|
@@ -128,6 +85,8 @@ class RedisCluster extends pulumi.CustomResource {
|
|
|
128
85
|
resourceInputs["name"] = state?.name;
|
|
129
86
|
resourceInputs["nodeType"] = state?.nodeType;
|
|
130
87
|
resourceInputs["password"] = state?.password;
|
|
88
|
+
resourceInputs["passwordWo"] = state?.passwordWo;
|
|
89
|
+
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
131
90
|
resourceInputs["privateIps"] = state?.privateIps;
|
|
132
91
|
resourceInputs["privateNetworks"] = state?.privateNetworks;
|
|
133
92
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -145,9 +104,6 @@ class RedisCluster extends pulumi.CustomResource {
|
|
|
145
104
|
if (args?.nodeType === undefined && !opts.urn) {
|
|
146
105
|
throw new Error("Missing required property 'nodeType'");
|
|
147
106
|
}
|
|
148
|
-
if (args?.password === undefined && !opts.urn) {
|
|
149
|
-
throw new Error("Missing required property 'password'");
|
|
150
|
-
}
|
|
151
107
|
if (args?.userName === undefined && !opts.urn) {
|
|
152
108
|
throw new Error("Missing required property 'userName'");
|
|
153
109
|
}
|
|
@@ -159,6 +115,8 @@ class RedisCluster extends pulumi.CustomResource {
|
|
|
159
115
|
resourceInputs["name"] = args?.name;
|
|
160
116
|
resourceInputs["nodeType"] = args?.nodeType;
|
|
161
117
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
118
|
+
resourceInputs["passwordWo"] = args?.passwordWo ? pulumi.secret(args.passwordWo) : undefined;
|
|
119
|
+
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
162
120
|
resourceInputs["privateIps"] = args?.privateIps;
|
|
163
121
|
resourceInputs["privateNetworks"] = args?.privateNetworks;
|
|
164
122
|
resourceInputs["projectId"] = args?.projectId;
|
|
@@ -174,7 +132,7 @@ class RedisCluster extends pulumi.CustomResource {
|
|
|
174
132
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
175
133
|
}
|
|
176
134
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
177
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
135
|
+
const secretOpts = { additionalSecretOutputs: ["password", "passwordWo"] };
|
|
178
136
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
179
137
|
super(RedisCluster.__pulumiType, name, resourceInputs, opts);
|
|
180
138
|
}
|
package/redisCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redisCluster.js","sourceRoot":"","sources":["../redisCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"redisCluster.js","sourceRoot":"","sources":["../redisCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,MAAM,CAAC,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AAO,CAAC;YAChD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlNL,oCAmNC;AApMG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/secretVersion.d.ts
CHANGED
|
@@ -67,12 +67,12 @@ export declare class SecretVersion extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly createdAt: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
70
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
70
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
71
71
|
*/
|
|
72
72
|
readonly data: pulumi.Output<string | undefined>;
|
|
73
73
|
/**
|
|
74
74
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
75
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
75
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
76
76
|
*/
|
|
77
77
|
readonly dataWo: pulumi.Output<string | undefined>;
|
|
78
78
|
/**
|
|
@@ -122,12 +122,12 @@ export interface SecretVersionState {
|
|
|
122
122
|
*/
|
|
123
123
|
createdAt?: pulumi.Input<string>;
|
|
124
124
|
/**
|
|
125
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
125
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
126
126
|
*/
|
|
127
127
|
data?: pulumi.Input<string>;
|
|
128
128
|
/**
|
|
129
129
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
130
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
130
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
131
131
|
*/
|
|
132
132
|
dataWo?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
@@ -164,12 +164,12 @@ export interface SecretVersionState {
|
|
|
164
164
|
*/
|
|
165
165
|
export interface SecretVersionArgs {
|
|
166
166
|
/**
|
|
167
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
167
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
168
168
|
*/
|
|
169
169
|
data?: pulumi.Input<string>;
|
|
170
170
|
/**
|
|
171
171
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
172
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
172
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
173
173
|
*/
|
|
174
174
|
dataWo?: pulumi.Input<string>;
|
|
175
175
|
/**
|
package/secrets/getVersion.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface GetVersionResult {
|
|
|
89
89
|
*/
|
|
90
90
|
readonly createdAt: string;
|
|
91
91
|
/**
|
|
92
|
-
* The data payload of the secret version. This is a sensitive attribute containing the secret value. Learn more in the
|
|
92
|
+
* The data payload of the secret version. This is a sensitive attribute containing the secret value, encoded in base64. Learn more in the data section.
|
|
93
93
|
*/
|
|
94
94
|
readonly data: string;
|
|
95
95
|
readonly dataWo: string;
|
package/secrets/version.d.ts
CHANGED
|
@@ -65,12 +65,12 @@ export declare class Version extends pulumi.CustomResource {
|
|
|
65
65
|
*/
|
|
66
66
|
readonly createdAt: pulumi.Output<string>;
|
|
67
67
|
/**
|
|
68
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
68
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
69
69
|
*/
|
|
70
70
|
readonly data: pulumi.Output<string | undefined>;
|
|
71
71
|
/**
|
|
72
72
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
73
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
73
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
74
74
|
*/
|
|
75
75
|
readonly dataWo: pulumi.Output<string | undefined>;
|
|
76
76
|
/**
|
|
@@ -119,12 +119,12 @@ export interface VersionState {
|
|
|
119
119
|
*/
|
|
120
120
|
createdAt?: pulumi.Input<string>;
|
|
121
121
|
/**
|
|
122
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
122
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
123
123
|
*/
|
|
124
124
|
data?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
126
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
127
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
127
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
128
128
|
*/
|
|
129
129
|
dataWo?: pulumi.Input<string>;
|
|
130
130
|
/**
|
|
@@ -161,12 +161,12 @@ export interface VersionState {
|
|
|
161
161
|
*/
|
|
162
162
|
export interface VersionArgs {
|
|
163
163
|
/**
|
|
164
|
-
* The data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
164
|
+
* The raw data payload of the secret version. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
165
165
|
*/
|
|
166
166
|
data?: pulumi.Input<string>;
|
|
167
167
|
/**
|
|
168
168
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
169
|
-
* The data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the
|
|
169
|
+
* The raw data payload of your secret version in write-only mode. Must not exceed 64KiB in size (e.g. `my-secret-version-payload`). Find out more on the data section.
|
|
170
170
|
*/
|
|
171
171
|
dataWo?: pulumi.Input<string>;
|
|
172
172
|
/**
|