@pulumi/null 0.0.14 → 0.0.15

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,6 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## Example Usage
3
+ * The `null.getDataSource` data source implements the standard data source lifecycle but does not
4
+ * interact with any external APIs.
5
+ *
6
+ * Historically, the `null.getDataSource` was typically used to construct intermediate values to re-use elsewhere in configuration. The
7
+ * same can now be achieved using locals or the terraformData resource type in Terraform 1.4 and later.
4
8
  */
5
9
  export declare function getDataSource(args?: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceResult>;
6
10
  /**
@@ -44,10 +48,17 @@ export interface GetDataSourceResult {
44
48
  readonly outputs: {
45
49
  [key: string]: string;
46
50
  };
51
+ /**
52
+ * A random value. This is primarily for testing and has little practical use; prefer the hashicorp/random provider for more practical random number use-cases.
53
+ */
47
54
  readonly random: string;
48
55
  }
49
56
  /**
50
- * ## Example Usage
57
+ * The `null.getDataSource` data source implements the standard data source lifecycle but does not
58
+ * interact with any external APIs.
59
+ *
60
+ * Historically, the `null.getDataSource` was typically used to construct intermediate values to re-use elsewhere in configuration. The
61
+ * same can now be achieved using locals or the terraformData resource type in Terraform 1.4 and later.
51
62
  */
52
63
  export declare function getDataSourceOutput(args?: GetDataSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataSourceResult>;
53
64
  /**
package/getDataSource.js CHANGED
@@ -6,7 +6,11 @@ exports.getDataSourceOutput = exports.getDataSource = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
9
+ * The `null.getDataSource` data source implements the standard data source lifecycle but does not
10
+ * interact with any external APIs.
11
+ *
12
+ * Historically, the `null.getDataSource` was typically used to construct intermediate values to re-use elsewhere in configuration. The
13
+ * same can now be achieved using locals or the terraformData resource type in Terraform 1.4 and later.
10
14
  */
11
15
  function getDataSource(args, opts) {
12
16
  args = args || {};
@@ -18,7 +22,11 @@ function getDataSource(args, opts) {
18
22
  }
19
23
  exports.getDataSource = getDataSource;
20
24
  /**
21
- * ## Example Usage
25
+ * The `null.getDataSource` data source implements the standard data source lifecycle but does not
26
+ * interact with any external APIs.
27
+ *
28
+ * Historically, the `null.getDataSource` was typically used to construct intermediate values to re-use elsewhere in configuration. The
29
+ * same can now be achieved using locals or the terraformData resource type in Terraform 1.4 and later.
22
30
  */
23
31
  function getDataSourceOutput(args, opts) {
24
32
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getDataSource.js","sourceRoot":"","sources":["../getDataSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAwCD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
1
+ {"version":3,"file":"getDataSource.js","sourceRoot":"","sources":["../getDataSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA2CD;;;;;;GAMG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/null",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "A Pulumi package for creating and managing Null cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -22,6 +22,6 @@
22
22
  "pulumi": {
23
23
  "resource": true,
24
24
  "name": "null",
25
- "version": "0.0.14"
25
+ "version": "0.0.15"
26
26
  }
27
27
  }
package/resource.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * The `null.Resource` resource implements the standard resource lifecycle but takes no further action. On Terraform 1.4 and later, use the `terraformData` resource type instead. Terraform 1.9 and later support the `moved` configuration block from `null.Resource` to `terraformData`.
4
+ *
5
+ * The `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.
6
+ *
3
7
  * ## Example Usage
4
8
  *
5
9
  * ```typescript
package/resource.js CHANGED
@@ -6,6 +6,10 @@ exports.Resource = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * The `null.Resource` resource implements the standard resource lifecycle but takes no further action. On Terraform 1.4 and later, use the `terraformData` resource type instead. Terraform 1.9 and later support the `moved` configuration block from `null.Resource` to `terraformData`.
10
+ *
11
+ * The `triggers` argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced.
12
+ *
9
13
  * ## Example Usage
10
14
  *
11
15
  * ```typescript
package/resource.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"resource.js","sourceRoot":"","sources":["../resource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,C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