@pulumiverse/vercel 1.1.2 → 1.9.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/dnsRecord.d.ts +21 -5
- package/dnsRecord.js +11 -5
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +111 -0
- package/edgeConfig.js +102 -0
- package/edgeConfig.js.map +1 -0
- package/edgeConfigSchema.d.ts +85 -0
- package/edgeConfigSchema.js +79 -0
- package/edgeConfigSchema.js.map +1 -0
- package/edgeConfigToken.d.ts +145 -0
- package/edgeConfigToken.js +120 -0
- package/edgeConfigToken.js.map +1 -0
- package/getDeployment.d.ts +94 -0
- package/getDeployment.js +52 -0
- package/getDeployment.js.map +1 -0
- package/getEdgeConfig.d.ts +78 -0
- package/getEdgeConfig.js +52 -0
- package/getEdgeConfig.js.map +1 -0
- package/getEdgeConfigSchema.d.ts +74 -0
- package/getEdgeConfigSchema.js +48 -0
- package/getEdgeConfigSchema.js.map +1 -0
- package/getEdgeConfigToken.d.ts +104 -0
- package/getEdgeConfigToken.js +59 -0
- package/getEdgeConfigToken.js.map +1 -0
- package/getEndpointVerification.d.ts +62 -0
- package/getEndpointVerification.js +44 -0
- package/getEndpointVerification.js.map +1 -0
- package/getLogDrain.d.ts +116 -0
- package/getLogDrain.js +57 -0
- package/getLogDrain.js.map +1 -0
- package/getProject.d.ts +48 -0
- package/getProject.js.map +1 -1
- package/getSharedEnvironmentVariable.d.ts +128 -0
- package/getSharedEnvironmentVariable.js +73 -0
- package/getSharedEnvironmentVariable.js.map +1 -0
- package/index.d.ts +36 -0
- package/index.js +47 -1
- package/index.js.map +1 -1
- package/logDrain.d.ts +206 -0
- package/logDrain.js +135 -0
- package/logDrain.js.map +1 -0
- package/package.json +1 -1
- package/project.d.ts +137 -5
- package/project.js +27 -5
- package/project.js.map +1 -1
- package/projectDomain.d.ts +5 -5
- package/projectDomain.js +5 -5
- package/projectEnvironmentVariable.d.ts +14 -10
- package/projectEnvironmentVariable.js +14 -10
- package/projectEnvironmentVariable.js.map +1 -1
- package/sharedEnvironmentVariable.d.ts +3 -3
- package/sharedEnvironmentVariable.js +3 -3
- package/types/input.d.ts +33 -1
- package/types/output.d.ts +43 -4
- package/webhook.d.ts +127 -0
- package/webhook.js +100 -0
- package/webhook.js.map +1 -0
package/project.d.ts
CHANGED
|
@@ -28,19 +28,19 @@ import * as outputs from "./types/output";
|
|
|
28
28
|
*
|
|
29
29
|
* If importing into a personal account, or with a team configured on
|
|
30
30
|
*
|
|
31
|
-
*
|
|
31
|
+
* the provider, simply use the project ID.
|
|
32
32
|
*
|
|
33
|
-
*
|
|
33
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
36
|
* $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* Alternatively, you can import via the team_id and project_id.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
41
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
42
42
|
*
|
|
43
|
-
*
|
|
43
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
44
44
|
*
|
|
45
45
|
* ```sh
|
|
46
46
|
* $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
@@ -62,14 +62,30 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
62
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
63
|
*/
|
|
64
64
|
static isInstance(obj: any): obj is Project;
|
|
65
|
+
/**
|
|
66
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
67
|
+
*/
|
|
68
|
+
readonly autoAssignCustomDomains: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
71
|
+
*/
|
|
72
|
+
readonly automaticallyExposeSystemEnvironmentVariables: pulumi.Output<boolean>;
|
|
65
73
|
/**
|
|
66
74
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
67
75
|
*/
|
|
68
76
|
readonly buildCommand: pulumi.Output<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
79
|
+
*/
|
|
80
|
+
readonly customerSuccessCodeVisibility: pulumi.Output<boolean>;
|
|
69
81
|
/**
|
|
70
82
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
71
83
|
*/
|
|
72
84
|
readonly devCommand: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
87
|
+
*/
|
|
88
|
+
readonly directoryListing: pulumi.Output<boolean>;
|
|
73
89
|
/**
|
|
74
90
|
* A set of Environment Variables that should be configured for the project.
|
|
75
91
|
*/
|
|
@@ -78,6 +94,22 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
78
94
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
79
95
|
*/
|
|
80
96
|
readonly framework: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
99
|
+
*/
|
|
100
|
+
readonly functionFailover: pulumi.Output<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration for Git Comments.
|
|
103
|
+
*/
|
|
104
|
+
readonly gitComments: pulumi.Output<outputs.ProjectGitComments | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
107
|
+
*/
|
|
108
|
+
readonly gitForkProtection: pulumi.Output<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
111
|
+
*/
|
|
112
|
+
readonly gitLfs: pulumi.Output<boolean>;
|
|
81
113
|
/**
|
|
82
114
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
83
115
|
*/
|
|
@@ -102,6 +134,14 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
102
134
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
103
135
|
*/
|
|
104
136
|
readonly passwordProtection: pulumi.Output<outputs.ProjectPasswordProtection | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
139
|
+
*/
|
|
140
|
+
readonly previewComments: pulumi.Output<boolean | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
143
|
+
*/
|
|
144
|
+
readonly prioritiseProductionBuilds: pulumi.Output<boolean>;
|
|
105
145
|
/**
|
|
106
146
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
107
147
|
*/
|
|
@@ -122,6 +162,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
122
162
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
123
163
|
*/
|
|
124
164
|
readonly serverlessFunctionRegion: pulumi.Output<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
167
|
+
*/
|
|
168
|
+
readonly skewProtection: pulumi.Output<string | undefined>;
|
|
125
169
|
/**
|
|
126
170
|
* 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.
|
|
127
171
|
*/
|
|
@@ -147,14 +191,30 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
147
191
|
* Input properties used for looking up and filtering Project resources.
|
|
148
192
|
*/
|
|
149
193
|
export interface ProjectState {
|
|
194
|
+
/**
|
|
195
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
196
|
+
*/
|
|
197
|
+
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
198
|
+
/**
|
|
199
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
200
|
+
*/
|
|
201
|
+
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
150
202
|
/**
|
|
151
203
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
152
204
|
*/
|
|
153
205
|
buildCommand?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
208
|
+
*/
|
|
209
|
+
customerSuccessCodeVisibility?: pulumi.Input<boolean>;
|
|
154
210
|
/**
|
|
155
211
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
156
212
|
*/
|
|
157
213
|
devCommand?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
216
|
+
*/
|
|
217
|
+
directoryListing?: pulumi.Input<boolean>;
|
|
158
218
|
/**
|
|
159
219
|
* A set of Environment Variables that should be configured for the project.
|
|
160
220
|
*/
|
|
@@ -163,6 +223,22 @@ export interface ProjectState {
|
|
|
163
223
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
164
224
|
*/
|
|
165
225
|
framework?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
228
|
+
*/
|
|
229
|
+
functionFailover?: pulumi.Input<boolean>;
|
|
230
|
+
/**
|
|
231
|
+
* Configuration for Git Comments.
|
|
232
|
+
*/
|
|
233
|
+
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
234
|
+
/**
|
|
235
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
236
|
+
*/
|
|
237
|
+
gitForkProtection?: pulumi.Input<boolean>;
|
|
238
|
+
/**
|
|
239
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
240
|
+
*/
|
|
241
|
+
gitLfs?: pulumi.Input<boolean>;
|
|
166
242
|
/**
|
|
167
243
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
168
244
|
*/
|
|
@@ -187,6 +263,14 @@ export interface ProjectState {
|
|
|
187
263
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
188
264
|
*/
|
|
189
265
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
266
|
+
/**
|
|
267
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
268
|
+
*/
|
|
269
|
+
previewComments?: pulumi.Input<boolean>;
|
|
270
|
+
/**
|
|
271
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
272
|
+
*/
|
|
273
|
+
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
190
274
|
/**
|
|
191
275
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
192
276
|
*/
|
|
@@ -207,6 +291,10 @@ export interface ProjectState {
|
|
|
207
291
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
208
292
|
*/
|
|
209
293
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
296
|
+
*/
|
|
297
|
+
skewProtection?: pulumi.Input<string>;
|
|
210
298
|
/**
|
|
211
299
|
* 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.
|
|
212
300
|
*/
|
|
@@ -224,14 +312,30 @@ export interface ProjectState {
|
|
|
224
312
|
* The set of arguments for constructing a Project resource.
|
|
225
313
|
*/
|
|
226
314
|
export interface ProjectArgs {
|
|
315
|
+
/**
|
|
316
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
317
|
+
*/
|
|
318
|
+
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
319
|
+
/**
|
|
320
|
+
* Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
|
|
321
|
+
*/
|
|
322
|
+
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
227
323
|
/**
|
|
228
324
|
* The build command for this project. If omitted, this value will be automatically detected.
|
|
229
325
|
*/
|
|
230
326
|
buildCommand?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* Allows Vercel Customer Support to inspect all Deployments' source code in this project to assist with debugging.
|
|
329
|
+
*/
|
|
330
|
+
customerSuccessCodeVisibility?: pulumi.Input<boolean>;
|
|
231
331
|
/**
|
|
232
332
|
* The dev command for this project. If omitted, this value will be automatically detected.
|
|
233
333
|
*/
|
|
234
334
|
devCommand?: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* If no index file is present within a directory, the directory contents will be displayed.
|
|
337
|
+
*/
|
|
338
|
+
directoryListing?: pulumi.Input<boolean>;
|
|
235
339
|
/**
|
|
236
340
|
* A set of Environment Variables that should be configured for the project.
|
|
237
341
|
*/
|
|
@@ -240,6 +344,22 @@ export interface ProjectArgs {
|
|
|
240
344
|
* The framework that is being used for this project. If omitted, no framework is selected.
|
|
241
345
|
*/
|
|
242
346
|
framework?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new Deployment is required for your changes to take effect.
|
|
349
|
+
*/
|
|
350
|
+
functionFailover?: pulumi.Input<boolean>;
|
|
351
|
+
/**
|
|
352
|
+
* Configuration for Git Comments.
|
|
353
|
+
*/
|
|
354
|
+
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
355
|
+
/**
|
|
356
|
+
* Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
|
|
357
|
+
*/
|
|
358
|
+
gitForkProtection?: pulumi.Input<boolean>;
|
|
359
|
+
/**
|
|
360
|
+
* Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
|
|
361
|
+
*/
|
|
362
|
+
gitLfs?: pulumi.Input<boolean>;
|
|
243
363
|
/**
|
|
244
364
|
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
|
|
245
365
|
*/
|
|
@@ -264,6 +384,14 @@ export interface ProjectArgs {
|
|
|
264
384
|
* Ensures visitors of your Preview Deployments must enter a password in order to gain access.
|
|
265
385
|
*/
|
|
266
386
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
387
|
+
/**
|
|
388
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
389
|
+
*/
|
|
390
|
+
previewComments?: pulumi.Input<boolean>;
|
|
391
|
+
/**
|
|
392
|
+
* If enabled, builds for the Production environment will be prioritized over Preview environments.
|
|
393
|
+
*/
|
|
394
|
+
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
267
395
|
/**
|
|
268
396
|
* Allow automation services to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `passwordProtectionForAutomationSecret` field.
|
|
269
397
|
*/
|
|
@@ -280,6 +408,10 @@ export interface ProjectArgs {
|
|
|
280
408
|
* The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
|
|
281
409
|
*/
|
|
282
410
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
411
|
+
/**
|
|
412
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
413
|
+
*/
|
|
414
|
+
skewProtection?: pulumi.Input<string>;
|
|
283
415
|
/**
|
|
284
416
|
* 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.
|
|
285
417
|
*/
|
package/project.js
CHANGED
|
@@ -32,19 +32,19 @@ const utilities = require("./utilities");
|
|
|
32
32
|
*
|
|
33
33
|
* If importing into a personal account, or with a team configured on
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* the provider, simply use the project ID.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
38
38
|
*
|
|
39
39
|
* ```sh
|
|
40
40
|
* $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
|
-
*
|
|
43
|
+
* Alternatively, you can import via the team_id and project_id.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
46
46
|
*
|
|
47
|
-
*
|
|
47
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
48
48
|
*
|
|
49
49
|
* ```sh
|
|
50
50
|
* $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
@@ -78,41 +78,63 @@ class Project extends pulumi.CustomResource {
|
|
|
78
78
|
opts = opts || {};
|
|
79
79
|
if (opts.id) {
|
|
80
80
|
const state = argsOrState;
|
|
81
|
+
resourceInputs["autoAssignCustomDomains"] = state ? state.autoAssignCustomDomains : undefined;
|
|
82
|
+
resourceInputs["automaticallyExposeSystemEnvironmentVariables"] = state ? state.automaticallyExposeSystemEnvironmentVariables : undefined;
|
|
81
83
|
resourceInputs["buildCommand"] = state ? state.buildCommand : undefined;
|
|
84
|
+
resourceInputs["customerSuccessCodeVisibility"] = state ? state.customerSuccessCodeVisibility : undefined;
|
|
82
85
|
resourceInputs["devCommand"] = state ? state.devCommand : undefined;
|
|
86
|
+
resourceInputs["directoryListing"] = state ? state.directoryListing : undefined;
|
|
83
87
|
resourceInputs["environments"] = state ? state.environments : undefined;
|
|
84
88
|
resourceInputs["framework"] = state ? state.framework : undefined;
|
|
89
|
+
resourceInputs["functionFailover"] = state ? state.functionFailover : undefined;
|
|
90
|
+
resourceInputs["gitComments"] = state ? state.gitComments : undefined;
|
|
91
|
+
resourceInputs["gitForkProtection"] = state ? state.gitForkProtection : undefined;
|
|
92
|
+
resourceInputs["gitLfs"] = state ? state.gitLfs : undefined;
|
|
85
93
|
resourceInputs["gitRepository"] = state ? state.gitRepository : undefined;
|
|
86
94
|
resourceInputs["ignoreCommand"] = state ? state.ignoreCommand : undefined;
|
|
87
95
|
resourceInputs["installCommand"] = state ? state.installCommand : undefined;
|
|
88
96
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
89
97
|
resourceInputs["outputDirectory"] = state ? state.outputDirectory : undefined;
|
|
90
98
|
resourceInputs["passwordProtection"] = state ? state.passwordProtection : undefined;
|
|
99
|
+
resourceInputs["previewComments"] = state ? state.previewComments : undefined;
|
|
100
|
+
resourceInputs["prioritiseProductionBuilds"] = state ? state.prioritiseProductionBuilds : undefined;
|
|
91
101
|
resourceInputs["protectionBypassForAutomation"] = state ? state.protectionBypassForAutomation : undefined;
|
|
92
102
|
resourceInputs["protectionBypassForAutomationSecret"] = state ? state.protectionBypassForAutomationSecret : undefined;
|
|
93
103
|
resourceInputs["publicSource"] = state ? state.publicSource : undefined;
|
|
94
104
|
resourceInputs["rootDirectory"] = state ? state.rootDirectory : undefined;
|
|
95
105
|
resourceInputs["serverlessFunctionRegion"] = state ? state.serverlessFunctionRegion : undefined;
|
|
106
|
+
resourceInputs["skewProtection"] = state ? state.skewProtection : undefined;
|
|
96
107
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
97
108
|
resourceInputs["trustedIps"] = state ? state.trustedIps : undefined;
|
|
98
109
|
resourceInputs["vercelAuthentication"] = state ? state.vercelAuthentication : undefined;
|
|
99
110
|
}
|
|
100
111
|
else {
|
|
101
112
|
const args = argsOrState;
|
|
113
|
+
resourceInputs["autoAssignCustomDomains"] = args ? args.autoAssignCustomDomains : undefined;
|
|
114
|
+
resourceInputs["automaticallyExposeSystemEnvironmentVariables"] = args ? args.automaticallyExposeSystemEnvironmentVariables : undefined;
|
|
102
115
|
resourceInputs["buildCommand"] = args ? args.buildCommand : undefined;
|
|
116
|
+
resourceInputs["customerSuccessCodeVisibility"] = args ? args.customerSuccessCodeVisibility : undefined;
|
|
103
117
|
resourceInputs["devCommand"] = args ? args.devCommand : undefined;
|
|
118
|
+
resourceInputs["directoryListing"] = args ? args.directoryListing : undefined;
|
|
104
119
|
resourceInputs["environments"] = args ? args.environments : undefined;
|
|
105
120
|
resourceInputs["framework"] = args ? args.framework : undefined;
|
|
121
|
+
resourceInputs["functionFailover"] = args ? args.functionFailover : undefined;
|
|
122
|
+
resourceInputs["gitComments"] = args ? args.gitComments : undefined;
|
|
123
|
+
resourceInputs["gitForkProtection"] = args ? args.gitForkProtection : undefined;
|
|
124
|
+
resourceInputs["gitLfs"] = args ? args.gitLfs : undefined;
|
|
106
125
|
resourceInputs["gitRepository"] = args ? args.gitRepository : undefined;
|
|
107
126
|
resourceInputs["ignoreCommand"] = args ? args.ignoreCommand : undefined;
|
|
108
127
|
resourceInputs["installCommand"] = args ? args.installCommand : undefined;
|
|
109
128
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
110
129
|
resourceInputs["outputDirectory"] = args ? args.outputDirectory : undefined;
|
|
111
130
|
resourceInputs["passwordProtection"] = args ? args.passwordProtection : undefined;
|
|
131
|
+
resourceInputs["previewComments"] = args ? args.previewComments : undefined;
|
|
132
|
+
resourceInputs["prioritiseProductionBuilds"] = args ? args.prioritiseProductionBuilds : undefined;
|
|
112
133
|
resourceInputs["protectionBypassForAutomation"] = args ? args.protectionBypassForAutomation : undefined;
|
|
113
134
|
resourceInputs["publicSource"] = args ? args.publicSource : undefined;
|
|
114
135
|
resourceInputs["rootDirectory"] = args ? args.rootDirectory : undefined;
|
|
115
136
|
resourceInputs["serverlessFunctionRegion"] = args ? args.serverlessFunctionRegion : undefined;
|
|
137
|
+
resourceInputs["skewProtection"] = args ? args.skewProtection : undefined;
|
|
116
138
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
117
139
|
resourceInputs["trustedIps"] = args ? args.trustedIps : undefined;
|
|
118
140
|
resourceInputs["vercelAuthentication"] = args ? args.vercelAuthentication : undefined;
|
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;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,OAAQ,SAAQ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33,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
*
|
|
34
34
|
* If importing into a personal account, or with a team configured on
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* the provider, simply use the project ID and domain.
|
|
37
37
|
*
|
|
38
|
-
*
|
|
38
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
41
|
* $ pulumi import vercel:index/projectDomain:ProjectDomain example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
|
-
*
|
|
44
|
+
* Alternatively, you can import via the team_id, project_id and domain name.
|
|
45
45
|
*
|
|
46
|
-
*
|
|
46
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
47
47
|
*
|
|
48
|
-
*
|
|
48
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
49
49
|
*
|
|
50
50
|
* ```sh
|
|
51
51
|
* $ pulumi import vercel:index/projectDomain:ProjectDomain example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
|
package/projectDomain.js
CHANGED
|
@@ -39,19 +39,19 @@ const utilities = require("./utilities");
|
|
|
39
39
|
*
|
|
40
40
|
* If importing into a personal account, or with a team configured on
|
|
41
41
|
*
|
|
42
|
-
*
|
|
42
|
+
* the provider, simply use the project ID and domain.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
44
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
45
45
|
*
|
|
46
46
|
* ```sh
|
|
47
47
|
* $ pulumi import vercel:index/projectDomain:ProjectDomain example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
|
|
48
48
|
* ```
|
|
49
49
|
*
|
|
50
|
-
*
|
|
50
|
+
* Alternatively, you can import via the team_id, project_id and domain name.
|
|
51
51
|
*
|
|
52
|
-
*
|
|
52
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
53
53
|
*
|
|
54
|
-
*
|
|
54
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
55
55
|
*
|
|
56
56
|
* ```sh
|
|
57
57
|
* $ pulumi import vercel:index/projectDomain:ProjectDomain example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
|
|
@@ -42,33 +42,37 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
42
42
|
*
|
|
43
43
|
* If importing into a personal account, or with a team configured on
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* the provider, simply use the project_id and environment variable id.
|
|
46
46
|
*
|
|
47
|
-
*
|
|
47
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
49
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
50
|
+
*
|
|
51
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
50
52
|
*
|
|
51
53
|
* #
|
|
52
54
|
*
|
|
53
|
-
*
|
|
55
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
54
56
|
*
|
|
55
57
|
* ```sh
|
|
56
58
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
57
59
|
* ```
|
|
58
60
|
*
|
|
59
|
-
*
|
|
61
|
+
* Alternatively, you can import via the team_id, project_id and
|
|
62
|
+
*
|
|
63
|
+
* environment variable id.
|
|
60
64
|
*
|
|
61
|
-
*
|
|
65
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
62
66
|
*
|
|
63
|
-
*
|
|
67
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
64
68
|
*
|
|
65
|
-
*
|
|
69
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
66
70
|
*
|
|
67
|
-
*
|
|
71
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
68
72
|
*
|
|
69
73
|
* #
|
|
70
74
|
*
|
|
71
|
-
*
|
|
75
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
72
76
|
*
|
|
73
77
|
* ```sh
|
|
74
78
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
@@ -48,33 +48,37 @@ const utilities = require("./utilities");
|
|
|
48
48
|
*
|
|
49
49
|
* If importing into a personal account, or with a team configured on
|
|
50
50
|
*
|
|
51
|
-
*
|
|
51
|
+
* the provider, simply use the project_id and environment variable id.
|
|
52
52
|
*
|
|
53
|
-
*
|
|
53
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
56
|
+
*
|
|
57
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
56
58
|
*
|
|
57
59
|
* #
|
|
58
60
|
*
|
|
59
|
-
*
|
|
61
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
60
62
|
*
|
|
61
63
|
* ```sh
|
|
62
64
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
63
65
|
* ```
|
|
64
66
|
*
|
|
65
|
-
*
|
|
67
|
+
* Alternatively, you can import via the team_id, project_id and
|
|
68
|
+
*
|
|
69
|
+
* environment variable id.
|
|
66
70
|
*
|
|
67
|
-
*
|
|
71
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
68
72
|
*
|
|
69
|
-
*
|
|
73
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
70
74
|
*
|
|
71
|
-
*
|
|
75
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page,
|
|
72
76
|
*
|
|
73
|
-
*
|
|
77
|
+
* or can be queried from Vercel API directly (https://vercel.com/docs/rest-api/endpoints/projects#retrieve-the-environment-variables-of-a-project-by-id-or-name)
|
|
74
78
|
*
|
|
75
79
|
* #
|
|
76
80
|
*
|
|
77
|
-
*
|
|
81
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
78
82
|
*
|
|
79
83
|
* ```sh
|
|
80
84
|
* $ pulumi import vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/FdT2e1E5Of6Cihmt
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,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AAS,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,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAvGL,gEAwGC;AA1FG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -30,13 +30,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
*
|
|
31
31
|
* You can import via the team_id and environment variable id.
|
|
32
32
|
*
|
|
33
|
-
*
|
|
33
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page.
|
|
36
36
|
*
|
|
37
37
|
* #
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
42
|
* $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
|
|
@@ -36,13 +36,13 @@ const utilities = require("./utilities");
|
|
|
36
36
|
*
|
|
37
37
|
* You can import via the team_id and environment variable id.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
40
40
|
*
|
|
41
|
-
*
|
|
41
|
+
* - environment variable id can be taken from the network tab inside developer tools, while you are on the project page.
|
|
42
42
|
*
|
|
43
43
|
* #
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* Note also, that the value field for sensitive environment variables will be imported as `null`.
|
|
46
46
|
*
|
|
47
47
|
* ```sh
|
|
48
48
|
* $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
|
package/types/input.d.ts
CHANGED
|
@@ -66,7 +66,21 @@ export interface ProjectEnvironment {
|
|
|
66
66
|
*/
|
|
67
67
|
value: pulumi.Input<string>;
|
|
68
68
|
}
|
|
69
|
+
export interface ProjectGitComments {
|
|
70
|
+
/**
|
|
71
|
+
* Whether Commit comments are enabled
|
|
72
|
+
*/
|
|
73
|
+
onCommit: pulumi.Input<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* Whether Pull Request comments are enabled
|
|
76
|
+
*/
|
|
77
|
+
onPullRequest: pulumi.Input<boolean>;
|
|
78
|
+
}
|
|
69
79
|
export interface ProjectGitRepository {
|
|
80
|
+
/**
|
|
81
|
+
* Deploy hooks are unique URLs that allow you to trigger a deployment of a given branch. See https://vercel.com/docs/deployments/deploy-hooks for full information.
|
|
82
|
+
*/
|
|
83
|
+
deployHooks?: pulumi.Input<pulumi.Input<inputs.ProjectGitRepositoryDeployHook>[]>;
|
|
70
84
|
/**
|
|
71
85
|
* By default, every commit pushed to the main branch will trigger a Production Deployment instead of the usual Preview Deployment. You can switch to a different branch here.
|
|
72
86
|
*/
|
|
@@ -80,6 +94,24 @@ export interface ProjectGitRepository {
|
|
|
80
94
|
*/
|
|
81
95
|
type: pulumi.Input<string>;
|
|
82
96
|
}
|
|
97
|
+
export interface ProjectGitRepositoryDeployHook {
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the deploy hook.
|
|
100
|
+
*/
|
|
101
|
+
id?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The name of the deploy hook.
|
|
104
|
+
*/
|
|
105
|
+
name: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The branch or commit hash that should be deployed.
|
|
108
|
+
*/
|
|
109
|
+
ref: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* A URL that, when a POST request is made to, will trigger a new deployment.
|
|
112
|
+
*/
|
|
113
|
+
url?: pulumi.Input<string>;
|
|
114
|
+
}
|
|
83
115
|
export interface ProjectPasswordProtection {
|
|
84
116
|
/**
|
|
85
117
|
* The deployment environment to protect. Must be one of `standardProtection`, `allDeployments`, or `onlyPreviewDeployments`.
|
|
@@ -110,7 +142,7 @@ export interface ProjectTrustedIpsAddress {
|
|
|
110
142
|
*/
|
|
111
143
|
note?: pulumi.Input<string>;
|
|
112
144
|
/**
|
|
113
|
-
* The
|
|
145
|
+
* The address or CIDR range that can access deployments.
|
|
114
146
|
*/
|
|
115
147
|
value: pulumi.Input<string>;
|
|
116
148
|
}
|