@pulumi/gcp 9.4.0-alpha.1760979403 → 9.4.0-alpha.1761894104
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/compute/vpntunnel.d.ts +21 -0
- package/compute/vpntunnel.js +3 -1
- package/compute/vpntunnel.js.map +1 -1
- package/monitoring/uptimeCheckConfig.d.ts +44 -0
- package/monitoring/uptimeCheckConfig.js +44 -0
- package/monitoring/uptimeCheckConfig.js.map +1 -1
- package/package.json +2 -2
- package/secretmanager/secretVersion.d.ts +59 -0
- package/secretmanager/secretVersion.js +47 -1
- package/secretmanager/secretVersion.js.map +1 -1
- package/sql/user.d.ts +18 -0
- package/sql/user.js +3 -1
- package/sql/user.js.map +1 -1
- package/types/input.d.ts +10 -0
- package/types/output.d.ts +10 -0
package/compute/vpntunnel.d.ts
CHANGED
|
@@ -316,6 +316,13 @@ export declare class VPNTunnel extends pulumi.CustomResource {
|
|
|
316
316
|
* Hash of the shared secret.
|
|
317
317
|
*/
|
|
318
318
|
readonly sharedSecretHash: pulumi.Output<string>;
|
|
319
|
+
/**
|
|
320
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
321
|
+
* Shared secret used to set the secure session between the Cloud VPN
|
|
322
|
+
* gateway and the peer VPN gateway.
|
|
323
|
+
* Note: This property is write-only and will not be read from the API. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
324
|
+
*/
|
|
325
|
+
readonly sharedSecretWo: pulumi.Output<string | undefined>;
|
|
319
326
|
/**
|
|
320
327
|
* Triggers update of sharedSecretWo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
321
328
|
*/
|
|
@@ -471,6 +478,13 @@ export interface VPNTunnelState {
|
|
|
471
478
|
* Hash of the shared secret.
|
|
472
479
|
*/
|
|
473
480
|
sharedSecretHash?: pulumi.Input<string>;
|
|
481
|
+
/**
|
|
482
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
483
|
+
* Shared secret used to set the secure session between the Cloud VPN
|
|
484
|
+
* gateway and the peer VPN gateway.
|
|
485
|
+
* Note: This property is write-only and will not be read from the API. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
486
|
+
*/
|
|
487
|
+
sharedSecretWo?: pulumi.Input<string>;
|
|
474
488
|
/**
|
|
475
489
|
* Triggers update of sharedSecretWo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
476
490
|
*/
|
|
@@ -584,6 +598,13 @@ export interface VPNTunnelArgs {
|
|
|
584
598
|
* **Note**: This property is sensitive and will not be displayed in the plan.
|
|
585
599
|
*/
|
|
586
600
|
sharedSecret?: pulumi.Input<string>;
|
|
601
|
+
/**
|
|
602
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
603
|
+
* Shared secret used to set the secure session between the Cloud VPN
|
|
604
|
+
* gateway and the peer VPN gateway.
|
|
605
|
+
* Note: This property is write-only and will not be read from the API. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
606
|
+
*/
|
|
607
|
+
sharedSecretWo?: pulumi.Input<string>;
|
|
587
608
|
/**
|
|
588
609
|
* Triggers update of sharedSecretWo write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
589
610
|
*/
|
package/compute/vpntunnel.js
CHANGED
|
@@ -235,6 +235,7 @@ class VPNTunnel extends pulumi.CustomResource {
|
|
|
235
235
|
resourceInputs["selfLink"] = state?.selfLink;
|
|
236
236
|
resourceInputs["sharedSecret"] = state?.sharedSecret;
|
|
237
237
|
resourceInputs["sharedSecretHash"] = state?.sharedSecretHash;
|
|
238
|
+
resourceInputs["sharedSecretWo"] = state?.sharedSecretWo;
|
|
238
239
|
resourceInputs["sharedSecretWoVersion"] = state?.sharedSecretWoVersion;
|
|
239
240
|
resourceInputs["targetVpnGateway"] = state?.targetVpnGateway;
|
|
240
241
|
resourceInputs["tunnelId"] = state?.tunnelId;
|
|
@@ -258,6 +259,7 @@ class VPNTunnel extends pulumi.CustomResource {
|
|
|
258
259
|
resourceInputs["remoteTrafficSelectors"] = args?.remoteTrafficSelectors;
|
|
259
260
|
resourceInputs["router"] = args?.router;
|
|
260
261
|
resourceInputs["sharedSecret"] = args?.sharedSecret ? pulumi.secret(args.sharedSecret) : undefined;
|
|
262
|
+
resourceInputs["sharedSecretWo"] = args?.sharedSecretWo ? pulumi.secret(args.sharedSecretWo) : undefined;
|
|
261
263
|
resourceInputs["sharedSecretWoVersion"] = args?.sharedSecretWoVersion;
|
|
262
264
|
resourceInputs["targetVpnGateway"] = args?.targetVpnGateway;
|
|
263
265
|
resourceInputs["vpnGateway"] = args?.vpnGateway;
|
|
@@ -272,7 +274,7 @@ class VPNTunnel extends pulumi.CustomResource {
|
|
|
272
274
|
resourceInputs["tunnelId"] = undefined /*out*/;
|
|
273
275
|
}
|
|
274
276
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
275
|
-
const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels", "sharedSecret"] };
|
|
277
|
+
const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels", "sharedSecret", "sharedSecretWo"] };
|
|
276
278
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
277
279
|
super(VPNTunnel.__pulumiType, name, resourceInputs, opts);
|
|
278
280
|
}
|
package/compute/vpntunnel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpntunnel.js","sourceRoot":"","sources":["../../compute/vpntunnel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yC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AC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAxPL,8BAyPC;AA3OG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -56,6 +56,50 @@ import * as outputs from "../types/output";
|
|
|
56
56
|
* ```
|
|
57
57
|
* ### Uptime Check Config Http Password Wo
|
|
58
58
|
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as gcp from "@pulumi/gcp";
|
|
62
|
+
*
|
|
63
|
+
* const http = new gcp.monitoring.UptimeCheckConfig("http", {
|
|
64
|
+
* displayName: "http-uptime-check",
|
|
65
|
+
* timeout: "60s",
|
|
66
|
+
* userLabels: {
|
|
67
|
+
* "example-key": "example-value",
|
|
68
|
+
* },
|
|
69
|
+
* httpCheck: {
|
|
70
|
+
* path: "some-path",
|
|
71
|
+
* port: 8010,
|
|
72
|
+
* requestMethod: "POST",
|
|
73
|
+
* contentType: "USER_PROVIDED",
|
|
74
|
+
* customContentType: "application/json",
|
|
75
|
+
* body: "Zm9vJTI1M0RiYXI=",
|
|
76
|
+
* pingConfig: {
|
|
77
|
+
* pingsCount: 1,
|
|
78
|
+
* },
|
|
79
|
+
* authInfo: {
|
|
80
|
+
* username: "name",
|
|
81
|
+
* passwordWo: "password1",
|
|
82
|
+
* passwordWoVersion: "1",
|
|
83
|
+
* },
|
|
84
|
+
* },
|
|
85
|
+
* monitoredResource: {
|
|
86
|
+
* type: "uptime_url",
|
|
87
|
+
* labels: {
|
|
88
|
+
* project_id: "my-project-name",
|
|
89
|
+
* host: "192.168.1.1",
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
92
|
+
* contentMatchers: [{
|
|
93
|
+
* content: "\"example\"",
|
|
94
|
+
* matcher: "MATCHES_JSON_PATH",
|
|
95
|
+
* jsonPathMatcher: {
|
|
96
|
+
* jsonPath: "$.path",
|
|
97
|
+
* jsonMatcher: "EXACT_MATCH",
|
|
98
|
+
* },
|
|
99
|
+
* }],
|
|
100
|
+
* checkerType: "STATIC_IP_CHECKERS",
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
59
103
|
* ### Uptime Check Config Status Code
|
|
60
104
|
*
|
|
61
105
|
* ```typescript
|
|
@@ -60,6 +60,50 @@ const utilities = require("../utilities");
|
|
|
60
60
|
* ```
|
|
61
61
|
* ### Uptime Check Config Http Password Wo
|
|
62
62
|
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as gcp from "@pulumi/gcp";
|
|
66
|
+
*
|
|
67
|
+
* const http = new gcp.monitoring.UptimeCheckConfig("http", {
|
|
68
|
+
* displayName: "http-uptime-check",
|
|
69
|
+
* timeout: "60s",
|
|
70
|
+
* userLabels: {
|
|
71
|
+
* "example-key": "example-value",
|
|
72
|
+
* },
|
|
73
|
+
* httpCheck: {
|
|
74
|
+
* path: "some-path",
|
|
75
|
+
* port: 8010,
|
|
76
|
+
* requestMethod: "POST",
|
|
77
|
+
* contentType: "USER_PROVIDED",
|
|
78
|
+
* customContentType: "application/json",
|
|
79
|
+
* body: "Zm9vJTI1M0RiYXI=",
|
|
80
|
+
* pingConfig: {
|
|
81
|
+
* pingsCount: 1,
|
|
82
|
+
* },
|
|
83
|
+
* authInfo: {
|
|
84
|
+
* username: "name",
|
|
85
|
+
* passwordWo: "password1",
|
|
86
|
+
* passwordWoVersion: "1",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* monitoredResource: {
|
|
90
|
+
* type: "uptime_url",
|
|
91
|
+
* labels: {
|
|
92
|
+
* project_id: "my-project-name",
|
|
93
|
+
* host: "192.168.1.1",
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* contentMatchers: [{
|
|
97
|
+
* content: "\"example\"",
|
|
98
|
+
* matcher: "MATCHES_JSON_PATH",
|
|
99
|
+
* jsonPathMatcher: {
|
|
100
|
+
* jsonPath: "$.path",
|
|
101
|
+
* jsonMatcher: "EXACT_MATCH",
|
|
102
|
+
* },
|
|
103
|
+
* }],
|
|
104
|
+
* checkerType: "STATIC_IP_CHECKERS",
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
63
107
|
* ### Uptime Check Config Status Code
|
|
64
108
|
*
|
|
65
109
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uptimeCheckConfig.js","sourceRoot":"","sources":["../../monitoring/uptimeCheckConfig.ts"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AAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA/JL,8CAgKC;AAlJG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "9.4.0-alpha.
|
|
3
|
+
"version": "9.4.0-alpha.1761894104",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"pulumi": {
|
|
28
28
|
"resource": true,
|
|
29
29
|
"name": "gcp",
|
|
30
|
-
"version": "9.4.0-alpha.
|
|
30
|
+
"version": "9.4.0-alpha.1761894104"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -35,6 +35,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* ```
|
|
36
36
|
* ### Secret Version Basic Write Only
|
|
37
37
|
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as gcp from "@pulumi/gcp";
|
|
41
|
+
*
|
|
42
|
+
* const secret_basic_write_only = new gcp.secretmanager.Secret("secret-basic-write-only", {
|
|
43
|
+
* secretId: "secret-version-write-only",
|
|
44
|
+
* labels: {
|
|
45
|
+
* label: "my-label",
|
|
46
|
+
* },
|
|
47
|
+
* replication: {
|
|
48
|
+
* auto: {},
|
|
49
|
+
* },
|
|
50
|
+
* });
|
|
51
|
+
* const secret_version_basic_write_only = new gcp.secretmanager.SecretVersion("secret-version-basic-write-only", {
|
|
52
|
+
* secret: secret_basic_write_only.id,
|
|
53
|
+
* secretDataWoVersion: 1,
|
|
54
|
+
* secretDataWo: "secret-data-write-only",
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
38
57
|
* ### Secret Version Deletion Policy Abandon
|
|
39
58
|
*
|
|
40
59
|
* ```typescript
|
|
@@ -106,6 +125,31 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
106
125
|
* ```
|
|
107
126
|
* ### Secret Version With Base64 String Secret Data Write Only
|
|
108
127
|
*
|
|
128
|
+
* ```typescript
|
|
129
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
130
|
+
* import * as gcp from "@pulumi/gcp";
|
|
131
|
+
* import * as std from "@pulumi/std";
|
|
132
|
+
*
|
|
133
|
+
* const secret_basic = new gcp.secretmanager.Secret("secret-basic", {
|
|
134
|
+
* secretId: "secret-version-base64-write-only",
|
|
135
|
+
* replication: {
|
|
136
|
+
* userManaged: {
|
|
137
|
+
* replicas: [{
|
|
138
|
+
* location: "us-central1",
|
|
139
|
+
* }],
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* });
|
|
143
|
+
* const secret_version_base64_write_only = new gcp.secretmanager.SecretVersion("secret-version-base64-write-only", {
|
|
144
|
+
* secret: secret_basic.id,
|
|
145
|
+
* isSecretDataBase64: true,
|
|
146
|
+
* secretDataWoVersion: 1,
|
|
147
|
+
* secretDataWo: std.filebase64({
|
|
148
|
+
* input: "secret-data-base64-write-only.pfx",
|
|
149
|
+
* }).then(invoke => invoke.result),
|
|
150
|
+
* });
|
|
151
|
+
* ```
|
|
152
|
+
*
|
|
109
153
|
* ## Ephemeral Attributes Reference
|
|
110
154
|
*
|
|
111
155
|
* The following write-only attributes are supported:
|
|
@@ -189,6 +233,11 @@ export declare class SecretVersion extends pulumi.CustomResource {
|
|
|
189
233
|
* **Note**: This property is sensitive and will not be displayed in the plan.
|
|
190
234
|
*/
|
|
191
235
|
readonly secretData: pulumi.Output<string | undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
238
|
+
* The secret data. Must be no larger than 64KiB. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
239
|
+
*/
|
|
240
|
+
readonly secretDataWo: pulumi.Output<string | undefined>;
|
|
192
241
|
/**
|
|
193
242
|
* Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
194
243
|
*/
|
|
@@ -249,6 +298,11 @@ export interface SecretVersionState {
|
|
|
249
298
|
* **Note**: This property is sensitive and will not be displayed in the plan.
|
|
250
299
|
*/
|
|
251
300
|
secretData?: pulumi.Input<string>;
|
|
301
|
+
/**
|
|
302
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
303
|
+
* The secret data. Must be no larger than 64KiB. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
304
|
+
*/
|
|
305
|
+
secretDataWo?: pulumi.Input<string>;
|
|
252
306
|
/**
|
|
253
307
|
* Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
254
308
|
*/
|
|
@@ -288,6 +342,11 @@ export interface SecretVersionArgs {
|
|
|
288
342
|
* **Note**: This property is sensitive and will not be displayed in the plan.
|
|
289
343
|
*/
|
|
290
344
|
secretData?: pulumi.Input<string>;
|
|
345
|
+
/**
|
|
346
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
347
|
+
* The secret data. Must be no larger than 64KiB. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
348
|
+
*/
|
|
349
|
+
secretDataWo?: pulumi.Input<string>;
|
|
291
350
|
/**
|
|
292
351
|
* Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
293
352
|
*/
|
|
@@ -41,6 +41,25 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* ```
|
|
42
42
|
* ### Secret Version Basic Write Only
|
|
43
43
|
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as gcp from "@pulumi/gcp";
|
|
47
|
+
*
|
|
48
|
+
* const secret_basic_write_only = new gcp.secretmanager.Secret("secret-basic-write-only", {
|
|
49
|
+
* secretId: "secret-version-write-only",
|
|
50
|
+
* labels: {
|
|
51
|
+
* label: "my-label",
|
|
52
|
+
* },
|
|
53
|
+
* replication: {
|
|
54
|
+
* auto: {},
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* const secret_version_basic_write_only = new gcp.secretmanager.SecretVersion("secret-version-basic-write-only", {
|
|
58
|
+
* secret: secret_basic_write_only.id,
|
|
59
|
+
* secretDataWoVersion: 1,
|
|
60
|
+
* secretDataWo: "secret-data-write-only",
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
44
63
|
* ### Secret Version Deletion Policy Abandon
|
|
45
64
|
*
|
|
46
65
|
* ```typescript
|
|
@@ -112,6 +131,31 @@ const utilities = require("../utilities");
|
|
|
112
131
|
* ```
|
|
113
132
|
* ### Secret Version With Base64 String Secret Data Write Only
|
|
114
133
|
*
|
|
134
|
+
* ```typescript
|
|
135
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
136
|
+
* import * as gcp from "@pulumi/gcp";
|
|
137
|
+
* import * as std from "@pulumi/std";
|
|
138
|
+
*
|
|
139
|
+
* const secret_basic = new gcp.secretmanager.Secret("secret-basic", {
|
|
140
|
+
* secretId: "secret-version-base64-write-only",
|
|
141
|
+
* replication: {
|
|
142
|
+
* userManaged: {
|
|
143
|
+
* replicas: [{
|
|
144
|
+
* location: "us-central1",
|
|
145
|
+
* }],
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* });
|
|
149
|
+
* const secret_version_base64_write_only = new gcp.secretmanager.SecretVersion("secret-version-base64-write-only", {
|
|
150
|
+
* secret: secret_basic.id,
|
|
151
|
+
* isSecretDataBase64: true,
|
|
152
|
+
* secretDataWoVersion: 1,
|
|
153
|
+
* secretDataWo: std.filebase64({
|
|
154
|
+
* input: "secret-data-base64-write-only.pfx",
|
|
155
|
+
* }).then(invoke => invoke.result),
|
|
156
|
+
* });
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
115
159
|
* ## Ephemeral Attributes Reference
|
|
116
160
|
*
|
|
117
161
|
* The following write-only attributes are supported:
|
|
@@ -176,6 +220,7 @@ class SecretVersion extends pulumi.CustomResource {
|
|
|
176
220
|
resourceInputs["name"] = state?.name;
|
|
177
221
|
resourceInputs["secret"] = state?.secret;
|
|
178
222
|
resourceInputs["secretData"] = state?.secretData;
|
|
223
|
+
resourceInputs["secretDataWo"] = state?.secretDataWo;
|
|
179
224
|
resourceInputs["secretDataWoVersion"] = state?.secretDataWoVersion;
|
|
180
225
|
resourceInputs["version"] = state?.version;
|
|
181
226
|
}
|
|
@@ -189,6 +234,7 @@ class SecretVersion extends pulumi.CustomResource {
|
|
|
189
234
|
resourceInputs["isSecretDataBase64"] = args?.isSecretDataBase64;
|
|
190
235
|
resourceInputs["secret"] = args?.secret;
|
|
191
236
|
resourceInputs["secretData"] = args?.secretData ? pulumi.secret(args.secretData) : undefined;
|
|
237
|
+
resourceInputs["secretDataWo"] = args?.secretDataWo ? pulumi.secret(args.secretDataWo) : undefined;
|
|
192
238
|
resourceInputs["secretDataWoVersion"] = args?.secretDataWoVersion;
|
|
193
239
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
194
240
|
resourceInputs["destroyTime"] = undefined /*out*/;
|
|
@@ -196,7 +242,7 @@ class SecretVersion extends pulumi.CustomResource {
|
|
|
196
242
|
resourceInputs["version"] = undefined /*out*/;
|
|
197
243
|
}
|
|
198
244
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
199
|
-
const secretOpts = { additionalSecretOutputs: ["secretData"] };
|
|
245
|
+
const secretOpts = { additionalSecretOutputs: ["secretData", "secretDataWo"] };
|
|
200
246
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
201
247
|
super(SecretVersion.__pulumiType, name, resourceInputs, opts);
|
|
202
248
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secretVersion.js","sourceRoot":"","sources":["../../secretmanager/secretVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"secretVersion.js","sourceRoot":"","sources":["../../secretmanager/secretVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLG;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;IA+DD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,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I,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnG,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9HL,sCA+HC;AAjHG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
package/sql/user.d.ts
CHANGED
|
@@ -172,6 +172,12 @@ export declare class User extends pulumi.CustomResource {
|
|
|
172
172
|
*/
|
|
173
173
|
readonly password: pulumi.Output<string | undefined>;
|
|
174
174
|
readonly passwordPolicy: pulumi.Output<outputs.sql.UserPasswordPolicy | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
177
|
+
* The password for the user. Can be updated. For Postgres instances this is a Required field, unless type is set to
|
|
178
|
+
* either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT.
|
|
179
|
+
*/
|
|
180
|
+
readonly passwordWo: pulumi.Output<string | undefined>;
|
|
175
181
|
/**
|
|
176
182
|
* The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
|
177
183
|
*
|
|
@@ -238,6 +244,12 @@ export interface UserState {
|
|
|
238
244
|
*/
|
|
239
245
|
password?: pulumi.Input<string>;
|
|
240
246
|
passwordPolicy?: pulumi.Input<inputs.sql.UserPasswordPolicy>;
|
|
247
|
+
/**
|
|
248
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
249
|
+
* The password for the user. Can be updated. For Postgres instances this is a Required field, unless type is set to
|
|
250
|
+
* either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT.
|
|
251
|
+
*/
|
|
252
|
+
passwordWo?: pulumi.Input<string>;
|
|
241
253
|
/**
|
|
242
254
|
* The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
|
243
255
|
*
|
|
@@ -296,6 +308,12 @@ export interface UserArgs {
|
|
|
296
308
|
*/
|
|
297
309
|
password?: pulumi.Input<string>;
|
|
298
310
|
passwordPolicy?: pulumi.Input<inputs.sql.UserPasswordPolicy>;
|
|
311
|
+
/**
|
|
312
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
313
|
+
* The password for the user. Can be updated. For Postgres instances this is a Required field, unless type is set to
|
|
314
|
+
* either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT.
|
|
315
|
+
*/
|
|
316
|
+
passwordWo?: pulumi.Input<string>;
|
|
299
317
|
/**
|
|
300
318
|
* The version of the password_wo. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes).
|
|
301
319
|
*
|
package/sql/user.js
CHANGED
|
@@ -162,6 +162,7 @@ class User extends pulumi.CustomResource {
|
|
|
162
162
|
resourceInputs["name"] = state?.name;
|
|
163
163
|
resourceInputs["password"] = state?.password;
|
|
164
164
|
resourceInputs["passwordPolicy"] = state?.passwordPolicy;
|
|
165
|
+
resourceInputs["passwordWo"] = state?.passwordWo;
|
|
165
166
|
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
166
167
|
resourceInputs["project"] = state?.project;
|
|
167
168
|
resourceInputs["sqlServerUserDetails"] = state?.sqlServerUserDetails;
|
|
@@ -178,13 +179,14 @@ class User extends pulumi.CustomResource {
|
|
|
178
179
|
resourceInputs["name"] = args?.name;
|
|
179
180
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
180
181
|
resourceInputs["passwordPolicy"] = args?.passwordPolicy;
|
|
182
|
+
resourceInputs["passwordWo"] = args?.passwordWo ? pulumi.secret(args.passwordWo) : undefined;
|
|
181
183
|
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
182
184
|
resourceInputs["project"] = args?.project;
|
|
183
185
|
resourceInputs["type"] = args?.type;
|
|
184
186
|
resourceInputs["sqlServerUserDetails"] = undefined /*out*/;
|
|
185
187
|
}
|
|
186
188
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
187
|
-
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
189
|
+
const secretOpts = { additionalSecretOutputs: ["password", "passwordWo"] };
|
|
188
190
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
189
191
|
super(User.__pulumiType, name, resourceInputs, opts);
|
|
190
192
|
}
|
package/sql/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"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U,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AArIL,oBAsIC;AAxHG,gBAAgB;AACO,iBAAY,GAAG,mBAAmB,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -6336,6 +6336,11 @@ export declare namespace bigquery {
|
|
|
6336
6336
|
* The Secret Access Key of the AWS account transferring data from.
|
|
6337
6337
|
*/
|
|
6338
6338
|
secretAccessKey?: pulumi.Input<string>;
|
|
6339
|
+
/**
|
|
6340
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
6341
|
+
* The Secret Access Key of the AWS account transferring data from.
|
|
6342
|
+
*/
|
|
6343
|
+
secretAccessKeyWo?: pulumi.Input<string>;
|
|
6339
6344
|
/**
|
|
6340
6345
|
* The version of the sensitive params - used to trigger updates of the write-only params. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
6341
6346
|
*/
|
|
@@ -71949,6 +71954,11 @@ export declare namespace monitoring {
|
|
|
71949
71954
|
* The password to authenticate.
|
|
71950
71955
|
*/
|
|
71951
71956
|
password?: pulumi.Input<string>;
|
|
71957
|
+
/**
|
|
71958
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
71959
|
+
* The password to authenticate.
|
|
71960
|
+
*/
|
|
71961
|
+
passwordWo?: pulumi.Input<string>;
|
|
71952
71962
|
/**
|
|
71953
71963
|
* The password write-only version.
|
|
71954
71964
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -7781,6 +7781,11 @@ export declare namespace bigquery {
|
|
|
7781
7781
|
* The Secret Access Key of the AWS account transferring data from.
|
|
7782
7782
|
*/
|
|
7783
7783
|
secretAccessKey?: string;
|
|
7784
|
+
/**
|
|
7785
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
7786
|
+
* The Secret Access Key of the AWS account transferring data from.
|
|
7787
|
+
*/
|
|
7788
|
+
secretAccessKeyWo?: string;
|
|
7784
7789
|
/**
|
|
7785
7790
|
* The version of the sensitive params - used to trigger updates of the write-only params. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
|
7786
7791
|
*/
|
|
@@ -90747,6 +90752,11 @@ export declare namespace monitoring {
|
|
|
90747
90752
|
* The password to authenticate.
|
|
90748
90753
|
*/
|
|
90749
90754
|
password?: string;
|
|
90755
|
+
/**
|
|
90756
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
90757
|
+
* The password to authenticate.
|
|
90758
|
+
*/
|
|
90759
|
+
passwordWo?: string;
|
|
90750
90760
|
/**
|
|
90751
90761
|
* The password write-only version.
|
|
90752
90762
|
*/
|