@pulumi/postgresql 3.16.0-alpha.1756506822 → 3.16.0-alpha.1756783672
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/config/vars.d.ts +1 -1
- package/defaultPrivileg.d.ts +3 -3
- package/defaultPrivileges.d.ts +3 -3
- package/package.json +2 -2
- package/provider.d.ts +2 -2
- package/role.d.ts +24 -3
- package/role.js +2 -0
- package/role.js.map +1 -1
package/config/vars.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const clientcert: outputs.config.Clientcert | undefined;
|
|
|
29
29
|
*/
|
|
30
30
|
export declare const connectTimeout: number;
|
|
31
31
|
/**
|
|
32
|
-
* The name of the database to connect to in order to
|
|
32
|
+
* The name of the database to connect to in order to connect to (defaults to `postgres`).
|
|
33
33
|
*/
|
|
34
34
|
export declare const database: string | undefined;
|
|
35
35
|
/**
|
package/defaultPrivileg.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare class DefaultPrivileg extends pulumi.CustomResource {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly database: pulumi.Output<string>;
|
|
83
83
|
/**
|
|
84
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
84
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
85
85
|
*/
|
|
86
86
|
readonly objectType: pulumi.Output<string>;
|
|
87
87
|
/**
|
|
@@ -123,7 +123,7 @@ export interface DefaultPrivilegState {
|
|
|
123
123
|
*/
|
|
124
124
|
database?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
126
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
127
127
|
*/
|
|
128
128
|
objectType?: pulumi.Input<string>;
|
|
129
129
|
/**
|
|
@@ -156,7 +156,7 @@ export interface DefaultPrivilegArgs {
|
|
|
156
156
|
*/
|
|
157
157
|
database: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
159
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
159
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
160
160
|
*/
|
|
161
161
|
objectType: pulumi.Input<string>;
|
|
162
162
|
/**
|
package/defaultPrivileges.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare class DefaultPrivileges extends pulumi.CustomResource {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly database: pulumi.Output<string>;
|
|
81
81
|
/**
|
|
82
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
82
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
83
83
|
*/
|
|
84
84
|
readonly objectType: pulumi.Output<string>;
|
|
85
85
|
/**
|
|
@@ -120,7 +120,7 @@ export interface DefaultPrivilegesState {
|
|
|
120
120
|
*/
|
|
121
121
|
database?: pulumi.Input<string>;
|
|
122
122
|
/**
|
|
123
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
123
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
124
124
|
*/
|
|
125
125
|
objectType?: pulumi.Input<string>;
|
|
126
126
|
/**
|
|
@@ -153,7 +153,7 @@ export interface DefaultPrivilegesArgs {
|
|
|
153
153
|
*/
|
|
154
154
|
database: pulumi.Input<string>;
|
|
155
155
|
/**
|
|
156
|
-
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
|
|
156
|
+
* The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema).
|
|
157
157
|
*/
|
|
158
158
|
objectType: pulumi.Input<string>;
|
|
159
159
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/postgresql",
|
|
3
|
-
"version": "3.16.0-alpha.
|
|
3
|
+
"version": "3.16.0-alpha.1756783672",
|
|
4
4
|
"description": "A Pulumi package for creating and managing postgresql cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "postgresql",
|
|
26
|
-
"version": "3.16.0-alpha.
|
|
26
|
+
"version": "3.16.0-alpha.1756783672"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/provider.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
26
26
|
readonly awsRdsIamRegion: pulumi.Output<string | undefined>;
|
|
27
27
|
readonly azureTenantId: pulumi.Output<string | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
* The name of the database to connect to in order to
|
|
29
|
+
* The name of the database to connect to in order to connect to (defaults to `postgres`).
|
|
30
30
|
*/
|
|
31
31
|
readonly database: pulumi.Output<string | undefined>;
|
|
32
32
|
/**
|
|
@@ -113,7 +113,7 @@ export interface ProviderArgs {
|
|
|
113
113
|
*/
|
|
114
114
|
connectTimeout?: pulumi.Input<number>;
|
|
115
115
|
/**
|
|
116
|
-
* The name of the database to connect to in order to
|
|
116
|
+
* The name of the database to connect to in order to connect to (defaults to `postgres`).
|
|
117
117
|
*/
|
|
118
118
|
database?: pulumi.Input<string>;
|
|
119
119
|
/**
|
package/role.d.ts
CHANGED
|
@@ -78,6 +78,13 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
78
78
|
* for roles having the `login` attribute set to true.
|
|
79
79
|
*/
|
|
80
80
|
readonly password: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Prevents applies from updating the role password on every
|
|
83
|
+
* apply unless the value changes. This version string should be updated whenever you want to
|
|
84
|
+
* change the password specified in `passwordWo`. Must be used together with `passwordWo`.
|
|
85
|
+
* Conflicts with `password`.
|
|
86
|
+
*/
|
|
87
|
+
readonly passwordWoVersion: pulumi.Output<string | undefined>;
|
|
81
88
|
/**
|
|
82
89
|
* Defines whether a role is allowed to initiate
|
|
83
90
|
* streaming replication or put the system in and out of backup mode. Default
|
|
@@ -109,7 +116,7 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
109
116
|
* databases and the ROLE is dropped, a
|
|
110
117
|
* [`REASSIGN OWNED`](https://www.postgresql.org/docs/current/static/sql-reassign-owned.html) in
|
|
111
118
|
* must be executed on each of the respective databases before the `DROP ROLE`
|
|
112
|
-
* can be executed to
|
|
119
|
+
* can be executed to drop the ROLE from the catalog. This is the first and
|
|
113
120
|
* second steps taken when removing a ROLE from a database (the second step being
|
|
114
121
|
* an implicit
|
|
115
122
|
* [`DROP OWNED`](https://www.postgresql.org/docs/current/static/sql-drop-owned.html)).
|
|
@@ -209,6 +216,13 @@ export interface RoleState {
|
|
|
209
216
|
* for roles having the `login` attribute set to true.
|
|
210
217
|
*/
|
|
211
218
|
password?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* Prevents applies from updating the role password on every
|
|
221
|
+
* apply unless the value changes. This version string should be updated whenever you want to
|
|
222
|
+
* change the password specified in `passwordWo`. Must be used together with `passwordWo`.
|
|
223
|
+
* Conflicts with `password`.
|
|
224
|
+
*/
|
|
225
|
+
passwordWoVersion?: pulumi.Input<string>;
|
|
212
226
|
/**
|
|
213
227
|
* Defines whether a role is allowed to initiate
|
|
214
228
|
* streaming replication or put the system in and out of backup mode. Default
|
|
@@ -240,7 +254,7 @@ export interface RoleState {
|
|
|
240
254
|
* databases and the ROLE is dropped, a
|
|
241
255
|
* [`REASSIGN OWNED`](https://www.postgresql.org/docs/current/static/sql-reassign-owned.html) in
|
|
242
256
|
* must be executed on each of the respective databases before the `DROP ROLE`
|
|
243
|
-
* can be executed to
|
|
257
|
+
* can be executed to drop the ROLE from the catalog. This is the first and
|
|
244
258
|
* second steps taken when removing a ROLE from a database (the second step being
|
|
245
259
|
* an implicit
|
|
246
260
|
* [`DROP OWNED`](https://www.postgresql.org/docs/current/static/sql-drop-owned.html)).
|
|
@@ -332,6 +346,13 @@ export interface RoleArgs {
|
|
|
332
346
|
* for roles having the `login` attribute set to true.
|
|
333
347
|
*/
|
|
334
348
|
password?: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Prevents applies from updating the role password on every
|
|
351
|
+
* apply unless the value changes. This version string should be updated whenever you want to
|
|
352
|
+
* change the password specified in `passwordWo`. Must be used together with `passwordWo`.
|
|
353
|
+
* Conflicts with `password`.
|
|
354
|
+
*/
|
|
355
|
+
passwordWoVersion?: pulumi.Input<string>;
|
|
335
356
|
/**
|
|
336
357
|
* Defines whether a role is allowed to initiate
|
|
337
358
|
* streaming replication or put the system in and out of backup mode. Default
|
|
@@ -363,7 +384,7 @@ export interface RoleArgs {
|
|
|
363
384
|
* databases and the ROLE is dropped, a
|
|
364
385
|
* [`REASSIGN OWNED`](https://www.postgresql.org/docs/current/static/sql-reassign-owned.html) in
|
|
365
386
|
* must be executed on each of the respective databases before the `DROP ROLE`
|
|
366
|
-
* can be executed to
|
|
387
|
+
* can be executed to drop the ROLE from the catalog. This is the first and
|
|
367
388
|
* second steps taken when removing a ROLE from a database (the second step being
|
|
368
389
|
* an implicit
|
|
369
390
|
* [`DROP OWNED`](https://www.postgresql.org/docs/current/static/sql-drop-owned.html)).
|
package/role.js
CHANGED
|
@@ -45,6 +45,7 @@ class Role extends pulumi.CustomResource {
|
|
|
45
45
|
resourceInputs["login"] = state?.login;
|
|
46
46
|
resourceInputs["name"] = state?.name;
|
|
47
47
|
resourceInputs["password"] = state?.password;
|
|
48
|
+
resourceInputs["passwordWoVersion"] = state?.passwordWoVersion;
|
|
48
49
|
resourceInputs["replication"] = state?.replication;
|
|
49
50
|
resourceInputs["roles"] = state?.roles;
|
|
50
51
|
resourceInputs["searchPaths"] = state?.searchPaths;
|
|
@@ -68,6 +69,7 @@ class Role extends pulumi.CustomResource {
|
|
|
68
69
|
resourceInputs["login"] = args?.login;
|
|
69
70
|
resourceInputs["name"] = args?.name;
|
|
70
71
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
72
|
+
resourceInputs["passwordWoVersion"] = args?.passwordWoVersion;
|
|
71
73
|
resourceInputs["replication"] = args?.replication;
|
|
72
74
|
resourceInputs["roles"] = args?.roles;
|
|
73
75
|
resourceInputs["searchPaths"] = args?.searchPaths;
|
package/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,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