@pulumiverse/vercel 0.16.0 → 1.1.0
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 +1 -0
- package/dnsRecord.d.ts +2 -2
- package/dnsRecord.js +2 -2
- package/getProject.d.ts +5 -10
- package/getProject.js +0 -1
- package/getProject.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +12 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +23 -2
- package/projectEnvironmentVariable.js +13 -2
- package/projectEnvironmentVariable.js.map +1 -1
- package/sharedEnvironmentVariable.d.ts +13 -1
- package/sharedEnvironmentVariable.js +3 -1
- package/sharedEnvironmentVariable.js.map +1 -1
- package/types/input.d.ts +33 -16
- package/types/output.d.ts +62 -8
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,7 @@ dotnet add package Pulumiverse.vercel
|
|
|
56
56
|
The following configuration points are available for the `vercel` provider:
|
|
57
57
|
|
|
58
58
|
- `vercel:apiToken` (environment: `VERCEL_API_TOKEN`) - the API key for `vercel`
|
|
59
|
+
- `vercel:team` - The default Vercel Team to use when creating resources. This can be provided as either a team slug, or team ID. The slug and ID are both available from the Team Settings page in the Vercel dashboard.
|
|
59
60
|
|
|
60
61
|
## Reference
|
|
61
62
|
|
package/dnsRecord.d.ts
CHANGED
|
@@ -74,13 +74,13 @@ import * as outputs from "./types/output";
|
|
|
74
74
|
*
|
|
75
75
|
* ## Import
|
|
76
76
|
*
|
|
77
|
-
* If importing into a personal account, or with a team configured on the provider, simply use the record id. - record_id can be taken from the network tab on the domains page.
|
|
77
|
+
* If importing into a personal account, or with a team configured on the provider, simply use the record id. - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
|
|
78
78
|
*
|
|
79
79
|
* ```sh
|
|
80
80
|
* $ pulumi import vercel:index/dnsRecord:DnsRecord example rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
81
81
|
* ```
|
|
82
82
|
*
|
|
83
|
-
* Alternatively, you can import via the team_id and record_id. - team_id can be found in the team `settings` tab in the Vercel UI. - record_id can be taken from the network tab on the domains page.
|
|
83
|
+
* Alternatively, you can import via the team_id and record_id. - team_id can be found in the team `settings` tab in the Vercel UI. - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
|
|
84
84
|
*
|
|
85
85
|
* ```sh
|
|
86
86
|
* $ pulumi import vercel:index/dnsRecord:DnsRecord example team_xxxxxxxxxxxxxxxxxxxxxxxx/rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
package/dnsRecord.js
CHANGED
|
@@ -78,13 +78,13 @@ const utilities = require("./utilities");
|
|
|
78
78
|
*
|
|
79
79
|
* ## Import
|
|
80
80
|
*
|
|
81
|
-
* If importing into a personal account, or with a team configured on the provider, simply use the record id. - record_id can be taken from the network tab on the domains page.
|
|
81
|
+
* If importing into a personal account, or with a team configured on the provider, simply use the record id. - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
|
|
82
82
|
*
|
|
83
83
|
* ```sh
|
|
84
84
|
* $ pulumi import vercel:index/dnsRecord:DnsRecord example rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
85
85
|
* ```
|
|
86
86
|
*
|
|
87
|
-
* Alternatively, you can import via the team_id and record_id. - team_id can be found in the team `settings` tab in the Vercel UI. - record_id can be taken from the network tab on the domains page.
|
|
87
|
+
* Alternatively, you can import via the team_id and record_id. - team_id can be found in the team `settings` tab in the Vercel UI. - record_id is hard to find, but can be taken from the network tab, inside developer tools, on the domains page.
|
|
88
88
|
*
|
|
89
89
|
* ```sh
|
|
90
90
|
* $ pulumi import vercel:index/dnsRecord:DnsRecord example team_xxxxxxxxxxxxxxxxxxxxxxxx/rec_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
package/getProject.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
2
|
import * as outputs from "./types/output";
|
|
4
3
|
/**
|
|
5
4
|
* Provides information about an existing project within Vercel.
|
|
@@ -29,10 +28,6 @@ export interface GetProjectArgs {
|
|
|
29
28
|
* The name of the project.
|
|
30
29
|
*/
|
|
31
30
|
name: string;
|
|
32
|
-
/**
|
|
33
|
-
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
34
|
-
*/
|
|
35
|
-
passwordProtection?: inputs.GetProjectPasswordProtection;
|
|
36
31
|
/**
|
|
37
32
|
* The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
|
|
38
33
|
*/
|
|
@@ -85,7 +80,7 @@ export interface GetProjectResult {
|
|
|
85
80
|
/**
|
|
86
81
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
87
82
|
*/
|
|
88
|
-
readonly passwordProtection
|
|
83
|
+
readonly passwordProtection: outputs.GetProjectPasswordProtection;
|
|
89
84
|
/**
|
|
90
85
|
* Specifies whether the source code and logs of the deployments for this project should be public or not.
|
|
91
86
|
*/
|
|
@@ -102,6 +97,10 @@ export interface GetProjectResult {
|
|
|
102
97
|
* The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
|
|
103
98
|
*/
|
|
104
99
|
readonly teamId: string;
|
|
100
|
+
/**
|
|
101
|
+
* Ensures only visitors from an allowed IP address can access your deployment.
|
|
102
|
+
*/
|
|
103
|
+
readonly trustedIps: outputs.GetProjectTrustedIps;
|
|
105
104
|
/**
|
|
106
105
|
* Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
|
|
107
106
|
*/
|
|
@@ -135,10 +134,6 @@ export interface GetProjectOutputArgs {
|
|
|
135
134
|
* The name of the project.
|
|
136
135
|
*/
|
|
137
136
|
name: pulumi.Input<string>;
|
|
138
|
-
/**
|
|
139
|
-
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
140
|
-
*/
|
|
141
|
-
passwordProtection?: pulumi.Input<inputs.GetProjectPasswordProtectionArgs>;
|
|
142
137
|
/**
|
|
143
138
|
* The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
|
|
144
139
|
*/
|
package/getProject.js
CHANGED
|
@@ -28,7 +28,6 @@ function getProject(args, opts) {
|
|
|
28
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
29
|
return pulumi.runtime.invoke("vercel:index/getProject:getProject", {
|
|
30
30
|
"name": args.name,
|
|
31
|
-
"passwordProtection": args.passwordProtection,
|
|
32
31
|
"teamId": args.teamId,
|
|
33
32
|
}, opts);
|
|
34
33
|
}
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAyFD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/package.json
CHANGED
package/project.d.ts
CHANGED
|
@@ -118,6 +118,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
118
118
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
119
119
|
*/
|
|
120
120
|
readonly teamId: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Ensures only visitors from an allowed IP address can access your deployment.
|
|
123
|
+
*/
|
|
124
|
+
readonly trustedIps: pulumi.Output<outputs.ProjectTrustedIps | undefined>;
|
|
121
125
|
/**
|
|
122
126
|
* Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
|
|
123
127
|
*/
|
|
@@ -199,6 +203,10 @@ export interface ProjectState {
|
|
|
199
203
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
200
204
|
*/
|
|
201
205
|
teamId?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Ensures only visitors from an allowed IP address can access your deployment.
|
|
208
|
+
*/
|
|
209
|
+
trustedIps?: pulumi.Input<inputs.ProjectTrustedIps>;
|
|
202
210
|
/**
|
|
203
211
|
* Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
|
|
204
212
|
*/
|
|
@@ -268,6 +276,10 @@ export interface ProjectArgs {
|
|
|
268
276
|
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
269
277
|
*/
|
|
270
278
|
teamId?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Ensures only visitors from an allowed IP address can access your deployment.
|
|
281
|
+
*/
|
|
282
|
+
trustedIps?: pulumi.Input<inputs.ProjectTrustedIps>;
|
|
271
283
|
/**
|
|
272
284
|
* Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
|
|
273
285
|
*/
|
package/project.js
CHANGED
|
@@ -86,6 +86,7 @@ class Project extends pulumi.CustomResource {
|
|
|
86
86
|
resourceInputs["rootDirectory"] = state ? state.rootDirectory : undefined;
|
|
87
87
|
resourceInputs["serverlessFunctionRegion"] = state ? state.serverlessFunctionRegion : undefined;
|
|
88
88
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
89
|
+
resourceInputs["trustedIps"] = state ? state.trustedIps : undefined;
|
|
89
90
|
resourceInputs["vercelAuthentication"] = state ? state.vercelAuthentication : undefined;
|
|
90
91
|
}
|
|
91
92
|
else {
|
|
@@ -105,6 +106,7 @@ class Project extends pulumi.CustomResource {
|
|
|
105
106
|
resourceInputs["rootDirectory"] = args ? args.rootDirectory : undefined;
|
|
106
107
|
resourceInputs["serverlessFunctionRegion"] = args ? args.serverlessFunctionRegion : undefined;
|
|
107
108
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
109
|
+
resourceInputs["trustedIps"] = args ? args.trustedIps : undefined;
|
|
108
110
|
resourceInputs["vercelAuthentication"] = args ? args.vercelAuthentication : undefined;
|
|
109
111
|
resourceInputs["protectionBypassForAutomationSecret"] = undefined /*out*/;
|
|
110
112
|
}
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,qCAAqC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3JL,0BA4JC;AA9IG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -27,17 +27,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* targets: ["preview"],
|
|
28
28
|
* gitBranch: "staging",
|
|
29
29
|
* });
|
|
30
|
+
* // A sensitive environment variable that will be created
|
|
31
|
+
* // for this project for the "production" environment.
|
|
32
|
+
* const exampleSensitive = new vercel.ProjectEnvironmentVariable("exampleSensitive", {
|
|
33
|
+
* projectId: exampleProject.id,
|
|
34
|
+
* key: "foo",
|
|
35
|
+
* value: "bar-production",
|
|
36
|
+
* targets: ["production"],
|
|
37
|
+
* sensitive: true,
|
|
38
|
+
* });
|
|
30
39
|
* ```
|
|
31
40
|
*
|
|
32
41
|
* ## Import
|
|
33
42
|
*
|
|
34
|
-
* If importing into a personal account, or with a team configured on the provider, simply use the project_id and environment variable id. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the project page.
|
|
43
|
+
* If importing into a personal account, or with a team configured on the provider, simply use the project_id and environment variable id. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the project page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
35
44
|
*
|
|
36
45
|
* ```sh
|
|
37
46
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
38
47
|
* ```
|
|
39
48
|
*
|
|
40
|
-
* Alternatively, you can import via the team_id, project_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the project page.
|
|
49
|
+
* Alternatively, you can import via the team_id, project_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the project page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
41
50
|
*
|
|
42
51
|
* ```sh
|
|
43
52
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
@@ -71,6 +80,10 @@ export declare class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
71
80
|
* The ID of the Vercel project.
|
|
72
81
|
*/
|
|
73
82
|
readonly projectId: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Whether the Environment Variable is sensitive or not.
|
|
85
|
+
*/
|
|
86
|
+
readonly sensitive: pulumi.Output<boolean>;
|
|
74
87
|
/**
|
|
75
88
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
76
89
|
*/
|
|
@@ -108,6 +121,10 @@ export interface ProjectEnvironmentVariableState {
|
|
|
108
121
|
* The ID of the Vercel project.
|
|
109
122
|
*/
|
|
110
123
|
projectId?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the Environment Variable is sensitive or not.
|
|
126
|
+
*/
|
|
127
|
+
sensitive?: pulumi.Input<boolean>;
|
|
111
128
|
/**
|
|
112
129
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
113
130
|
*/
|
|
@@ -137,6 +154,10 @@ export interface ProjectEnvironmentVariableArgs {
|
|
|
137
154
|
* The ID of the Vercel project.
|
|
138
155
|
*/
|
|
139
156
|
projectId: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Whether the Environment Variable is sensitive or not.
|
|
159
|
+
*/
|
|
160
|
+
sensitive?: pulumi.Input<boolean>;
|
|
140
161
|
/**
|
|
141
162
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
142
163
|
*/
|
|
@@ -33,17 +33,26 @@ const utilities = require("./utilities");
|
|
|
33
33
|
* targets: ["preview"],
|
|
34
34
|
* gitBranch: "staging",
|
|
35
35
|
* });
|
|
36
|
+
* // A sensitive environment variable that will be created
|
|
37
|
+
* // for this project for the "production" environment.
|
|
38
|
+
* const exampleSensitive = new vercel.ProjectEnvironmentVariable("exampleSensitive", {
|
|
39
|
+
* projectId: exampleProject.id,
|
|
40
|
+
* key: "foo",
|
|
41
|
+
* value: "bar-production",
|
|
42
|
+
* targets: ["production"],
|
|
43
|
+
* sensitive: true,
|
|
44
|
+
* });
|
|
36
45
|
* ```
|
|
37
46
|
*
|
|
38
47
|
* ## Import
|
|
39
48
|
*
|
|
40
|
-
* If importing into a personal account, or with a team configured on the provider, simply use the project_id and environment variable id. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the project page.
|
|
49
|
+
* If importing into a personal account, or with a team configured on the provider, simply use the project_id and environment variable id. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the project page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
41
50
|
*
|
|
42
51
|
* ```sh
|
|
43
52
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
44
53
|
* ```
|
|
45
54
|
*
|
|
46
|
-
* Alternatively, you can import via the team_id, project_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the project page.
|
|
55
|
+
* Alternatively, you can import via the team_id, project_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - project_id can be found in the project `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the project page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
47
56
|
*
|
|
48
57
|
* ```sh
|
|
49
58
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
@@ -80,6 +89,7 @@ class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
80
89
|
resourceInputs["gitBranch"] = state ? state.gitBranch : undefined;
|
|
81
90
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
82
91
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
92
|
+
resourceInputs["sensitive"] = state ? state.sensitive : undefined;
|
|
83
93
|
resourceInputs["targets"] = state ? state.targets : undefined;
|
|
84
94
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
85
95
|
resourceInputs["value"] = state ? state.value : undefined;
|
|
@@ -101,6 +111,7 @@ class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
101
111
|
resourceInputs["gitBranch"] = args ? args.gitBranch : undefined;
|
|
102
112
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
103
113
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
114
|
+
resourceInputs["sensitive"] = args ? args.sensitive : undefined;
|
|
104
115
|
resourceInputs["targets"] = args ? args.targets : undefined;
|
|
105
116
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
106
117
|
resourceInputs["value"] = (args === null || args === void 0 ? void 0 : args.value) ? pulumi.secret(args.value) : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAA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AAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAvGL,gEAwGC;AA1FG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -28,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
-
* You can import via the team_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the shared environment variable page.
|
|
31
|
+
* You can import via the team_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the shared environment variable page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
34
|
* $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
|
|
@@ -58,6 +58,10 @@ export declare class SharedEnvironmentVariable extends pulumi.CustomResource {
|
|
|
58
58
|
* The ID of the Vercel project.
|
|
59
59
|
*/
|
|
60
60
|
readonly projectIds: pulumi.Output<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the Environment Variable is sensitive or not.
|
|
63
|
+
*/
|
|
64
|
+
readonly sensitive: pulumi.Output<boolean>;
|
|
61
65
|
/**
|
|
62
66
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
63
67
|
*/
|
|
@@ -91,6 +95,10 @@ export interface SharedEnvironmentVariableState {
|
|
|
91
95
|
* The ID of the Vercel project.
|
|
92
96
|
*/
|
|
93
97
|
projectIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* Whether the Environment Variable is sensitive or not.
|
|
100
|
+
*/
|
|
101
|
+
sensitive?: pulumi.Input<boolean>;
|
|
94
102
|
/**
|
|
95
103
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
96
104
|
*/
|
|
@@ -116,6 +124,10 @@ export interface SharedEnvironmentVariableArgs {
|
|
|
116
124
|
* The ID of the Vercel project.
|
|
117
125
|
*/
|
|
118
126
|
projectIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* Whether the Environment Variable is sensitive or not.
|
|
129
|
+
*/
|
|
130
|
+
sensitive?: pulumi.Input<boolean>;
|
|
119
131
|
/**
|
|
120
132
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
121
133
|
*/
|
|
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
|
-
* You can import via the team_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - environment variable id can be taken from the network tab on the shared environment variable page.
|
|
37
|
+
* You can import via the team_id and environment variable id. - team_id can be found in the team `settings` tab in the Vercel UI. - environment variable id is hard to find, but can be taken from the network tab, inside developer tools, on the shared environment variable page. # Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
38
38
|
*
|
|
39
39
|
* ```sh
|
|
40
40
|
* $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
|
|
@@ -70,6 +70,7 @@ class SharedEnvironmentVariable extends pulumi.CustomResource {
|
|
|
70
70
|
const state = argsOrState;
|
|
71
71
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
72
72
|
resourceInputs["projectIds"] = state ? state.projectIds : undefined;
|
|
73
|
+
resourceInputs["sensitive"] = state ? state.sensitive : undefined;
|
|
73
74
|
resourceInputs["targets"] = state ? state.targets : undefined;
|
|
74
75
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
75
76
|
resourceInputs["value"] = state ? state.value : undefined;
|
|
@@ -90,6 +91,7 @@ class SharedEnvironmentVariable extends pulumi.CustomResource {
|
|
|
90
91
|
}
|
|
91
92
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
92
93
|
resourceInputs["projectIds"] = args ? args.projectIds : undefined;
|
|
94
|
+
resourceInputs["sensitive"] = args ? args.sensitive : undefined;
|
|
93
95
|
resourceInputs["targets"] = args ? args.targets : undefined;
|
|
94
96
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
95
97
|
resourceInputs["value"] = (args === null || args === void 0 ? void 0 : args.value) ? pulumi.secret(args.value) : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedEnvironmentVariable.js","sourceRoot":"","sources":["../sharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,G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CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAjGL,8DAkGC;AApFG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
2
3
|
export interface DeploymentProjectSettings {
|
|
3
4
|
/**
|
|
4
5
|
* The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
|
|
@@ -39,18 +40,6 @@ export interface DnsRecordSrv {
|
|
|
39
40
|
*/
|
|
40
41
|
weight: pulumi.Input<number>;
|
|
41
42
|
}
|
|
42
|
-
export interface GetProjectPasswordProtection {
|
|
43
|
-
/**
|
|
44
|
-
* If true, production deployments will also be protected
|
|
45
|
-
*/
|
|
46
|
-
protectProduction?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export interface GetProjectPasswordProtectionArgs {
|
|
49
|
-
/**
|
|
50
|
-
* If true, production deployments will also be protected
|
|
51
|
-
*/
|
|
52
|
-
protectProduction?: pulumi.Input<boolean>;
|
|
53
|
-
}
|
|
54
43
|
export interface ProjectEnvironment {
|
|
55
44
|
/**
|
|
56
45
|
* The git branch of the Environment Variable.
|
|
@@ -64,6 +53,10 @@ export interface ProjectEnvironment {
|
|
|
64
53
|
* The name of the Environment Variable.
|
|
65
54
|
*/
|
|
66
55
|
key: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the Environment Variable is sensitive or not.
|
|
58
|
+
*/
|
|
59
|
+
sensitive?: pulumi.Input<boolean>;
|
|
67
60
|
/**
|
|
68
61
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
69
62
|
*/
|
|
@@ -88,18 +81,42 @@ export interface ProjectGitRepository {
|
|
|
88
81
|
type: pulumi.Input<string>;
|
|
89
82
|
}
|
|
90
83
|
export interface ProjectPasswordProtection {
|
|
84
|
+
/**
|
|
85
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
|
|
86
|
+
*/
|
|
87
|
+
deploymentType: pulumi.Input<string>;
|
|
91
88
|
/**
|
|
92
89
|
* The password that visitors must enter to gain access to your Preview Deployments. Drift detection is not possible for this field.
|
|
93
90
|
*/
|
|
94
91
|
password: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
export interface ProjectTrustedIps {
|
|
95
94
|
/**
|
|
96
|
-
*
|
|
95
|
+
* The allowed IP addressses and CIDR ranges with optional descriptions.
|
|
97
96
|
*/
|
|
98
|
-
|
|
97
|
+
addresses: pulumi.Input<pulumi.Input<inputs.ProjectTrustedIpsAddress>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, `onlyProductionDeployments`, or `onlyPreviewDeployments`.
|
|
100
|
+
*/
|
|
101
|
+
deploymentType: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Whether or not Trusted IPs is optional to access a deployment. Must be either `trustedIpRequired` or `trustedIpOptional`. `trustedIpOptional` is only available with Standalone Trusted IPs.
|
|
104
|
+
*/
|
|
105
|
+
protectionMode?: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
export interface ProjectTrustedIpsAddress {
|
|
108
|
+
/**
|
|
109
|
+
* A description for the value
|
|
110
|
+
*/
|
|
111
|
+
note?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The value of the Environment Variable.
|
|
114
|
+
*/
|
|
115
|
+
value: pulumi.Input<string>;
|
|
99
116
|
}
|
|
100
117
|
export interface ProjectVercelAuthentication {
|
|
101
118
|
/**
|
|
102
|
-
*
|
|
119
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, `onlyPreviewDeployments`, or `none`.
|
|
103
120
|
*/
|
|
104
|
-
|
|
121
|
+
deploymentType: pulumi.Input<string>;
|
|
105
122
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
1
2
|
export interface DeploymentProjectSettings {
|
|
2
3
|
/**
|
|
3
4
|
* The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
|
|
@@ -51,6 +52,10 @@ export interface GetProjectEnvironment {
|
|
|
51
52
|
* The name of the environment variable.
|
|
52
53
|
*/
|
|
53
54
|
key: string;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the Environment Variable is sensitive or not. Note that the value will be `null` for sensitive environment variables.
|
|
57
|
+
*/
|
|
58
|
+
sensitive: boolean;
|
|
54
59
|
/**
|
|
55
60
|
* The environments that the environment variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
56
61
|
*/
|
|
@@ -76,15 +81,36 @@ export interface GetProjectGitRepository {
|
|
|
76
81
|
}
|
|
77
82
|
export interface GetProjectPasswordProtection {
|
|
78
83
|
/**
|
|
79
|
-
*
|
|
84
|
+
* The deployment environment that will be protected.
|
|
80
85
|
*/
|
|
81
|
-
|
|
86
|
+
deploymentType: string;
|
|
87
|
+
}
|
|
88
|
+
export interface GetProjectTrustedIps {
|
|
89
|
+
/**
|
|
90
|
+
* The allowed IP addressses and CIDR ranges with optional descriptions.
|
|
91
|
+
*/
|
|
92
|
+
addresses: outputs.GetProjectTrustedIpsAddress[];
|
|
93
|
+
/**
|
|
94
|
+
* The deployment environment that will be protected.
|
|
95
|
+
*/
|
|
96
|
+
deploymentType: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether or not Trusted IPs is required or optional to access a deployment.
|
|
99
|
+
*/
|
|
100
|
+
protectionMode: string;
|
|
101
|
+
}
|
|
102
|
+
export interface GetProjectTrustedIpsAddress {
|
|
103
|
+
note: string;
|
|
104
|
+
/**
|
|
105
|
+
* The value of the environment variable.
|
|
106
|
+
*/
|
|
107
|
+
value: string;
|
|
82
108
|
}
|
|
83
109
|
export interface GetProjectVercelAuthentication {
|
|
84
110
|
/**
|
|
85
|
-
*
|
|
111
|
+
* The deployment environment that will be protected.
|
|
86
112
|
*/
|
|
87
|
-
|
|
113
|
+
deploymentType: string;
|
|
88
114
|
}
|
|
89
115
|
export interface ProjectEnvironment {
|
|
90
116
|
/**
|
|
@@ -99,6 +125,10 @@ export interface ProjectEnvironment {
|
|
|
99
125
|
* The name of the Environment Variable.
|
|
100
126
|
*/
|
|
101
127
|
key: string;
|
|
128
|
+
/**
|
|
129
|
+
* Whether the Environment Variable is sensitive or not.
|
|
130
|
+
*/
|
|
131
|
+
sensitive: boolean;
|
|
102
132
|
/**
|
|
103
133
|
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
104
134
|
*/
|
|
@@ -123,18 +153,42 @@ export interface ProjectGitRepository {
|
|
|
123
153
|
type: string;
|
|
124
154
|
}
|
|
125
155
|
export interface ProjectPasswordProtection {
|
|
156
|
+
/**
|
|
157
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
|
|
158
|
+
*/
|
|
159
|
+
deploymentType: string;
|
|
126
160
|
/**
|
|
127
161
|
* The password that visitors must enter to gain access to your Preview Deployments. Drift detection is not possible for this field.
|
|
128
162
|
*/
|
|
129
163
|
password: string;
|
|
164
|
+
}
|
|
165
|
+
export interface ProjectTrustedIps {
|
|
166
|
+
/**
|
|
167
|
+
* The allowed IP addressses and CIDR ranges with optional descriptions.
|
|
168
|
+
*/
|
|
169
|
+
addresses: outputs.ProjectTrustedIpsAddress[];
|
|
170
|
+
/**
|
|
171
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, `onlyProductionDeployments`, or `onlyPreviewDeployments`.
|
|
172
|
+
*/
|
|
173
|
+
deploymentType: string;
|
|
130
174
|
/**
|
|
131
|
-
*
|
|
175
|
+
* Whether or not Trusted IPs is optional to access a deployment. Must be either `trustedIpRequired` or `trustedIpOptional`. `trustedIpOptional` is only available with Standalone Trusted IPs.
|
|
132
176
|
*/
|
|
133
|
-
|
|
177
|
+
protectionMode: string;
|
|
178
|
+
}
|
|
179
|
+
export interface ProjectTrustedIpsAddress {
|
|
180
|
+
/**
|
|
181
|
+
* A description for the value
|
|
182
|
+
*/
|
|
183
|
+
note?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The value of the Environment Variable.
|
|
186
|
+
*/
|
|
187
|
+
value: string;
|
|
134
188
|
}
|
|
135
189
|
export interface ProjectVercelAuthentication {
|
|
136
190
|
/**
|
|
137
|
-
*
|
|
191
|
+
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, `onlyPreviewDeployments`, or `none`.
|
|
138
192
|
*/
|
|
139
|
-
|
|
193
|
+
deploymentType: string;
|
|
140
194
|
}
|
package/utilities.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
1
2
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
2
3
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
3
4
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
4
5
|
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,8 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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
|
+
};
|
|
4
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
6
16
|
function getEnv(...vars) {
|
|
7
17
|
for (const v of vars) {
|
|
8
18
|
const value = process.env[v];
|
|
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
66
76
|
}
|
|
67
77
|
}
|
|
68
78
|
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
69
101
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAGjF,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK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