@pulumiverse/vercel 1.14.2 → 1.15.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.
Files changed (141) hide show
  1. package/accessGroup.d.ts +63 -0
  2. package/accessGroup.js +51 -0
  3. package/accessGroup.js.map +1 -0
  4. package/accessGroupProject.d.ts +87 -0
  5. package/accessGroupProject.js +64 -0
  6. package/accessGroupProject.js.map +1 -0
  7. package/alias.d.ts +6 -8
  8. package/alias.js +0 -5
  9. package/alias.js.map +1 -1
  10. package/attackChallengeMode.d.ts +9 -36
  11. package/attackChallengeMode.js +0 -30
  12. package/attackChallengeMode.js.map +1 -1
  13. package/customEnvironment.d.ts +101 -0
  14. package/customEnvironment.js +60 -0
  15. package/customEnvironment.js.map +1 -0
  16. package/deployment.d.ts +34 -17
  17. package/deployment.js.map +1 -1
  18. package/dnsRecord.d.ts +30 -127
  19. package/dnsRecord.js +0 -97
  20. package/dnsRecord.js.map +1 -1
  21. package/edgeConfig.d.ts +6 -54
  22. package/edgeConfig.js +0 -51
  23. package/edgeConfig.js.map +1 -1
  24. package/edgeConfigItem.d.ts +87 -0
  25. package/edgeConfigItem.js +64 -0
  26. package/edgeConfigItem.js.map +1 -0
  27. package/edgeConfigSchema.d.ts +6 -28
  28. package/edgeConfigSchema.js +0 -25
  29. package/edgeConfigSchema.js.map +1 -1
  30. package/edgeConfigToken.d.ts +10 -62
  31. package/edgeConfigToken.js +0 -57
  32. package/edgeConfigToken.js.map +1 -1
  33. package/firewallConfig.d.ts +110 -0
  34. package/firewallConfig.js +62 -0
  35. package/firewallConfig.js.map +1 -0
  36. package/getAccessGroup.d.ts +25 -0
  37. package/getAccessGroup.js +24 -0
  38. package/getAccessGroup.js.map +1 -0
  39. package/getAccessGroupProject.d.ts +32 -0
  40. package/getAccessGroupProject.js +26 -0
  41. package/getAccessGroupProject.js.map +1 -0
  42. package/getAlias.d.ts +0 -34
  43. package/getAlias.js +0 -10
  44. package/getAlias.js.map +1 -1
  45. package/getAttackChallengeMode.d.ts +0 -56
  46. package/getAttackChallengeMode.js +0 -32
  47. package/getAttackChallengeMode.js.map +1 -1
  48. package/getCustomEnvironment.d.ts +31 -0
  49. package/getCustomEnvironment.js +26 -0
  50. package/getCustomEnvironment.js.map +1 -0
  51. package/getDeployment.d.ts +0 -65
  52. package/getDeployment.js +0 -32
  53. package/getDeployment.js.map +1 -1
  54. package/getEdgeConfig.d.ts +0 -53
  55. package/getEdgeConfig.js +0 -32
  56. package/getEdgeConfig.js.map +1 -1
  57. package/getEdgeConfigItem.d.ts +28 -0
  58. package/getEdgeConfigItem.js +26 -0
  59. package/getEdgeConfigItem.js.map +1 -0
  60. package/getEdgeConfigSchema.d.ts +0 -49
  61. package/getEdgeConfigSchema.js +0 -28
  62. package/getEdgeConfigSchema.js.map +1 -1
  63. package/getEdgeConfigToken.d.ts +0 -74
  64. package/getEdgeConfigToken.js +0 -38
  65. package/getEdgeConfigToken.js.map +1 -1
  66. package/getEndpointVerification.d.ts +0 -39
  67. package/getEndpointVerification.js +0 -24
  68. package/getEndpointVerification.js.map +1 -1
  69. package/getFile.d.ts +0 -54
  70. package/getFile.js +0 -48
  71. package/getFile.js.map +1 -1
  72. package/getLogDrain.d.ts +0 -81
  73. package/getLogDrain.js +0 -36
  74. package/getLogDrain.js.map +1 -1
  75. package/getPrebuiltProject.d.ts +0 -6
  76. package/getPrebuiltProject.js.map +1 -1
  77. package/getProject.d.ts +1 -146
  78. package/getProject.js +0 -38
  79. package/getProject.js.map +1 -1
  80. package/getProjectDeploymentRetention.d.ts +0 -47
  81. package/getProjectDeploymentRetention.js +0 -14
  82. package/getProjectDeploymentRetention.js.map +1 -1
  83. package/getProjectDirectory.d.ts +0 -6
  84. package/getProjectDirectory.js.map +1 -1
  85. package/getProjectMembers.d.ts +30 -0
  86. package/getProjectMembers.js +24 -0
  87. package/getProjectMembers.js.map +1 -0
  88. package/getSharedEnvironmentVariable.d.ts +1 -95
  89. package/getSharedEnvironmentVariable.js +0 -50
  90. package/getSharedEnvironmentVariable.js.map +1 -1
  91. package/getTeamConfig.d.ts +35 -0
  92. package/getTeamConfig.js +22 -0
  93. package/getTeamConfig.js.map +1 -0
  94. package/getTeamMember.d.ts +29 -0
  95. package/getTeamMember.js +24 -0
  96. package/getTeamMember.js.map +1 -0
  97. package/index.d.ts +48 -6
  98. package/index.js +68 -9
  99. package/index.js.map +1 -1
  100. package/logDrain.d.ts +42 -74
  101. package/logDrain.js +0 -56
  102. package/logDrain.js.map +1 -1
  103. package/package.json +1 -1
  104. package/project.d.ts +111 -89
  105. package/project.js +3 -46
  106. package/project.js.map +1 -1
  107. package/projectDeploymentRetention.d.ts +0 -51
  108. package/projectDeploymentRetention.js +0 -51
  109. package/projectDeploymentRetention.js.map +1 -1
  110. package/projectDomain.d.ts +21 -55
  111. package/projectDomain.js +2 -52
  112. package/projectDomain.js.map +1 -1
  113. package/projectEnvironmentVariable.d.ts +40 -86
  114. package/projectEnvironmentVariable.js +4 -82
  115. package/projectEnvironmentVariable.js.map +1 -1
  116. package/projectEnvironmentVariables.d.ts +74 -0
  117. package/projectEnvironmentVariables.js +59 -0
  118. package/projectEnvironmentVariables.js.map +1 -0
  119. package/projectMembers.d.ts +77 -0
  120. package/projectMembers.js +59 -0
  121. package/projectMembers.js.map +1 -0
  122. package/sharedEnvironmentVariable.d.ts +24 -49
  123. package/sharedEnvironmentVariable.js +2 -43
  124. package/sharedEnvironmentVariable.js.map +1 -1
  125. package/teamConfig.d.ts +211 -0
  126. package/teamConfig.js +75 -0
  127. package/teamConfig.js.map +1 -0
  128. package/teamMember.d.ts +107 -0
  129. package/teamMember.js +66 -0
  130. package/teamMember.js.map +1 -0
  131. package/types/input.d.ts +301 -2
  132. package/types/output.d.ts +372 -1
  133. package/webhook.d.ts +18 -43
  134. package/webhook.js +0 -35
  135. package/webhook.js.map +1 -1
  136. package/getProjectFunctionCpu.d.ts +0 -92
  137. package/getProjectFunctionCpu.js +0 -66
  138. package/getProjectFunctionCpu.js.map +0 -1
  139. package/projectFunctionCpu.d.ts +0 -106
  140. package/projectFunctionCpu.js +0 -93
  141. package/projectFunctionCpu.js.map +0 -1
package/project.d.ts CHANGED
@@ -1,51 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
- /**
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as vercel from "@pulumiverse/vercel";
10
- *
11
- * // A project that is connected to a git repository.
12
- * // Deployments will be created automatically
13
- * // on every branch push and merges onto the Production Branch.
14
- * const withGit = new vercel.Project("withGit", {
15
- * framework: "nextjs",
16
- * gitRepository: {
17
- * repo: "vercel/some-repo",
18
- * type: "github",
19
- * },
20
- * });
21
- * // A project that is not connected to a git repository.
22
- * // Deployments will need to be created manually through
23
- * // terraform, or via the vercel CLI.
24
- * const example = new vercel.Project("example", {framework: "nextjs"});
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * If importing into a personal account, or with a team configured on
30
- *
31
- * the provider, simply use the project ID.
32
- *
33
- * - project_id can be found in the project `settings` tab in the Vercel UI.
34
- *
35
- * ```sh
36
- * $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
37
- * ```
38
- *
39
- * Alternatively, you can import via the team_id and project_id.
40
- *
41
- * - team_id can be found in the team `settings` tab in the Vercel UI.
42
- *
43
- * - project_id can be found in the project `settings` tab in the Vercel UI.
44
- *
45
- * ```sh
46
- * $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
47
- * ```
48
- */
49
4
  export declare class Project extends pulumi.CustomResource {
50
5
  /**
51
6
  * Get an existing Project resource's state with the given name, ID, and optional extra
@@ -63,11 +18,13 @@ export declare class Project extends pulumi.CustomResource {
63
18
  */
64
19
  static isInstance(obj: any): obj is Project;
65
20
  /**
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`
21
+ * Automatically assign custom production domains after each Production deployment via merge to the production branch or
22
+ * Vercel CLI deploy with --prod. Defaults to `true`
67
23
  */
68
24
  readonly autoAssignCustomDomains: pulumi.Output<boolean>;
69
25
  /**
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
26
+ * Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the
27
+ * Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
71
28
  */
72
29
  readonly automaticallyExposeSystemEnvironmentVariables: pulumi.Output<boolean>;
73
30
  /**
@@ -95,7 +52,8 @@ export declare class Project extends pulumi.CustomResource {
95
52
  */
96
53
  readonly framework: pulumi.Output<string | undefined>;
97
54
  /**
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.
55
+ * Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new
56
+ * Deployment is required for your changes to take effect.
99
57
  */
100
58
  readonly functionFailover: pulumi.Output<boolean>;
101
59
  /**
@@ -103,19 +61,27 @@ export declare class Project extends pulumi.CustomResource {
103
61
  */
104
62
  readonly gitComments: pulumi.Output<outputs.ProjectGitComments | undefined>;
105
63
  /**
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`.
64
+ * Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if
65
+ * your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
107
66
  */
108
67
  readonly gitForkProtection: pulumi.Output<boolean>;
109
68
  /**
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.
69
+ * Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text
70
+ * pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
111
71
  */
112
72
  readonly gitLfs: pulumi.Output<boolean>;
113
73
  /**
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.
74
+ * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected
75
+ * Git Repository will be automatically deployed. This requires the corresponding Vercel for
76
+ * [Github](https://vercel.com/docs/concepts/git/vercel-for-github),
77
+ * [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or
78
+ * [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
115
79
  */
116
80
  readonly gitRepository: pulumi.Output<outputs.ProjectGitRepository | undefined>;
117
81
  /**
118
- * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
82
+ * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build
83
+ * has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a
84
+ * command that exits with code 1 (new Build needed) or code 0.
119
85
  */
120
86
  readonly ignoreCommand: pulumi.Output<string | undefined>;
121
87
  /**
@@ -143,7 +109,8 @@ export declare class Project extends pulumi.CustomResource {
143
109
  */
144
110
  readonly passwordProtection: pulumi.Output<outputs.ProjectPasswordProtection | undefined>;
145
111
  /**
146
- * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
112
+ * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
113
+ * behaviour).
147
114
  */
148
115
  readonly previewComments: pulumi.Output<boolean | undefined>;
149
116
  /**
@@ -151,15 +118,19 @@ export declare class Project extends pulumi.CustomResource {
151
118
  */
152
119
  readonly prioritiseProductionBuilds: pulumi.Output<boolean>;
153
120
  /**
154
- * 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.
121
+ * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named
122
+ * `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
155
123
  */
156
124
  readonly protectionBypassForAutomation: pulumi.Output<boolean | undefined>;
157
125
  /**
158
- * If `protectionBypassForAutomation` is enabled, use this value in the `x-vercel-protection-bypass` header to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments.
126
+ * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
127
+ * secret will be generated.
159
128
  */
160
129
  readonly protectionBypassForAutomationSecret: pulumi.Output<string>;
161
130
  /**
162
- * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
131
+ * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with
132
+ * Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting
133
+ * `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
163
134
  */
164
135
  readonly publicSource: pulumi.Output<boolean | undefined>;
165
136
  /**
@@ -167,19 +138,24 @@ export declare class Project extends pulumi.CustomResource {
167
138
  */
168
139
  readonly resourceConfig: pulumi.Output<outputs.ProjectResourceConfig>;
169
140
  /**
170
- * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
141
+ * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project
142
+ * root.
171
143
  */
172
144
  readonly rootDirectory: pulumi.Output<string | undefined>;
173
145
  /**
174
- * 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.
146
+ * The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source
147
+ * your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see
148
+ * [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
175
149
  */
176
150
  readonly serverlessFunctionRegion: pulumi.Output<string>;
177
151
  /**
178
- * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
152
+ * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long
153
+ * Vercel keeps Skew Protection active.
179
154
  */
180
155
  readonly skewProtection: pulumi.Output<string | undefined>;
181
156
  /**
182
- * 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.
157
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
158
+ * provider.
183
159
  */
184
160
  readonly teamId: pulumi.Output<string>;
185
161
  /**
@@ -204,11 +180,13 @@ export declare class Project extends pulumi.CustomResource {
204
180
  */
205
181
  export interface ProjectState {
206
182
  /**
207
- * Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
183
+ * Automatically assign custom production domains after each Production deployment via merge to the production branch or
184
+ * Vercel CLI deploy with --prod. Defaults to `true`
208
185
  */
209
186
  autoAssignCustomDomains?: pulumi.Input<boolean>;
210
187
  /**
211
- * 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
188
+ * Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the
189
+ * Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
212
190
  */
213
191
  automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
214
192
  /**
@@ -236,7 +214,8 @@ export interface ProjectState {
236
214
  */
237
215
  framework?: pulumi.Input<string>;
238
216
  /**
239
- * 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.
217
+ * Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new
218
+ * Deployment is required for your changes to take effect.
240
219
  */
241
220
  functionFailover?: pulumi.Input<boolean>;
242
221
  /**
@@ -244,19 +223,27 @@ export interface ProjectState {
244
223
  */
245
224
  gitComments?: pulumi.Input<inputs.ProjectGitComments>;
246
225
  /**
247
- * 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`.
226
+ * Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if
227
+ * your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
248
228
  */
249
229
  gitForkProtection?: pulumi.Input<boolean>;
250
230
  /**
251
- * 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.
231
+ * Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text
232
+ * pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
252
233
  */
253
234
  gitLfs?: pulumi.Input<boolean>;
254
235
  /**
255
- * 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.
236
+ * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected
237
+ * Git Repository will be automatically deployed. This requires the corresponding Vercel for
238
+ * [Github](https://vercel.com/docs/concepts/git/vercel-for-github),
239
+ * [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or
240
+ * [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
256
241
  */
257
242
  gitRepository?: pulumi.Input<inputs.ProjectGitRepository>;
258
243
  /**
259
- * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
244
+ * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build
245
+ * has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a
246
+ * command that exits with code 1 (new Build needed) or code 0.
260
247
  */
261
248
  ignoreCommand?: pulumi.Input<string>;
262
249
  /**
@@ -284,7 +271,8 @@ export interface ProjectState {
284
271
  */
285
272
  passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
286
273
  /**
287
- * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
274
+ * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
275
+ * behaviour).
288
276
  */
289
277
  previewComments?: pulumi.Input<boolean>;
290
278
  /**
@@ -292,15 +280,19 @@ export interface ProjectState {
292
280
  */
293
281
  prioritiseProductionBuilds?: pulumi.Input<boolean>;
294
282
  /**
295
- * 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.
283
+ * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named
284
+ * `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
296
285
  */
297
286
  protectionBypassForAutomation?: pulumi.Input<boolean>;
298
287
  /**
299
- * If `protectionBypassForAutomation` is enabled, use this value in the `x-vercel-protection-bypass` header to bypass Vercel Authentication and Password Protection for both Preview and Production Deployments.
288
+ * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
289
+ * secret will be generated.
300
290
  */
301
291
  protectionBypassForAutomationSecret?: pulumi.Input<string>;
302
292
  /**
303
- * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
293
+ * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with
294
+ * Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting
295
+ * `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
304
296
  */
305
297
  publicSource?: pulumi.Input<boolean>;
306
298
  /**
@@ -308,19 +300,24 @@ export interface ProjectState {
308
300
  */
309
301
  resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
310
302
  /**
311
- * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
303
+ * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project
304
+ * root.
312
305
  */
313
306
  rootDirectory?: pulumi.Input<string>;
314
307
  /**
315
- * 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.
308
+ * The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source
309
+ * your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see
310
+ * [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
316
311
  */
317
312
  serverlessFunctionRegion?: pulumi.Input<string>;
318
313
  /**
319
- * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
314
+ * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long
315
+ * Vercel keeps Skew Protection active.
320
316
  */
321
317
  skewProtection?: pulumi.Input<string>;
322
318
  /**
323
- * 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.
319
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
320
+ * provider.
324
321
  */
325
322
  teamId?: pulumi.Input<string>;
326
323
  /**
@@ -337,11 +334,13 @@ export interface ProjectState {
337
334
  */
338
335
  export interface ProjectArgs {
339
336
  /**
340
- * Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
337
+ * Automatically assign custom production domains after each Production deployment via merge to the production branch or
338
+ * Vercel CLI deploy with --prod. Defaults to `true`
341
339
  */
342
340
  autoAssignCustomDomains?: pulumi.Input<boolean>;
343
341
  /**
344
- * 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
342
+ * Vercel provides a set of Environment Variables that are automatically populated by the System, such as the URL of the
343
+ * Deployment or the name of the Git branch deployed. To expose them to your Deployments, enable this field
345
344
  */
346
345
  automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
347
346
  /**
@@ -369,7 +368,8 @@ export interface ProjectArgs {
369
368
  */
370
369
  framework?: pulumi.Input<string>;
371
370
  /**
372
- * 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.
371
+ * Automatically failover Serverless Functions to the nearest region. You can customize regions through vercel.json. A new
372
+ * Deployment is required for your changes to take effect.
373
373
  */
374
374
  functionFailover?: pulumi.Input<boolean>;
375
375
  /**
@@ -377,19 +377,27 @@ export interface ProjectArgs {
377
377
  */
378
378
  gitComments?: pulumi.Input<inputs.ProjectGitComments>;
379
379
  /**
380
- * 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`.
380
+ * Ensures that pull requests targeting your Git repository must be authorized by a member of your Team before deploying if
381
+ * your Project has Environment Variables or if the pull request includes a change to vercel.json. Defaults to `true`.
381
382
  */
382
383
  gitForkProtection?: pulumi.Input<boolean>;
383
384
  /**
384
- * 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.
385
+ * Enables Git LFS support. Git LFS replaces large files such as audio samples, videos, datasets, and graphics with text
386
+ * pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
385
387
  */
386
388
  gitLfs?: pulumi.Input<boolean>;
387
389
  /**
388
- * 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.
390
+ * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected
391
+ * Git Repository will be automatically deployed. This requires the corresponding Vercel for
392
+ * [Github](https://vercel.com/docs/concepts/git/vercel-for-github),
393
+ * [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or
394
+ * [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
389
395
  */
390
396
  gitRepository?: pulumi.Input<inputs.ProjectGitRepository>;
391
397
  /**
392
- * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
398
+ * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build
399
+ * has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a
400
+ * command that exits with code 1 (new Build needed) or code 0.
393
401
  */
394
402
  ignoreCommand?: pulumi.Input<string>;
395
403
  /**
@@ -417,7 +425,8 @@ export interface ProjectArgs {
417
425
  */
418
426
  passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
419
427
  /**
420
- * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
428
+ * Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
429
+ * behaviour).
421
430
  */
422
431
  previewComments?: pulumi.Input<boolean>;
423
432
  /**
@@ -425,11 +434,19 @@ export interface ProjectArgs {
425
434
  */
426
435
  prioritiseProductionBuilds?: pulumi.Input<boolean>;
427
436
  /**
428
- * 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.
437
+ * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named
438
+ * `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
429
439
  */
430
440
  protectionBypassForAutomation?: pulumi.Input<boolean>;
431
441
  /**
432
- * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
442
+ * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
443
+ * secret will be generated.
444
+ */
445
+ protectionBypassForAutomationSecret?: pulumi.Input<string>;
446
+ /**
447
+ * By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with
448
+ * Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting
449
+ * `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
433
450
  */
434
451
  publicSource?: pulumi.Input<boolean>;
435
452
  /**
@@ -437,19 +454,24 @@ export interface ProjectArgs {
437
454
  */
438
455
  resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
439
456
  /**
440
- * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
457
+ * The name of a directory or relative path to the source code of your project. If omitted, it will default to the project
458
+ * root.
441
459
  */
442
460
  rootDirectory?: pulumi.Input<string>;
443
461
  /**
444
- * 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.
462
+ * The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source
463
+ * your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see
464
+ * [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
445
465
  */
446
466
  serverlessFunctionRegion?: pulumi.Input<string>;
447
467
  /**
448
- * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
468
+ * Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long
469
+ * Vercel keeps Skew Protection active.
449
470
  */
450
471
  skewProtection?: pulumi.Input<string>;
451
472
  /**
452
- * 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.
473
+ * The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the
474
+ * provider.
453
475
  */
454
476
  teamId?: pulumi.Input<string>;
455
477
  /**
package/project.js CHANGED
@@ -5,51 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Project = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumiverse/vercel";
14
- *
15
- * // A project that is connected to a git repository.
16
- * // Deployments will be created automatically
17
- * // on every branch push and merges onto the Production Branch.
18
- * const withGit = new vercel.Project("withGit", {
19
- * framework: "nextjs",
20
- * gitRepository: {
21
- * repo: "vercel/some-repo",
22
- * type: "github",
23
- * },
24
- * });
25
- * // A project that is not connected to a git repository.
26
- * // Deployments will need to be created manually through
27
- * // terraform, or via the vercel CLI.
28
- * const example = new vercel.Project("example", {framework: "nextjs"});
29
- * ```
30
- *
31
- * ## Import
32
- *
33
- * If importing into a personal account, or with a team configured on
34
- *
35
- * the provider, simply use the project ID.
36
- *
37
- * - project_id can be found in the project `settings` tab in the Vercel UI.
38
- *
39
- * ```sh
40
- * $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
41
- * ```
42
- *
43
- * Alternatively, you can import via the team_id and project_id.
44
- *
45
- * - team_id can be found in the team `settings` tab in the Vercel UI.
46
- *
47
- * - project_id can be found in the project `settings` tab in the Vercel UI.
48
- *
49
- * ```sh
50
- * $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
51
- * ```
52
- */
53
8
  class Project extends pulumi.CustomResource {
54
9
  /**
55
10
  * Get an existing Project resource's state with the given name, ID, and optional extra
@@ -136,6 +91,7 @@ class Project extends pulumi.CustomResource {
136
91
  resourceInputs["previewComments"] = args ? args.previewComments : undefined;
137
92
  resourceInputs["prioritiseProductionBuilds"] = args ? args.prioritiseProductionBuilds : undefined;
138
93
  resourceInputs["protectionBypassForAutomation"] = args ? args.protectionBypassForAutomation : undefined;
94
+ resourceInputs["protectionBypassForAutomationSecret"] = (args === null || args === void 0 ? void 0 : args.protectionBypassForAutomationSecret) ? pulumi.secret(args.protectionBypassForAutomationSecret) : undefined;
139
95
  resourceInputs["publicSource"] = args ? args.publicSource : undefined;
140
96
  resourceInputs["resourceConfig"] = args ? args.resourceConfig : undefined;
141
97
  resourceInputs["rootDirectory"] = args ? args.rootDirectory : undefined;
@@ -144,9 +100,10 @@ class Project extends pulumi.CustomResource {
144
100
  resourceInputs["teamId"] = args ? args.teamId : undefined;
145
101
  resourceInputs["trustedIps"] = args ? args.trustedIps : undefined;
146
102
  resourceInputs["vercelAuthentication"] = args ? args.vercelAuthentication : undefined;
147
- resourceInputs["protectionBypassForAutomationSecret"] = undefined /*out*/;
148
103
  }
149
104
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
105
+ const secretOpts = { additionalSecretOutputs: ["protectionBypassForAutomationSecret"] };
106
+ opts = pulumi.mergeOptions(opts, secretOpts);
150
107
  super(Project.__pulumiType, name, resourceInputs, opts);
151
108
  }
152
109
  }
package/project.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"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,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;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,qCAAqC,CAAC,EAAE,CAAC;QACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtQL,0BAuQC;AAzPG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
@@ -1,55 +1,4 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides a Project Deployment Retention resource.
4
- *
5
- * A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
6
- *
7
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as vercel from "@pulumiverse/vercel";
14
- *
15
- * const example = new vercel.Project("example", {gitRepository: {
16
- * type: "github",
17
- * repo: "vercel/some-repo",
18
- * }});
19
- * // An unlimited deployment retention policy that will be created
20
- * // for this project for all deployments.
21
- * const exampleUnlimited = new vercel.ProjectDeploymentRetention("exampleUnlimited", {
22
- * projectId: example.id,
23
- * teamId: example.teamId,
24
- * expirationPreview: "unlimited",
25
- * expirationProduction: "unlimited",
26
- * expirationCanceled: "unlimited",
27
- * expirationErrored: "unlimited",
28
- * });
29
- * // A customized deployment retention policy that will be created
30
- * // for this project for all deployments.
31
- * const exampleCustomized = new vercel.ProjectDeploymentRetention("exampleCustomized", {
32
- * projectId: example.id,
33
- * teamId: example.teamId,
34
- * expirationPreview: "3m",
35
- * expirationProduction: "1y",
36
- * expirationCanceled: "1m",
37
- * expirationErrored: "2m",
38
- * });
39
- * ```
40
- *
41
- * ## Import
42
- *
43
- * You can import via the team_id and project_id.
44
- *
45
- * - team_id can be found in the team `settings` tab in the Vercel UI.
46
- *
47
- * - project_id can be found in the project `settings` tab in the Vercel UI.
48
- *
49
- * ```sh
50
- * $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
51
- * ```
52
- */
53
2
  export declare class ProjectDeploymentRetention extends pulumi.CustomResource {
54
3
  /**
55
4
  * Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra
@@ -5,57 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.ProjectDeploymentRetention = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * Provides a Project Deployment Retention resource.
10
- *
11
- * A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
12
- *
13
- * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as vercel from "@pulumiverse/vercel";
20
- *
21
- * const example = new vercel.Project("example", {gitRepository: {
22
- * type: "github",
23
- * repo: "vercel/some-repo",
24
- * }});
25
- * // An unlimited deployment retention policy that will be created
26
- * // for this project for all deployments.
27
- * const exampleUnlimited = new vercel.ProjectDeploymentRetention("exampleUnlimited", {
28
- * projectId: example.id,
29
- * teamId: example.teamId,
30
- * expirationPreview: "unlimited",
31
- * expirationProduction: "unlimited",
32
- * expirationCanceled: "unlimited",
33
- * expirationErrored: "unlimited",
34
- * });
35
- * // A customized deployment retention policy that will be created
36
- * // for this project for all deployments.
37
- * const exampleCustomized = new vercel.ProjectDeploymentRetention("exampleCustomized", {
38
- * projectId: example.id,
39
- * teamId: example.teamId,
40
- * expirationPreview: "3m",
41
- * expirationProduction: "1y",
42
- * expirationCanceled: "1m",
43
- * expirationErrored: "2m",
44
- * });
45
- * ```
46
- *
47
- * ## Import
48
- *
49
- * You can import via the team_id and project_id.
50
- *
51
- * - team_id can be found in the team `settings` tab in the Vercel UI.
52
- *
53
- * - project_id can be found in the project `settings` tab in the Vercel UI.
54
- *
55
- * ```sh
56
- * $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
57
- * ```
58
- */
59
8
  class ProjectDeploymentRetention extends pulumi.CustomResource {
60
9
  /**
61
10
  * Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra