@pulumi/random 4.14.0-alpha.1684865889 → 4.14.0-alpha.1689315705

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/README.md CHANGED
@@ -14,27 +14,6 @@ Using randomness as usual would not work well with Pulumi, because by definition
14
14
  a new random state would be produced, necessitating re-convergence on the goal state. This provider understands
15
15
  how to work with the Pulumi resource lifecycle to accomplish randomness safely and in a way that works as desired.
16
16
 
17
- ## Example
18
-
19
- For example, to generate a random password, allocate a `RandomPassword` resource
20
- and then use its `result` output property (of type `Output<string>`) to pass
21
- to another resource.
22
-
23
- ```typescript
24
- import * as pulumi from "@pulumi/pulumi";
25
- import * as aws from "@pulumi/aws";
26
- import * as random from "@pulumi/random";
27
-
28
- const password = new random.RandomPassword("password", {
29
- length: 16,
30
- overrideSpecial: "_%@",
31
- special: true,
32
- });
33
- const example = new aws.rds.Instance("example", {
34
- password: password.result,
35
- });
36
- ```
37
-
38
17
  ## Installing
39
18
 
40
19
  This package is available in many languages in the standard packaging formats.
@@ -67,6 +46,27 @@ To use from .NET, install using `dotnet add package`:
67
46
 
68
47
  $ dotnet add package Pulumi.Random
69
48
 
49
+ ## Example
50
+
51
+ For example, to generate a random password, allocate a `RandomPassword` resource
52
+ and then use its `result` output property (of type `Output<string>`) to pass
53
+ to another resource.
54
+
55
+ ```typescript
56
+ import * as pulumi from "@pulumi/pulumi";
57
+ import * as aws from "@pulumi/aws";
58
+ import * as random from "@pulumi/random";
59
+
60
+ const password = new random.RandomPassword("password", {
61
+ length: 16,
62
+ overrideSpecial: "_%@",
63
+ special: true,
64
+ });
65
+ const example = new aws.rds.Instance("example", {
66
+ password: password.result,
67
+ });
68
+ ```
69
+
70
70
  ## Reference
71
71
 
72
72
  For further information, please visit [the random provider docs](https://www.pulumi.com/docs/intro/cloud-providers/random) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/random).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/random",
3
- "version": "v4.14.0-alpha.1684865889+4b9b45fe",
3
+ "version": "v4.14.0-alpha.1689315705+bd87dc7d",
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.0-alpha.1684865889+4b9b45fe"
14
+ "install": "node scripts/install-pulumi-plugin.js resource random v4.14.0-alpha.1689315705+bd87dc7d"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "name": "@pulumi/random",
3
- "version": "v4.14.0-alpha.1684865889+4b9b45fe",
4
- "description": "A Pulumi package to safely use randomness in Pulumi programs.",
5
- "keywords": [
6
- "pulumi",
7
- "random"
8
- ],
9
- "homepage": "https://pulumi.io",
10
- "repository": "https://github.com/pulumi/pulumi-random",
11
- "license": "Apache-2.0",
12
- "scripts": {
13
- "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource random v4.14.0-alpha.1684865889+4b9b45fe"
15
- },
16
- "dependencies": {
17
- "@pulumi/pulumi": "^3.0.0"
18
- },
19
- "devDependencies": {
20
- "@types/node": "^10.0.0",
21
- "typescript": "^4.3.5"
22
- },
23
- "pulumi": {
24
- "resource": true,
25
- "name": "random"
26
- }
27
- }