@pulumi/random 4.9.0 → 4.10.0-alpha.1674847484

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.
@@ -1,5 +1,16 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note:** Requires random provider version >= 2.2.0
4
+ *
5
+ * Identical to random.RandomString with the exception that the
6
+ * result is treated as sensitive and, thus, _not_ displayed in console output.
7
+ *
8
+ * > **Note:** All attributes including the generated password will be stored in
9
+ * the raw state as plain-text. [Read more about sensitive data in
10
+ * state](https://www.terraform.io/docs/state/sensitive-data.html).
11
+ *
12
+ * This resource *does* use a cryptographic random number generator.
13
+ *
3
14
  * ## Example Usage
4
15
  *
5
16
  * ```typescript
@@ -10,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
10
21
  * const password = new random.RandomPassword("password", {
11
22
  * length: 16,
12
23
  * special: true,
13
- * overrideSpecial: `!#$%&*()-_=+[]{}<>:?`,
24
+ * overrideSpecial: `_%@`,
14
25
  * });
15
26
  * const example = new aws.rds.Instance("example", {
16
27
  * instanceClass: "db.t3.micro",
@@ -23,61 +34,11 @@ import * as pulumi from "@pulumi/pulumi";
23
34
  *
24
35
  * ## Import
25
36
  *
26
- * ### Avoiding Replacement
37
+ * Random Password can be imported by specifying the value of the string
27
38
  *
28
39
  * ```sh
29
- * $ pulumi import random:index/randomPassword:RandomPassword If the resource were imported using `random_password.password securepassword`,
40
+ * $ pulumi import random:index/randomPassword:RandomPassword password securepassword
30
41
  * ```
31
- *
32
- * replacement could be avoided by using1. Attribute values that match the imported ID and defaults:
33
- *
34
- * terraform
35
- *
36
- * resource "random_password" "password" {
37
- *
38
- * length = 14
39
- *
40
- * lower
41
- *
42
- * = true
43
- *
44
- * } 2. Attribute values that match the imported ID and omit the attributes with defaults:
45
- *
46
- * terraform
47
- *
48
- * resource "random_password" "password" {
49
- *
50
- * length = 14
51
- *
52
- * } 3. `ignore_changes` specifying the attributes to ignore:
53
- *
54
- * terraform
55
- *
56
- * resource "random_password" "password" {
57
- *
58
- * length = 16
59
- *
60
- * lower
61
- *
62
- * = false
63
- *
64
- * lifecycle {
65
- *
66
- * ignore_changes = [
67
- *
68
- * length,
69
- *
70
- * lower,
71
- *
72
- * ]
73
- *
74
- * }
75
- *
76
- * }
77
- *
78
- * **NOTE** `ignore_changes` is only required until the resource is recreated after import,
79
- *
80
- * after which it will use the configuration values specified.
81
42
  */
82
43
  export declare class RandomPassword extends pulumi.CustomResource {
83
44
  /**
@@ -96,51 +57,44 @@ export declare class RandomPassword extends pulumi.CustomResource {
96
57
  */
97
58
  static isInstance(obj: any): obj is RandomPassword;
98
59
  /**
99
- * A bcrypt hash of the generated random string.
100
- */
101
- readonly bcryptHash: pulumi.Output<string>;
102
- /**
103
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
60
+ * Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
61
+ * documentation](../index.html) for more information.
104
62
  */
105
63
  readonly keepers: pulumi.Output<{
106
- [key: string]: string;
64
+ [key: string]: any;
107
65
  } | undefined>;
108
66
  /**
109
- * The length of the string desired. The minimum value for length is 1 and, length must also be >= (`minUpper` + `minLower` + `minNumeric` + `minSpecial`).
67
+ * The length of the string desired.
110
68
  */
111
69
  readonly length: pulumi.Output<number>;
112
70
  /**
113
- * Include lowercase alphabet characters in the result. Default value is `true`.
71
+ * Include lowercase alphabet characters in the result.
114
72
  */
115
- readonly lower: pulumi.Output<boolean>;
73
+ readonly lower: pulumi.Output<boolean | undefined>;
116
74
  /**
117
- * Minimum number of lowercase alphabet characters in the result. Default value is `0`.
75
+ * Minimum number of lowercase alphabet characters in the result.
118
76
  */
119
- readonly minLower: pulumi.Output<number>;
77
+ readonly minLower: pulumi.Output<number | undefined>;
120
78
  /**
121
- * Minimum number of numeric characters in the result. Default value is `0`.
79
+ * Minimum number of numeric characters in the result.
122
80
  */
123
- readonly minNumeric: pulumi.Output<number>;
81
+ readonly minNumeric: pulumi.Output<number | undefined>;
124
82
  /**
125
- * Minimum number of special characters in the result. Default value is `0`.
83
+ * Minimum number of special characters in the result.
126
84
  */
127
- readonly minSpecial: pulumi.Output<number>;
85
+ readonly minSpecial: pulumi.Output<number | undefined>;
128
86
  /**
129
- * Minimum number of uppercase alphabet characters in the result. Default value is `0`.
87
+ * Minimum number of uppercase alphabet characters in the result.
130
88
  */
131
- readonly minUpper: pulumi.Output<number>;
89
+ readonly minUpper: pulumi.Output<number | undefined>;
132
90
  /**
133
- * Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
134
- *
135
- * @deprecated **NOTE**: This is deprecated, use `numeric` instead.
91
+ * Include numeric characters in the result.
136
92
  */
137
- readonly number: pulumi.Output<boolean>;
93
+ readonly number: pulumi.Output<boolean | undefined>;
138
94
  /**
139
- * Include numeric characters in the result. Default value is `true`.
140
- */
141
- readonly numeric: pulumi.Output<boolean>;
142
- /**
143
- * Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument. The `special` argument must still be set to true for any overwritten characters to be used in generation.
95
+ * Supply your own list of special characters to use for string generation. This overrides the default character list in
96
+ * the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
97
+ * generation.
144
98
  */
145
99
  readonly overrideSpecial: pulumi.Output<string | undefined>;
146
100
  /**
@@ -148,13 +102,13 @@ export declare class RandomPassword extends pulumi.CustomResource {
148
102
  */
149
103
  readonly result: pulumi.Output<string>;
150
104
  /**
151
- * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
105
+ * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`
152
106
  */
153
- readonly special: pulumi.Output<boolean>;
107
+ readonly special: pulumi.Output<boolean | undefined>;
154
108
  /**
155
- * Include uppercase alphabet characters in the result. Default value is `true`.
109
+ * Include uppercase alphabet characters in the result.
156
110
  */
157
- readonly upper: pulumi.Output<boolean>;
111
+ readonly upper: pulumi.Output<boolean | undefined>;
158
112
  /**
159
113
  * Create a RandomPassword resource with the given unique name, arguments, and options.
160
114
  *
@@ -169,51 +123,44 @@ export declare class RandomPassword extends pulumi.CustomResource {
169
123
  */
170
124
  export interface RandomPasswordState {
171
125
  /**
172
- * A bcrypt hash of the generated random string.
173
- */
174
- bcryptHash?: pulumi.Input<string>;
175
- /**
176
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
126
+ * Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
127
+ * documentation](../index.html) for more information.
177
128
  */
178
129
  keepers?: pulumi.Input<{
179
- [key: string]: pulumi.Input<string>;
130
+ [key: string]: any;
180
131
  }>;
181
132
  /**
182
- * The length of the string desired. The minimum value for length is 1 and, length must also be >= (`minUpper` + `minLower` + `minNumeric` + `minSpecial`).
133
+ * The length of the string desired.
183
134
  */
184
135
  length?: pulumi.Input<number>;
185
136
  /**
186
- * Include lowercase alphabet characters in the result. Default value is `true`.
137
+ * Include lowercase alphabet characters in the result.
187
138
  */
188
139
  lower?: pulumi.Input<boolean>;
189
140
  /**
190
- * Minimum number of lowercase alphabet characters in the result. Default value is `0`.
141
+ * Minimum number of lowercase alphabet characters in the result.
191
142
  */
192
143
  minLower?: pulumi.Input<number>;
193
144
  /**
194
- * Minimum number of numeric characters in the result. Default value is `0`.
145
+ * Minimum number of numeric characters in the result.
195
146
  */
196
147
  minNumeric?: pulumi.Input<number>;
197
148
  /**
198
- * Minimum number of special characters in the result. Default value is `0`.
149
+ * Minimum number of special characters in the result.
199
150
  */
200
151
  minSpecial?: pulumi.Input<number>;
201
152
  /**
202
- * Minimum number of uppercase alphabet characters in the result. Default value is `0`.
153
+ * Minimum number of uppercase alphabet characters in the result.
203
154
  */
204
155
  minUpper?: pulumi.Input<number>;
205
156
  /**
206
- * Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
207
- *
208
- * @deprecated **NOTE**: This is deprecated, use `numeric` instead.
157
+ * Include numeric characters in the result.
209
158
  */
210
159
  number?: pulumi.Input<boolean>;
211
160
  /**
212
- * Include numeric characters in the result. Default value is `true`.
213
- */
214
- numeric?: pulumi.Input<boolean>;
215
- /**
216
- * Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument. The `special` argument must still be set to true for any overwritten characters to be used in generation.
161
+ * Supply your own list of special characters to use for string generation. This overrides the default character list in
162
+ * the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
163
+ * generation.
217
164
  */
218
165
  overrideSpecial?: pulumi.Input<string>;
219
166
  /**
@@ -221,11 +168,11 @@ export interface RandomPasswordState {
221
168
  */
222
169
  result?: pulumi.Input<string>;
223
170
  /**
224
- * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
171
+ * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`
225
172
  */
226
173
  special?: pulumi.Input<boolean>;
227
174
  /**
228
- * Include uppercase alphabet characters in the result. Default value is `true`.
175
+ * Include uppercase alphabet characters in the result.
229
176
  */
230
177
  upper?: pulumi.Input<boolean>;
231
178
  }
@@ -234,55 +181,52 @@ export interface RandomPasswordState {
234
181
  */
235
182
  export interface RandomPasswordArgs {
236
183
  /**
237
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
184
+ * Arbitrary map of values that, when changed, will trigger recreation of resource. See [the main provider
185
+ * documentation](../index.html) for more information.
238
186
  */
239
187
  keepers?: pulumi.Input<{
240
- [key: string]: pulumi.Input<string>;
188
+ [key: string]: any;
241
189
  }>;
242
190
  /**
243
- * The length of the string desired. The minimum value for length is 1 and, length must also be >= (`minUpper` + `minLower` + `minNumeric` + `minSpecial`).
191
+ * The length of the string desired.
244
192
  */
245
193
  length: pulumi.Input<number>;
246
194
  /**
247
- * Include lowercase alphabet characters in the result. Default value is `true`.
195
+ * Include lowercase alphabet characters in the result.
248
196
  */
249
197
  lower?: pulumi.Input<boolean>;
250
198
  /**
251
- * Minimum number of lowercase alphabet characters in the result. Default value is `0`.
199
+ * Minimum number of lowercase alphabet characters in the result.
252
200
  */
253
201
  minLower?: pulumi.Input<number>;
254
202
  /**
255
- * Minimum number of numeric characters in the result. Default value is `0`.
203
+ * Minimum number of numeric characters in the result.
256
204
  */
257
205
  minNumeric?: pulumi.Input<number>;
258
206
  /**
259
- * Minimum number of special characters in the result. Default value is `0`.
207
+ * Minimum number of special characters in the result.
260
208
  */
261
209
  minSpecial?: pulumi.Input<number>;
262
210
  /**
263
- * Minimum number of uppercase alphabet characters in the result. Default value is `0`.
211
+ * Minimum number of uppercase alphabet characters in the result.
264
212
  */
265
213
  minUpper?: pulumi.Input<number>;
266
214
  /**
267
- * Include numeric characters in the result. Default value is `true`. **NOTE**: This is deprecated, use `numeric` instead.
268
- *
269
- * @deprecated **NOTE**: This is deprecated, use `numeric` instead.
215
+ * Include numeric characters in the result.
270
216
  */
271
217
  number?: pulumi.Input<boolean>;
272
218
  /**
273
- * Include numeric characters in the result. Default value is `true`.
274
- */
275
- numeric?: pulumi.Input<boolean>;
276
- /**
277
- * Supply your own list of special characters to use for string generation. This overrides the default character list in the special argument. The `special` argument must still be set to true for any overwritten characters to be used in generation.
219
+ * Supply your own list of special characters to use for string generation. This overrides the default character list in
220
+ * the special argument. The `special` argument must still be set to true for any overwritten characters to be used in
221
+ * generation.
278
222
  */
279
223
  overrideSpecial?: pulumi.Input<string>;
280
224
  /**
281
- * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`. Default value is `true`.
225
+ * Include special characters in the result. These are `!@#$%&*()-_=+[]{}<>:?`
282
226
  */
283
227
  special?: pulumi.Input<boolean>;
284
228
  /**
285
- * Include uppercase alphabet characters in the result. Default value is `true`.
229
+ * Include uppercase alphabet characters in the result.
286
230
  */
287
231
  upper?: pulumi.Input<boolean>;
288
232
  }
package/randomPassword.js CHANGED
@@ -6,6 +6,17 @@ exports.RandomPassword = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note:** Requires random provider version >= 2.2.0
10
+ *
11
+ * Identical to random.RandomString with the exception that the
12
+ * result is treated as sensitive and, thus, _not_ displayed in console output.
13
+ *
14
+ * > **Note:** All attributes including the generated password will be stored in
15
+ * the raw state as plain-text. [Read more about sensitive data in
16
+ * state](https://www.terraform.io/docs/state/sensitive-data.html).
17
+ *
18
+ * This resource *does* use a cryptographic random number generator.
19
+ *
9
20
  * ## Example Usage
10
21
  *
11
22
  * ```typescript
@@ -16,7 +27,7 @@ const utilities = require("./utilities");
16
27
  * const password = new random.RandomPassword("password", {
17
28
  * length: 16,
18
29
  * special: true,
19
- * overrideSpecial: `!#$%&*()-_=+[]{}<>:?`,
30
+ * overrideSpecial: `_%@`,
20
31
  * });
21
32
  * const example = new aws.rds.Instance("example", {
22
33
  * instanceClass: "db.t3.micro",
@@ -29,61 +40,11 @@ const utilities = require("./utilities");
29
40
  *
30
41
  * ## Import
31
42
  *
32
- * ### Avoiding Replacement
43
+ * Random Password can be imported by specifying the value of the string
33
44
  *
34
45
  * ```sh
35
- * $ pulumi import random:index/randomPassword:RandomPassword If the resource were imported using `random_password.password securepassword`,
46
+ * $ pulumi import random:index/randomPassword:RandomPassword password securepassword
36
47
  * ```
37
- *
38
- * replacement could be avoided by using1. Attribute values that match the imported ID and defaults:
39
- *
40
- * terraform
41
- *
42
- * resource "random_password" "password" {
43
- *
44
- * length = 14
45
- *
46
- * lower
47
- *
48
- * = true
49
- *
50
- * } 2. Attribute values that match the imported ID and omit the attributes with defaults:
51
- *
52
- * terraform
53
- *
54
- * resource "random_password" "password" {
55
- *
56
- * length = 14
57
- *
58
- * } 3. `ignore_changes` specifying the attributes to ignore:
59
- *
60
- * terraform
61
- *
62
- * resource "random_password" "password" {
63
- *
64
- * length = 16
65
- *
66
- * lower
67
- *
68
- * = false
69
- *
70
- * lifecycle {
71
- *
72
- * ignore_changes = [
73
- *
74
- * length,
75
- *
76
- * lower,
77
- *
78
- * ]
79
- *
80
- * }
81
- *
82
- * }
83
- *
84
- * **NOTE** `ignore_changes` is only required until the resource is recreated after import,
85
- *
86
- * after which it will use the configuration values specified.
87
48
  */
88
49
  class RandomPassword extends pulumi.CustomResource {
89
50
  /**
@@ -113,7 +74,6 @@ class RandomPassword extends pulumi.CustomResource {
113
74
  opts = opts || {};
114
75
  if (opts.id) {
115
76
  const state = argsOrState;
116
- resourceInputs["bcryptHash"] = state ? state.bcryptHash : undefined;
117
77
  resourceInputs["keepers"] = state ? state.keepers : undefined;
118
78
  resourceInputs["length"] = state ? state.length : undefined;
119
79
  resourceInputs["lower"] = state ? state.lower : undefined;
@@ -122,7 +82,6 @@ class RandomPassword extends pulumi.CustomResource {
122
82
  resourceInputs["minSpecial"] = state ? state.minSpecial : undefined;
123
83
  resourceInputs["minUpper"] = state ? state.minUpper : undefined;
124
84
  resourceInputs["number"] = state ? state.number : undefined;
125
- resourceInputs["numeric"] = state ? state.numeric : undefined;
126
85
  resourceInputs["overrideSpecial"] = state ? state.overrideSpecial : undefined;
127
86
  resourceInputs["result"] = state ? state.result : undefined;
128
87
  resourceInputs["special"] = state ? state.special : undefined;
@@ -141,15 +100,13 @@ class RandomPassword extends pulumi.CustomResource {
141
100
  resourceInputs["minSpecial"] = args ? args.minSpecial : undefined;
142
101
  resourceInputs["minUpper"] = args ? args.minUpper : undefined;
143
102
  resourceInputs["number"] = args ? args.number : undefined;
144
- resourceInputs["numeric"] = args ? args.numeric : undefined;
145
103
  resourceInputs["overrideSpecial"] = args ? args.overrideSpecial : undefined;
146
104
  resourceInputs["special"] = args ? args.special : undefined;
147
105
  resourceInputs["upper"] = args ? args.upper : undefined;
148
- resourceInputs["bcryptHash"] = undefined /*out*/;
149
106
  resourceInputs["result"] = undefined /*out*/;
150
107
  }
151
108
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
152
- const secretOpts = { additionalSecretOutputs: ["bcryptHash", "result"] };
109
+ const secretOpts = { additionalSecretOutputs: ["result"] };
153
110
  opts = pulumi.mergeOptions(opts, secretOpts);
154
111
  super(RandomPassword.__pulumiType, name, resourceInputs, opts);
155
112
  }
@@ -1 +1 @@
1
- {"version":3,"file":"randomPassword.js","sourceRoot":"","sources":["../randomPassword.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAqED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAA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CAAC"}
package/randomPet.d.ts CHANGED
@@ -1,30 +1,36 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * The resource `random.RandomPet` generates random pet names that are intended to be used as unique identifiers for other resources.
3
+ * The resource `random.RandomPet` generates random pet names that are intended to be
4
+ * used as unique identifiers for other resources.
4
5
  *
5
- * This resource can be used in conjunction with resources that have the `createBeforeDestroy` lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
6
+ * This resource can be used in conjunction with resources that have
7
+ * the `createBeforeDestroy` lifecycle flag set, to avoid conflicts with
8
+ * unique names during the brief period where both the old and new resources
9
+ * exist concurrently.
6
10
  *
7
11
  * ## Example Usage
8
12
  *
13
+ * The following example shows how to generate a unique pet name for an AWS EC2
14
+ * instance that changes each time a new AMI id is selected.
15
+ *
9
16
  * ```typescript
10
17
  * import * as pulumi from "@pulumi/pulumi";
11
18
  * import * as aws from "@pulumi/aws";
12
19
  * import * as random from "@pulumi/random";
13
20
  *
14
- * // The following example shows how to generate a unique pet name
15
- * // for an AWS EC2 instance that changes each time a new AMI id is
16
- * // selected.
17
21
  * const serverRandomPet = new random.RandomPet("serverRandomPet", {keepers: {
18
22
  * ami_id: _var.ami_id,
19
23
  * }});
20
24
  * const serverInstance = new aws.ec2.Instance("serverInstance", {
25
+ * ami: serverRandomPet.keepers.apply(keepers => keepers?.amiId),
21
26
  * tags: {
22
27
  * Name: pulumi.interpolate`web-server-${serverRandomPet.id}`,
23
28
  * },
24
- * ami: serverRandomPet.keepers.apply(keepers => keepers?.amiId),
25
29
  * });
26
- * // ... (other aws_instance arguments) ...
27
30
  * ```
31
+ *
32
+ * The result of the above will set the Name of the AWS Instance to
33
+ * `web-server-simple-snake`.
28
34
  */
29
35
  export declare class RandomPet extends pulumi.CustomResource {
30
36
  /**
@@ -43,23 +49,25 @@ export declare class RandomPet extends pulumi.CustomResource {
43
49
  */
44
50
  static isInstance(obj: any): obj is RandomPet;
45
51
  /**
46
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
52
+ * Arbitrary map of values that, when changed, will
53
+ * trigger a new id to be generated. See
54
+ * the main provider documentation for more information.
47
55
  */
48
56
  readonly keepers: pulumi.Output<{
49
- [key: string]: string;
57
+ [key: string]: any;
50
58
  } | undefined>;
51
59
  /**
52
- * The length (in words) of the pet name. Defaults to 2
60
+ * The length (in words) of the pet name.
53
61
  */
54
- readonly length: pulumi.Output<number>;
62
+ readonly length: pulumi.Output<number | undefined>;
55
63
  /**
56
64
  * A string to prefix the name with.
57
65
  */
58
66
  readonly prefix: pulumi.Output<string | undefined>;
59
67
  /**
60
- * The character to separate words in the pet name. Defaults to "-"
68
+ * The character to separate words in the pet name.
61
69
  */
62
- readonly separator: pulumi.Output<string>;
70
+ readonly separator: pulumi.Output<string | undefined>;
63
71
  /**
64
72
  * Create a RandomPet resource with the given unique name, arguments, and options.
65
73
  *
@@ -74,13 +82,15 @@ export declare class RandomPet extends pulumi.CustomResource {
74
82
  */
75
83
  export interface RandomPetState {
76
84
  /**
77
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
85
+ * Arbitrary map of values that, when changed, will
86
+ * trigger a new id to be generated. See
87
+ * the main provider documentation for more information.
78
88
  */
79
89
  keepers?: pulumi.Input<{
80
- [key: string]: pulumi.Input<string>;
90
+ [key: string]: any;
81
91
  }>;
82
92
  /**
83
- * The length (in words) of the pet name. Defaults to 2
93
+ * The length (in words) of the pet name.
84
94
  */
85
95
  length?: pulumi.Input<number>;
86
96
  /**
@@ -88,7 +98,7 @@ export interface RandomPetState {
88
98
  */
89
99
  prefix?: pulumi.Input<string>;
90
100
  /**
91
- * The character to separate words in the pet name. Defaults to "-"
101
+ * The character to separate words in the pet name.
92
102
  */
93
103
  separator?: pulumi.Input<string>;
94
104
  }
@@ -97,13 +107,15 @@ export interface RandomPetState {
97
107
  */
98
108
  export interface RandomPetArgs {
99
109
  /**
100
- * Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
110
+ * Arbitrary map of values that, when changed, will
111
+ * trigger a new id to be generated. See
112
+ * the main provider documentation for more information.
101
113
  */
102
114
  keepers?: pulumi.Input<{
103
- [key: string]: pulumi.Input<string>;
115
+ [key: string]: any;
104
116
  }>;
105
117
  /**
106
- * The length (in words) of the pet name. Defaults to 2
118
+ * The length (in words) of the pet name.
107
119
  */
108
120
  length?: pulumi.Input<number>;
109
121
  /**
@@ -111,7 +123,7 @@ export interface RandomPetArgs {
111
123
  */
112
124
  prefix?: pulumi.Input<string>;
113
125
  /**
114
- * The character to separate words in the pet name. Defaults to "-"
126
+ * The character to separate words in the pet name.
115
127
  */
116
128
  separator?: pulumi.Input<string>;
117
129
  }
package/randomPet.js CHANGED
@@ -6,31 +6,37 @@ exports.RandomPet = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * The resource `random.RandomPet` generates random pet names that are intended to be used as unique identifiers for other resources.
9
+ * The resource `random.RandomPet` generates random pet names that are intended to be
10
+ * used as unique identifiers for other resources.
10
11
  *
11
- * This resource can be used in conjunction with resources that have the `createBeforeDestroy` lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
12
+ * This resource can be used in conjunction with resources that have
13
+ * the `createBeforeDestroy` lifecycle flag set, to avoid conflicts with
14
+ * unique names during the brief period where both the old and new resources
15
+ * exist concurrently.
12
16
  *
13
17
  * ## Example Usage
14
18
  *
19
+ * The following example shows how to generate a unique pet name for an AWS EC2
20
+ * instance that changes each time a new AMI id is selected.
21
+ *
15
22
  * ```typescript
16
23
  * import * as pulumi from "@pulumi/pulumi";
17
24
  * import * as aws from "@pulumi/aws";
18
25
  * import * as random from "@pulumi/random";
19
26
  *
20
- * // The following example shows how to generate a unique pet name
21
- * // for an AWS EC2 instance that changes each time a new AMI id is
22
- * // selected.
23
27
  * const serverRandomPet = new random.RandomPet("serverRandomPet", {keepers: {
24
28
  * ami_id: _var.ami_id,
25
29
  * }});
26
30
  * const serverInstance = new aws.ec2.Instance("serverInstance", {
31
+ * ami: serverRandomPet.keepers.apply(keepers => keepers?.amiId),
27
32
  * tags: {
28
33
  * Name: pulumi.interpolate`web-server-${serverRandomPet.id}`,
29
34
  * },
30
- * ami: serverRandomPet.keepers.apply(keepers => keepers?.amiId),
31
35
  * });
32
- * // ... (other aws_instance arguments) ...
33
36
  * ```
37
+ *
38
+ * The result of the above will set the Name of the AWS Instance to
39
+ * `web-server-simple-snake`.
34
40
  */
35
41
  class RandomPet extends pulumi.CustomResource {
36
42
  /**
package/randomPet.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"randomPet.js","sourceRoot":"","sources":["../randomPet.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YAC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