@pulumi/terraform 6.1.0-alpha.1767127960 → 6.1.0-alpha.1767163997
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/package.json +3 -3
- package/package.json.dev +2 -2
- package/utilities.d.ts +0 -4
- package/utilities.js +19 -29
- package/utilities.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/terraform",
|
|
3
|
-
"version": "6.1.0-alpha.
|
|
3
|
+
"version": "6.1.0-alpha.1767163997",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"terraform",
|
|
6
6
|
"kind/native",
|
|
@@ -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 terraform 6.1.0-alpha.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource terraform 6.1.0-alpha.1767163997"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.142.0"
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "terraform",
|
|
26
|
-
"version": "6.1.0-alpha.
|
|
26
|
+
"version": "6.1.0-alpha.1767163997"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/terraform",
|
|
3
|
-
"version": "6.1.0-alpha.
|
|
3
|
+
"version": "6.1.0-alpha.1767163997",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"terraform",
|
|
6
6
|
"kind/native",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "terraform",
|
|
25
|
-
"version": "6.1.0-alpha.
|
|
25
|
+
"version": "6.1.0-alpha.1767163997"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/utilities.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
1
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
2
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
3
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
4
|
export declare function getVersion(): string;
|
|
6
|
-
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
-
property?: string;
|
|
8
|
-
}): Promise<T>;
|
package/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -76,26 +67,25 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
76
67
|
}
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
});
|
|
70
|
+
/** @internal */
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
99
89
|
}
|
|
100
90
|
exports.callAsync = callAsync;
|
|
101
91
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC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