@pulumi/random 4.3.1 → 4.4.0-alpha.1651660284
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/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +2 -1
- package/package.json.dev +3 -2
- package/provider.js +3 -5
- package/provider.js.map +1 -1
- package/randomId.d.ts +20 -10
- package/randomId.js +17 -19
- package/randomId.js.map +1 -1
- package/randomInteger.d.ts +6 -3
- package/randomInteger.js +13 -15
- package/randomInteger.js.map +1 -1
- package/randomPassword.d.ts +46 -38
- package/randomPassword.js +28 -34
- package/randomPassword.js.map +1 -1
- package/randomPet.d.ts +6 -3
- package/randomPet.js +11 -13
- package/randomPet.js.map +1 -1
- package/randomShuffle.d.ts +24 -9
- package/randomShuffle.js +13 -15
- package/randomShuffle.js.map +1 -1
- package/randomString.d.ts +45 -33
- package/randomString.js +27 -29
- package/randomString.js.map +1 -1
- package/randomUuid.d.ts +6 -3
- package/randomUuid.js +7 -9
- package/randomUuid.js.map +1 -1
- package/utilities.js +6 -1
- package/utilities.js.map +1 -1
package/index.js
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
|
-
Object.
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
7
11
|
}) : (function(o, m, k, k2) {
|
|
8
12
|
if (k2 === undefined) k2 = k;
|
|
9
13
|
o[k2] = m[k];
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,mDAAiC;AACjC,8CAA4B;AAC5B,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAE7B,gCAAgC;AAChC,yCAAsC;AACtC,mDAAgD;AAChD,qDAAkD;AAClD,2CAAwC;AACxC,mDAAgD;AAChD,iDAA8C;AAC9C,6CAA0C;AAE1C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gCAAgC;gBACjC,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,kCAAkC;gBACnC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,wCAAwC;gBACzC,OAAO,IAAI,2BAAY,CA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,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/random",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.4.0-alpha.1651660284+d0979aec",
|
|
4
4
|
"description": "A Pulumi package to safely use randomness in Pulumi programs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource random v4.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource random v4.4.0-alpha.1651660284+d0979aec"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.bak
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"repository": "https://github.com/pulumi/pulumi-random",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource random ${VERSION}"
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/random",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.4.0-alpha.1651660284+d0979aec",
|
|
4
4
|
"description": "A Pulumi package to safely use randomness in Pulumi programs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"repository": "https://github.com/pulumi/pulumi-random",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource random v4.4.0-alpha.1651660284+d0979aec"
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.js
CHANGED
|
@@ -20,14 +20,12 @@ class Provider extends pulumi.ProviderResource {
|
|
|
20
20
|
* @param opts A bag of options that control this resource's behavior.
|
|
21
21
|
*/
|
|
22
22
|
constructor(name, args, opts) {
|
|
23
|
-
let
|
|
23
|
+
let resourceInputs = {};
|
|
24
24
|
opts = opts || {};
|
|
25
25
|
{
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
super(Provider.__pulumiType, name, inputs, opts);
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
31
29
|
}
|
|
32
30
|
/**
|
|
33
31
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAgBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAgBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;SACC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA1BD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA+BC;AA9BG,gBAAgB;AACO,qBAAY,GAAG,QAAQ,CAAC"}
|
package/randomId.d.ts
CHANGED
|
@@ -72,7 +72,8 @@ export declare class RandomId extends pulumi.CustomResource {
|
|
|
72
72
|
*/
|
|
73
73
|
readonly b64Std: pulumi.Output<string>;
|
|
74
74
|
/**
|
|
75
|
-
* The generated id presented in base64, using the URL-friendly character set: case-sensitive letters, digits and the
|
|
75
|
+
* The generated id presented in base64, using the URL-friendly character set: case-sensitive letters, digits and the
|
|
76
|
+
* characters `_` and `-`.
|
|
76
77
|
*/
|
|
77
78
|
readonly b64Url: pulumi.Output<string>;
|
|
78
79
|
/**
|
|
@@ -84,17 +85,20 @@ export declare class RandomId extends pulumi.CustomResource {
|
|
|
84
85
|
*/
|
|
85
86
|
readonly dec: pulumi.Output<string>;
|
|
86
87
|
/**
|
|
87
|
-
* The generated id presented in padded hexadecimal digits. This result will always be twice as long as the requested byte
|
|
88
|
+
* The generated id presented in padded hexadecimal digits. This result will always be twice as long as the requested byte
|
|
89
|
+
* length.
|
|
88
90
|
*/
|
|
89
91
|
readonly hex: pulumi.Output<string>;
|
|
90
92
|
/**
|
|
91
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
93
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
94
|
+
* documentation](../index.html) for more information.
|
|
92
95
|
*/
|
|
93
96
|
readonly keepers: pulumi.Output<{
|
|
94
97
|
[key: string]: any;
|
|
95
98
|
} | undefined>;
|
|
96
99
|
/**
|
|
97
|
-
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
100
|
+
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
101
|
+
* URL-safe or base64 encoded.
|
|
98
102
|
*/
|
|
99
103
|
readonly prefix: pulumi.Output<string | undefined>;
|
|
100
104
|
/**
|
|
@@ -115,7 +119,8 @@ export interface RandomIdState {
|
|
|
115
119
|
*/
|
|
116
120
|
b64Std?: pulumi.Input<string>;
|
|
117
121
|
/**
|
|
118
|
-
* The generated id presented in base64, using the URL-friendly character set: case-sensitive letters, digits and the
|
|
122
|
+
* The generated id presented in base64, using the URL-friendly character set: case-sensitive letters, digits and the
|
|
123
|
+
* characters `_` and `-`.
|
|
119
124
|
*/
|
|
120
125
|
b64Url?: pulumi.Input<string>;
|
|
121
126
|
/**
|
|
@@ -127,17 +132,20 @@ export interface RandomIdState {
|
|
|
127
132
|
*/
|
|
128
133
|
dec?: pulumi.Input<string>;
|
|
129
134
|
/**
|
|
130
|
-
* The generated id presented in padded hexadecimal digits. This result will always be twice as long as the requested byte
|
|
135
|
+
* The generated id presented in padded hexadecimal digits. This result will always be twice as long as the requested byte
|
|
136
|
+
* length.
|
|
131
137
|
*/
|
|
132
138
|
hex?: pulumi.Input<string>;
|
|
133
139
|
/**
|
|
134
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
140
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
141
|
+
* documentation](../index.html) for more information.
|
|
135
142
|
*/
|
|
136
143
|
keepers?: pulumi.Input<{
|
|
137
144
|
[key: string]: any;
|
|
138
145
|
}>;
|
|
139
146
|
/**
|
|
140
|
-
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
147
|
+
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
148
|
+
* URL-safe or base64 encoded.
|
|
141
149
|
*/
|
|
142
150
|
prefix?: pulumi.Input<string>;
|
|
143
151
|
}
|
|
@@ -150,13 +158,15 @@ export interface RandomIdArgs {
|
|
|
150
158
|
*/
|
|
151
159
|
byteLength: pulumi.Input<number>;
|
|
152
160
|
/**
|
|
153
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
161
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
162
|
+
* documentation](../index.html) for more information.
|
|
154
163
|
*/
|
|
155
164
|
keepers?: pulumi.Input<{
|
|
156
165
|
[key: string]: any;
|
|
157
166
|
}>;
|
|
158
167
|
/**
|
|
159
|
-
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
168
|
+
* Arbitrary string to prefix the output value with. This string is supplied as-is, meaning it is not guaranteed to be
|
|
169
|
+
* URL-safe or base64 encoded.
|
|
160
170
|
*/
|
|
161
171
|
prefix?: pulumi.Input<string>;
|
|
162
172
|
}
|
package/randomId.js
CHANGED
|
@@ -59,35 +59,33 @@ const utilities = require("./utilities");
|
|
|
59
59
|
*/
|
|
60
60
|
class RandomId extends pulumi.CustomResource {
|
|
61
61
|
constructor(name, argsOrState, opts) {
|
|
62
|
-
let
|
|
62
|
+
let resourceInputs = {};
|
|
63
63
|
opts = opts || {};
|
|
64
64
|
if (opts.id) {
|
|
65
65
|
const state = argsOrState;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
66
|
+
resourceInputs["b64Std"] = state ? state.b64Std : undefined;
|
|
67
|
+
resourceInputs["b64Url"] = state ? state.b64Url : undefined;
|
|
68
|
+
resourceInputs["byteLength"] = state ? state.byteLength : undefined;
|
|
69
|
+
resourceInputs["dec"] = state ? state.dec : undefined;
|
|
70
|
+
resourceInputs["hex"] = state ? state.hex : undefined;
|
|
71
|
+
resourceInputs["keepers"] = state ? state.keepers : undefined;
|
|
72
|
+
resourceInputs["prefix"] = state ? state.prefix : undefined;
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
75
|
const args = argsOrState;
|
|
76
76
|
if ((!args || args.byteLength === undefined) && !opts.urn) {
|
|
77
77
|
throw new Error("Missing required property 'byteLength'");
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
79
|
+
resourceInputs["byteLength"] = args ? args.byteLength : undefined;
|
|
80
|
+
resourceInputs["keepers"] = args ? args.keepers : undefined;
|
|
81
|
+
resourceInputs["prefix"] = args ? args.prefix : undefined;
|
|
82
|
+
resourceInputs["b64Std"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["b64Url"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["dec"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["hex"] = undefined /*out*/;
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
super(RandomId.__pulumiType, name, inputs, opts);
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(RandomId.__pulumiType, name, resourceInputs, opts);
|
|
91
89
|
}
|
|
92
90
|
/**
|
|
93
91
|
* Get an existing RandomId resource's state with the given name, ID, and optional extra
|
package/randomId.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomId.js","sourceRoot":"","sources":["../randomId.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,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AAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAiGC;AAnFG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
package/randomInteger.d.ts
CHANGED
|
@@ -56,7 +56,8 @@ export declare class RandomInteger extends pulumi.CustomResource {
|
|
|
56
56
|
*/
|
|
57
57
|
static isInstance(obj: any): obj is RandomInteger;
|
|
58
58
|
/**
|
|
59
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
59
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
60
|
+
* documentation](../index.html) for more information.
|
|
60
61
|
*/
|
|
61
62
|
readonly keepers: pulumi.Output<{
|
|
62
63
|
[key: string]: any;
|
|
@@ -91,7 +92,8 @@ export declare class RandomInteger extends pulumi.CustomResource {
|
|
|
91
92
|
*/
|
|
92
93
|
export interface RandomIntegerState {
|
|
93
94
|
/**
|
|
94
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
95
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
96
|
+
* documentation](../index.html) for more information.
|
|
95
97
|
*/
|
|
96
98
|
keepers?: pulumi.Input<{
|
|
97
99
|
[key: string]: any;
|
|
@@ -118,7 +120,8 @@ export interface RandomIntegerState {
|
|
|
118
120
|
*/
|
|
119
121
|
export interface RandomIntegerArgs {
|
|
120
122
|
/**
|
|
121
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
123
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
124
|
+
* documentation](../index.html) for more information.
|
|
122
125
|
*/
|
|
123
126
|
keepers?: pulumi.Input<{
|
|
124
127
|
[key: string]: any;
|
package/randomInteger.js
CHANGED
|
@@ -47,15 +47,15 @@ const utilities = require("./utilities");
|
|
|
47
47
|
*/
|
|
48
48
|
class RandomInteger extends pulumi.CustomResource {
|
|
49
49
|
constructor(name, argsOrState, opts) {
|
|
50
|
-
let
|
|
50
|
+
let resourceInputs = {};
|
|
51
51
|
opts = opts || {};
|
|
52
52
|
if (opts.id) {
|
|
53
53
|
const state = argsOrState;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
resourceInputs["keepers"] = state ? state.keepers : undefined;
|
|
55
|
+
resourceInputs["max"] = state ? state.max : undefined;
|
|
56
|
+
resourceInputs["min"] = state ? state.min : undefined;
|
|
57
|
+
resourceInputs["result"] = state ? state.result : undefined;
|
|
58
|
+
resourceInputs["seed"] = state ? state.seed : undefined;
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
61
61
|
const args = argsOrState;
|
|
@@ -65,16 +65,14 @@ class RandomInteger extends pulumi.CustomResource {
|
|
|
65
65
|
if ((!args || args.min === undefined) && !opts.urn) {
|
|
66
66
|
throw new Error("Missing required property 'min'");
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
resourceInputs["keepers"] = args ? args.keepers : undefined;
|
|
69
|
+
resourceInputs["max"] = args ? args.max : undefined;
|
|
70
|
+
resourceInputs["min"] = args ? args.min : undefined;
|
|
71
|
+
resourceInputs["seed"] = args ? args.seed : undefined;
|
|
72
|
+
resourceInputs["result"] = undefined /*out*/;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
super(RandomInteger.__pulumiType, name, inputs, opts);
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(RandomInteger.__pulumiType, name, resourceInputs, opts);
|
|
78
76
|
}
|
|
79
77
|
/**
|
|
80
78
|
* Get an existing RandomInteger resource's state with the given name, ID, and optional extra
|
package/randomInteger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomInteger.js","sourceRoot":"","sources":["../randomInteger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"randomInteger.js","sourceRoot":"","sources":["../randomInteger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA0DpD,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,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,KA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AAC;IAClE,CAAC;IAnFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,sCAqFC;AAvEG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/randomPassword.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Identical to random.RandomString with the exception that the result is treated as sensitive and, thus, _not_ displayed in console output.
|
|
4
|
-
*
|
|
5
|
-
* This resource *does* use a cryptographic random number generator.
|
|
6
|
-
*
|
|
7
3
|
* ## Example Usage
|
|
8
4
|
*
|
|
9
5
|
* ```typescript
|
|
@@ -14,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
10
|
* const password = new random.RandomPassword("password", {
|
|
15
11
|
* length: 16,
|
|
16
12
|
* special: true,
|
|
17
|
-
* overrideSpecial:
|
|
13
|
+
* overrideSpecial: `!#$%&*()-_=+[]{}<>:?`,
|
|
18
14
|
* });
|
|
19
15
|
* const example = new aws.rds.Instance("example", {
|
|
20
16
|
* instanceClass: "db.t3.micro",
|
|
@@ -50,41 +46,45 @@ export declare class RandomPassword extends pulumi.CustomResource {
|
|
|
50
46
|
*/
|
|
51
47
|
static isInstance(obj: any): obj is RandomPassword;
|
|
52
48
|
/**
|
|
53
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
49
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
50
|
+
* documentation](../index.html) for more information.
|
|
54
51
|
*/
|
|
55
52
|
readonly keepers: pulumi.Output<{
|
|
56
53
|
[key: string]: any;
|
|
57
54
|
} | undefined>;
|
|
58
55
|
/**
|
|
59
|
-
* The length of the string desired.
|
|
56
|
+
* The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` +
|
|
57
|
+
* `min_lower` + `min_numeric` + `min_special`).
|
|
60
58
|
*/
|
|
61
59
|
readonly length: pulumi.Output<number>;
|
|
62
60
|
/**
|
|
63
|
-
* Include lowercase alphabet characters in the result.
|
|
61
|
+
* Include lowercase alphabet characters in the result. Default value is `true`.
|
|
64
62
|
*/
|
|
65
63
|
readonly lower: pulumi.Output<boolean | undefined>;
|
|
66
64
|
/**
|
|
67
|
-
* Minimum number of lowercase alphabet characters in the result.
|
|
65
|
+
* Minimum number of lowercase alphabet characters in the result. Default value is `0`.
|
|
68
66
|
*/
|
|
69
67
|
readonly minLower: pulumi.Output<number | undefined>;
|
|
70
68
|
/**
|
|
71
|
-
* Minimum number of numeric characters in the result.
|
|
69
|
+
* Minimum number of numeric characters in the result. Default value is `0`.
|
|
72
70
|
*/
|
|
73
71
|
readonly minNumeric: pulumi.Output<number | undefined>;
|
|
74
72
|
/**
|
|
75
|
-
* Minimum number of special characters in the result.
|
|
73
|
+
* Minimum number of special characters in the result. Default value is `0`.
|
|
76
74
|
*/
|
|
77
75
|
readonly minSpecial: pulumi.Output<number | undefined>;
|
|
78
76
|
/**
|
|
79
|
-
* Minimum number of uppercase alphabet characters in the result.
|
|
77
|
+
* Minimum number of uppercase alphabet characters in the result. Default value is `0`.
|
|
80
78
|
*/
|
|
81
79
|
readonly minUpper: pulumi.Output<number | undefined>;
|
|
82
80
|
/**
|
|
83
|
-
* Include numeric characters in the result.
|
|
81
|
+
* Include numeric characters in the result. Default value is `true`.
|
|
84
82
|
*/
|
|
85
83
|
readonly number: pulumi.Output<boolean | undefined>;
|
|
86
84
|
/**
|
|
87
|
-
* Supply your own list of special characters to use for string generation.
|
|
85
|
+
* Supply your own list of special characters to use for string generation. This overrides the default character list in
|
|
86
|
+
* the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
|
|
87
|
+
* generation.
|
|
88
88
|
*/
|
|
89
89
|
readonly overrideSpecial: pulumi.Output<string | undefined>;
|
|
90
90
|
/**
|
|
@@ -92,11 +92,11 @@ export declare class RandomPassword extends pulumi.CustomResource {
|
|
|
92
92
|
*/
|
|
93
93
|
readonly result: pulumi.Output<string>;
|
|
94
94
|
/**
|
|
95
|
-
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}
|
|
95
|
+
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
|
|
96
96
|
*/
|
|
97
97
|
readonly special: pulumi.Output<boolean | undefined>;
|
|
98
98
|
/**
|
|
99
|
-
* Include uppercase alphabet characters in the result.
|
|
99
|
+
* Include uppercase alphabet characters in the result. Default value is `true`.
|
|
100
100
|
*/
|
|
101
101
|
readonly upper: pulumi.Output<boolean | undefined>;
|
|
102
102
|
/**
|
|
@@ -113,41 +113,45 @@ export declare class RandomPassword extends pulumi.CustomResource {
|
|
|
113
113
|
*/
|
|
114
114
|
export interface RandomPasswordState {
|
|
115
115
|
/**
|
|
116
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
116
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
117
|
+
* documentation](../index.html) for more information.
|
|
117
118
|
*/
|
|
118
119
|
keepers?: pulumi.Input<{
|
|
119
120
|
[key: string]: any;
|
|
120
121
|
}>;
|
|
121
122
|
/**
|
|
122
|
-
* The length of the string desired.
|
|
123
|
+
* The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` +
|
|
124
|
+
* `min_lower` + `min_numeric` + `min_special`).
|
|
123
125
|
*/
|
|
124
126
|
length?: pulumi.Input<number>;
|
|
125
127
|
/**
|
|
126
|
-
* Include lowercase alphabet characters in the result.
|
|
128
|
+
* Include lowercase alphabet characters in the result. Default value is `true`.
|
|
127
129
|
*/
|
|
128
130
|
lower?: pulumi.Input<boolean>;
|
|
129
131
|
/**
|
|
130
|
-
* Minimum number of lowercase alphabet characters in the result.
|
|
132
|
+
* Minimum number of lowercase alphabet characters in the result. Default value is `0`.
|
|
131
133
|
*/
|
|
132
134
|
minLower?: pulumi.Input<number>;
|
|
133
135
|
/**
|
|
134
|
-
* Minimum number of numeric characters in the result.
|
|
136
|
+
* Minimum number of numeric characters in the result. Default value is `0`.
|
|
135
137
|
*/
|
|
136
138
|
minNumeric?: pulumi.Input<number>;
|
|
137
139
|
/**
|
|
138
|
-
* Minimum number of special characters in the result.
|
|
140
|
+
* Minimum number of special characters in the result. Default value is `0`.
|
|
139
141
|
*/
|
|
140
142
|
minSpecial?: pulumi.Input<number>;
|
|
141
143
|
/**
|
|
142
|
-
* Minimum number of uppercase alphabet characters in the result.
|
|
144
|
+
* Minimum number of uppercase alphabet characters in the result. Default value is `0`.
|
|
143
145
|
*/
|
|
144
146
|
minUpper?: pulumi.Input<number>;
|
|
145
147
|
/**
|
|
146
|
-
* Include numeric characters in the result.
|
|
148
|
+
* Include numeric characters in the result. Default value is `true`.
|
|
147
149
|
*/
|
|
148
150
|
number?: pulumi.Input<boolean>;
|
|
149
151
|
/**
|
|
150
|
-
* Supply your own list of special characters to use for string generation.
|
|
152
|
+
* Supply your own list of special characters to use for string generation. This overrides the default character list in
|
|
153
|
+
* the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
|
|
154
|
+
* generation.
|
|
151
155
|
*/
|
|
152
156
|
overrideSpecial?: pulumi.Input<string>;
|
|
153
157
|
/**
|
|
@@ -155,11 +159,11 @@ export interface RandomPasswordState {
|
|
|
155
159
|
*/
|
|
156
160
|
result?: pulumi.Input<string>;
|
|
157
161
|
/**
|
|
158
|
-
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}
|
|
162
|
+
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
|
|
159
163
|
*/
|
|
160
164
|
special?: pulumi.Input<boolean>;
|
|
161
165
|
/**
|
|
162
|
-
* Include uppercase alphabet characters in the result.
|
|
166
|
+
* Include uppercase alphabet characters in the result. Default value is `true`.
|
|
163
167
|
*/
|
|
164
168
|
upper?: pulumi.Input<boolean>;
|
|
165
169
|
}
|
|
@@ -168,49 +172,53 @@ export interface RandomPasswordState {
|
|
|
168
172
|
*/
|
|
169
173
|
export interface RandomPasswordArgs {
|
|
170
174
|
/**
|
|
171
|
-
* Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider
|
|
175
|
+
* Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
|
|
176
|
+
* documentation](../index.html) for more information.
|
|
172
177
|
*/
|
|
173
178
|
keepers?: pulumi.Input<{
|
|
174
179
|
[key: string]: any;
|
|
175
180
|
}>;
|
|
176
181
|
/**
|
|
177
|
-
* The length of the string desired.
|
|
182
|
+
* The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` +
|
|
183
|
+
* `min_lower` + `min_numeric` + `min_special`).
|
|
178
184
|
*/
|
|
179
185
|
length: pulumi.Input<number>;
|
|
180
186
|
/**
|
|
181
|
-
* Include lowercase alphabet characters in the result.
|
|
187
|
+
* Include lowercase alphabet characters in the result. Default value is `true`.
|
|
182
188
|
*/
|
|
183
189
|
lower?: pulumi.Input<boolean>;
|
|
184
190
|
/**
|
|
185
|
-
* Minimum number of lowercase alphabet characters in the result.
|
|
191
|
+
* Minimum number of lowercase alphabet characters in the result. Default value is `0`.
|
|
186
192
|
*/
|
|
187
193
|
minLower?: pulumi.Input<number>;
|
|
188
194
|
/**
|
|
189
|
-
* Minimum number of numeric characters in the result.
|
|
195
|
+
* Minimum number of numeric characters in the result. Default value is `0`.
|
|
190
196
|
*/
|
|
191
197
|
minNumeric?: pulumi.Input<number>;
|
|
192
198
|
/**
|
|
193
|
-
* Minimum number of special characters in the result.
|
|
199
|
+
* Minimum number of special characters in the result. Default value is `0`.
|
|
194
200
|
*/
|
|
195
201
|
minSpecial?: pulumi.Input<number>;
|
|
196
202
|
/**
|
|
197
|
-
* Minimum number of uppercase alphabet characters in the result.
|
|
203
|
+
* Minimum number of uppercase alphabet characters in the result. Default value is `0`.
|
|
198
204
|
*/
|
|
199
205
|
minUpper?: pulumi.Input<number>;
|
|
200
206
|
/**
|
|
201
|
-
* Include numeric characters in the result.
|
|
207
|
+
* Include numeric characters in the result. Default value is `true`.
|
|
202
208
|
*/
|
|
203
209
|
number?: pulumi.Input<boolean>;
|
|
204
210
|
/**
|
|
205
|
-
* Supply your own list of special characters to use for string generation.
|
|
211
|
+
* Supply your own list of special characters to use for string generation. This overrides the default character list in
|
|
212
|
+
* the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
|
|
213
|
+
* generation.
|
|
206
214
|
*/
|
|
207
215
|
overrideSpecial?: pulumi.Input<string>;
|
|
208
216
|
/**
|
|
209
|
-
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}
|
|
217
|
+
* Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
|
|
210
218
|
*/
|
|
211
219
|
special?: pulumi.Input<boolean>;
|
|
212
220
|
/**
|
|
213
|
-
* Include uppercase alphabet characters in the result.
|
|
221
|
+
* Include uppercase alphabet characters in the result. Default value is `true`.
|
|
214
222
|
*/
|
|
215
223
|
upper?: pulumi.Input<boolean>;
|
|
216
224
|
}
|