@pulumiverse/vercel 4.6.1 → 5.3.1

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 (153) hide show
  1. package/accessGroup.d.ts +3 -2
  2. package/accessGroup.js +3 -2
  3. package/accessGroup.js.map +1 -1
  4. package/accessGroupProject.d.ts +4 -3
  5. package/accessGroupProject.js +4 -3
  6. package/accessGroupProject.js.map +1 -1
  7. package/attackChallengeMode.d.ts +4 -4
  8. package/attackChallengeMode.js +4 -4
  9. package/blobObject.d.ts +177 -0
  10. package/blobObject.js +89 -0
  11. package/blobObject.js.map +1 -0
  12. package/blobProjectConnection.d.ts +144 -0
  13. package/blobProjectConnection.js +105 -0
  14. package/blobProjectConnection.js.map +1 -0
  15. package/blobStore.d.ts +159 -0
  16. package/blobStore.js +100 -0
  17. package/blobStore.js.map +1 -0
  18. package/bulkRedirects.d.ts +135 -0
  19. package/bulkRedirects.js +114 -0
  20. package/bulkRedirects.js.map +1 -0
  21. package/customEnvironment.d.ts +7 -9
  22. package/customEnvironment.js +7 -9
  23. package/customEnvironment.js.map +1 -1
  24. package/deployment.d.ts +36 -0
  25. package/deployment.js +27 -0
  26. package/deployment.js.map +1 -1
  27. package/dnsRecord.d.ts +8 -12
  28. package/dnsRecord.js +8 -12
  29. package/dnsRecord.js.map +1 -1
  30. package/edgeConfig.d.ts +7 -9
  31. package/edgeConfig.js +7 -9
  32. package/edgeConfig.js.map +1 -1
  33. package/edgeConfigItem.d.ts +6 -10
  34. package/edgeConfigItem.js +6 -10
  35. package/edgeConfigItem.js.map +1 -1
  36. package/edgeConfigSchema.d.ts +6 -8
  37. package/edgeConfigSchema.js +6 -8
  38. package/edgeConfigSchema.js.map +1 -1
  39. package/edgeConfigToken.d.ts +7 -11
  40. package/edgeConfigToken.js +7 -11
  41. package/edgeConfigToken.js.map +1 -1
  42. package/featureFlagConfig.d.ts +167 -0
  43. package/featureFlagConfig.js +131 -0
  44. package/featureFlagConfig.js.map +1 -0
  45. package/featureFlagDefinition.d.ts +160 -0
  46. package/featureFlagDefinition.js +111 -0
  47. package/featureFlagDefinition.js.map +1 -0
  48. package/featureFlagSdkKey.d.ts +160 -0
  49. package/featureFlagSdkKey.js +120 -0
  50. package/featureFlagSdkKey.js.map +1 -0
  51. package/featureFlagSegment.d.ts +191 -0
  52. package/featureFlagSegment.js +126 -0
  53. package/featureFlagSegment.js.map +1 -0
  54. package/firewallBypass.d.ts +3 -2
  55. package/firewallBypass.js +3 -2
  56. package/firewallBypass.js.map +1 -1
  57. package/firewallConfig.d.ts +2 -0
  58. package/firewallConfig.js +2 -0
  59. package/firewallConfig.js.map +1 -1
  60. package/getBlobObject.d.ts +100 -0
  61. package/getBlobObject.js +32 -0
  62. package/getBlobObject.js.map +1 -0
  63. package/getBlobProjectConnections.d.ts +91 -0
  64. package/getBlobProjectConnections.js +64 -0
  65. package/getBlobProjectConnections.js.map +1 -0
  66. package/getBlobStore.d.ts +104 -0
  67. package/getBlobStore.js +54 -0
  68. package/getBlobStore.js.map +1 -0
  69. package/getBlobStoreSecrets.d.ts +80 -0
  70. package/getBlobStoreSecrets.js +54 -0
  71. package/getBlobStoreSecrets.js.map +1 -0
  72. package/getBlobStores.d.ts +63 -0
  73. package/getBlobStores.js +48 -0
  74. package/getBlobStores.js.map +1 -0
  75. package/getBulkRedirects.d.ts +97 -0
  76. package/getBulkRedirects.js +60 -0
  77. package/getBulkRedirects.js.map +1 -0
  78. package/getFeatureFlag.d.ts +121 -0
  79. package/getFeatureFlag.js +60 -0
  80. package/getFeatureFlag.js.map +1 -0
  81. package/getFeatureFlagSdkKey.d.ts +100 -0
  82. package/getFeatureFlagSdkKey.js +60 -0
  83. package/getFeatureFlagSdkKey.js.map +1 -0
  84. package/getFeatureFlagSegment.d.ts +113 -0
  85. package/getFeatureFlagSegment.js +60 -0
  86. package/getFeatureFlagSegment.js.map +1 -0
  87. package/getFile.d.ts +9 -0
  88. package/getFile.js.map +1 -1
  89. package/getPrebuiltProject.d.ts +51 -0
  90. package/getPrebuiltProject.js +42 -0
  91. package/getPrebuiltProject.js.map +1 -1
  92. package/getProject.d.ts +14 -4
  93. package/getProject.js.map +1 -1
  94. package/getProjectDirectory.d.ts +47 -0
  95. package/getProjectDirectory.js +38 -0
  96. package/getProjectDirectory.js.map +1 -1
  97. package/getProjectRoutes.d.ts +89 -0
  98. package/getProjectRoutes.js +62 -0
  99. package/getProjectRoutes.js.map +1 -0
  100. package/index.d.ts +63 -0
  101. package/index.js +88 -2
  102. package/index.js.map +1 -1
  103. package/logDrain.d.ts +6 -8
  104. package/logDrain.js +6 -8
  105. package/logDrain.js.map +1 -1
  106. package/microfrontendGroup.d.ts +4 -5
  107. package/microfrontendGroup.js +4 -5
  108. package/microfrontendGroup.js.map +1 -1
  109. package/microfrontendGroupMembership.d.ts +4 -7
  110. package/microfrontendGroupMembership.js +4 -7
  111. package/microfrontendGroupMembership.js.map +1 -1
  112. package/package.json +2 -2
  113. package/project.d.ts +75 -38
  114. package/project.js +53 -14
  115. package/project.js.map +1 -1
  116. package/projectCrons.d.ts +6 -7
  117. package/projectCrons.js +6 -7
  118. package/projectCrons.js.map +1 -1
  119. package/projectDeploymentRetention.d.ts +12 -4
  120. package/projectDeploymentRetention.js +12 -4
  121. package/projectDeploymentRetention.js.map +1 -1
  122. package/projectDomain.d.ts +6 -8
  123. package/projectDomain.js +6 -8
  124. package/projectDomain.js.map +1 -1
  125. package/projectEnvironmentVariable.d.ts +24 -20
  126. package/projectEnvironmentVariable.js +23 -16
  127. package/projectEnvironmentVariable.js.map +1 -1
  128. package/projectEnvironmentVariables.d.ts +18 -5
  129. package/projectEnvironmentVariables.js +18 -5
  130. package/projectEnvironmentVariables.js.map +1 -1
  131. package/projectMembers.d.ts +6 -0
  132. package/projectMembers.js +6 -0
  133. package/projectMembers.js.map +1 -1
  134. package/projectProtectionBypass.d.ts +171 -0
  135. package/projectProtectionBypass.js +119 -0
  136. package/projectProtectionBypass.js.map +1 -0
  137. package/projectRoute.d.ts +219 -0
  138. package/projectRoute.js +148 -0
  139. package/projectRoute.js.map +1 -0
  140. package/sharedEnvironmentVariable.d.ts +28 -9
  141. package/sharedEnvironmentVariable.js +27 -5
  142. package/sharedEnvironmentVariable.js.map +1 -1
  143. package/teamConfig.d.ts +3 -2
  144. package/teamConfig.js +3 -2
  145. package/teamConfig.js.map +1 -1
  146. package/teamMember.d.ts +3 -1
  147. package/teamMember.js +3 -1
  148. package/teamMember.js.map +1 -1
  149. package/types/input.d.ts +324 -4
  150. package/types/output.d.ts +705 -2
  151. package/userToken.d.ts +186 -0
  152. package/userToken.js +115 -0
  153. package/userToken.js.map +1 -0
package/project.d.ts CHANGED
@@ -2,6 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * Provides a Project resource.
6
+ *
7
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need to create a Project.
8
+ *
9
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
10
+ *
11
+ * > Terraform currently provides a standalone Project Environment Variable resource (a single Environment Variable), a Project Environment Variables resource (multiple Environment Variables), and this Project resource with Environment Variables defined in-line via the `environment` field.
12
+ * At this time you cannot use a Vercel Project resource with in-line `environment` in conjunction with any `vercel.ProjectEnvironmentVariables` or `vercel.ProjectEnvironmentVariable` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
13
+ *
14
+ * > **Note:** Starting in provider version `4.8.0`, in-line Project Environment Variables require an explicit `sensitive` value. Variables targeting only `development` must set `sensitive = false`. If your team enforces sensitive environment variables, variables targeting `preview`, `production`, or custom environments must set `sensitive = true`. When that team policy is enabled, a variable cannot target `development` together with `preview`, `production`, or custom environments.
15
+ *
5
16
  * ## Example Usage
6
17
  *
7
18
  * ```typescript
@@ -26,25 +37,57 @@ import * as outputs from "./types/output";
26
37
  * name: "example-project",
27
38
  * framework: "nextjs",
28
39
  * });
40
+ * const githubActionsTrustedSource = {
41
+ * issuer: "https://token.actions.githubusercontent.com",
42
+ * label: "GitHub Actions",
43
+ * to: {
44
+ * slugs: ["preview"],
45
+ * },
46
+ * claims: {
47
+ * aud: ["example-audience"],
48
+ * sub: ["repo:vercel/some-repo:ref:refs/heads/main"],
49
+ * },
50
+ * };
51
+ * // A project that allows trusted sources to bypass Deployment Protection.
52
+ * const withTrustedSources = new vercel.Project("with_trusted_sources", {
53
+ * name: "example-project-with-trusted-sources",
54
+ * framework: "nextjs",
55
+ * trustedSources: {
56
+ * projects: [{
57
+ * projectId: withGit.id,
58
+ * label: "Source project",
59
+ * customAllow: [{
60
+ * from: {
61
+ * slugs: ["production"],
62
+ * },
63
+ * to: {
64
+ * slugs: [
65
+ * "preview",
66
+ * "production",
67
+ * ],
68
+ * },
69
+ * }],
70
+ * }],
71
+ * externalSources: [githubActionsTrustedSource],
72
+ * },
73
+ * });
29
74
  * ```
30
75
  *
31
76
  * ## Import
32
77
  *
33
- * If importing into a personal account, or with a team configured on
78
+ * The `pulumi import` command can be used, for example:
34
79
  *
80
+ * If importing into a personal account, or with a team configured on
35
81
  * the provider, simply use the project ID.
36
- *
37
- * - project_id can be found in the project `settings` tab in the Vercel UI.
82
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
38
83
  *
39
84
  * ```sh
40
85
  * $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
41
86
  * ```
42
87
  *
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.
88
+ * Alternatively, you can import via the teamId and project_id.
89
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
90
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
48
91
  *
49
92
  * ```sh
50
93
  * $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -79,7 +122,7 @@ export declare class Project extends pulumi.CustomResource {
79
122
  */
80
123
  readonly buildCommand: pulumi.Output<string | undefined>;
81
124
  /**
82
- * The build machine type to use for this project. Must be one of "enhanced" or "turbo".
125
+ * The build machine type to use for this project. Must be one of "standard", "enhanced", "turbo", or "elastic". When set to "elastic", Vercel automatically adjusts the underlying machine type based on build duration.
83
126
  */
84
127
  readonly buildMachineType: pulumi.Output<string>;
85
128
  /**
@@ -193,15 +236,9 @@ export declare class Project extends pulumi.CustomResource {
193
236
  */
194
237
  readonly prioritiseProductionBuilds: pulumi.Output<boolean>;
195
238
  /**
196
- * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
197
- */
198
- readonly protectionBypassForAutomation: pulumi.Output<boolean | undefined>;
199
- /**
200
- * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
201
- */
202
- readonly protectionBypassForAutomationSecret: pulumi.Output<string>;
203
- /**
204
- * 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.
239
+ * Deprecated. The public source feature has been removed from Vercel; this attribute no longer has any effect.
240
+ *
241
+ * @deprecated This attribute is deprecated and no longer has any effect. The public source feature has been removed from Vercel, so this value is ignored and no longer sent to the API. It will be removed in a future major version of this provider.
205
242
  */
206
243
  readonly publicSource: pulumi.Output<boolean | undefined>;
207
244
  /**
@@ -230,6 +267,10 @@ export declare class Project extends pulumi.CustomResource {
230
267
  * Ensures only visitors from an allowed IP address can access your deployment.
231
268
  */
232
269
  readonly trustedIps: pulumi.Output<outputs.ProjectTrustedIps | undefined>;
270
+ /**
271
+ * Allows configured Vercel projects and external sources to reach this project's protected deployments using short-lived OIDC tokens.
272
+ */
273
+ readonly trustedSources: pulumi.Output<outputs.ProjectTrustedSources | undefined>;
233
274
  /**
234
275
  * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
235
276
  */
@@ -260,7 +301,7 @@ export interface ProjectState {
260
301
  */
261
302
  buildCommand?: pulumi.Input<string>;
262
303
  /**
263
- * The build machine type to use for this project. Must be one of "enhanced" or "turbo".
304
+ * The build machine type to use for this project. Must be one of "standard", "enhanced", "turbo", or "elastic". When set to "elastic", Vercel automatically adjusts the underlying machine type based on build duration.
264
305
  */
265
306
  buildMachineType?: pulumi.Input<string>;
266
307
  /**
@@ -374,15 +415,9 @@ export interface ProjectState {
374
415
  */
375
416
  prioritiseProductionBuilds?: pulumi.Input<boolean>;
376
417
  /**
377
- * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
378
- */
379
- protectionBypassForAutomation?: pulumi.Input<boolean>;
380
- /**
381
- * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
382
- */
383
- protectionBypassForAutomationSecret?: pulumi.Input<string>;
384
- /**
385
- * 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.
418
+ * Deprecated. The public source feature has been removed from Vercel; this attribute no longer has any effect.
419
+ *
420
+ * @deprecated This attribute is deprecated and no longer has any effect. The public source feature has been removed from Vercel, so this value is ignored and no longer sent to the API. It will be removed in a future major version of this provider.
386
421
  */
387
422
  publicSource?: pulumi.Input<boolean>;
388
423
  /**
@@ -411,6 +446,10 @@ export interface ProjectState {
411
446
  * Ensures only visitors from an allowed IP address can access your deployment.
412
447
  */
413
448
  trustedIps?: pulumi.Input<inputs.ProjectTrustedIps>;
449
+ /**
450
+ * Allows configured Vercel projects and external sources to reach this project's protected deployments using short-lived OIDC tokens.
451
+ */
452
+ trustedSources?: pulumi.Input<inputs.ProjectTrustedSources>;
414
453
  /**
415
454
  * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
416
455
  */
@@ -433,7 +472,7 @@ export interface ProjectArgs {
433
472
  */
434
473
  buildCommand?: pulumi.Input<string>;
435
474
  /**
436
- * The build machine type to use for this project. Must be one of "enhanced" or "turbo".
475
+ * The build machine type to use for this project. Must be one of "standard", "enhanced", "turbo", or "elastic". When set to "elastic", Vercel automatically adjusts the underlying machine type based on build duration.
437
476
  */
438
477
  buildMachineType?: pulumi.Input<string>;
439
478
  /**
@@ -547,15 +586,9 @@ export interface ProjectArgs {
547
586
  */
548
587
  prioritiseProductionBuilds?: pulumi.Input<boolean>;
549
588
  /**
550
- * Allow automation services to bypass Deployment Protection on this project when using an HTTP header named `x-vercel-protection-bypass` with a value of the `protectionBypassForAutomationSecret` field.
551
- */
552
- protectionBypassForAutomation?: pulumi.Input<boolean>;
553
- /**
554
- * If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
555
- */
556
- protectionBypassForAutomationSecret?: pulumi.Input<string>;
557
- /**
558
- * 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.
589
+ * Deprecated. The public source feature has been removed from Vercel; this attribute no longer has any effect.
590
+ *
591
+ * @deprecated This attribute is deprecated and no longer has any effect. The public source feature has been removed from Vercel, so this value is ignored and no longer sent to the API. It will be removed in a future major version of this provider.
559
592
  */
560
593
  publicSource?: pulumi.Input<boolean>;
561
594
  /**
@@ -584,6 +617,10 @@ export interface ProjectArgs {
584
617
  * Ensures only visitors from an allowed IP address can access your deployment.
585
618
  */
586
619
  trustedIps?: pulumi.Input<inputs.ProjectTrustedIps>;
620
+ /**
621
+ * Allows configured Vercel projects and external sources to reach this project's protected deployments using short-lived OIDC tokens.
622
+ */
623
+ trustedSources?: pulumi.Input<inputs.ProjectTrustedSources>;
587
624
  /**
588
625
  * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
589
626
  */
package/project.js CHANGED
@@ -6,6 +6,17 @@ exports.Project = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Provides a Project resource.
10
+ *
11
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need to create a Project.
12
+ *
13
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
14
+ *
15
+ * > Terraform currently provides a standalone Project Environment Variable resource (a single Environment Variable), a Project Environment Variables resource (multiple Environment Variables), and this Project resource with Environment Variables defined in-line via the `environment` field.
16
+ * At this time you cannot use a Vercel Project resource with in-line `environment` in conjunction with any `vercel.ProjectEnvironmentVariables` or `vercel.ProjectEnvironmentVariable` resources. Doing so will cause a conflict of settings and will overwrite Environment Variables.
17
+ *
18
+ * > **Note:** Starting in provider version `4.8.0`, in-line Project Environment Variables require an explicit `sensitive` value. Variables targeting only `development` must set `sensitive = false`. If your team enforces sensitive environment variables, variables targeting `preview`, `production`, or custom environments must set `sensitive = true`. When that team policy is enabled, a variable cannot target `development` together with `preview`, `production`, or custom environments.
19
+ *
9
20
  * ## Example Usage
10
21
  *
11
22
  * ```typescript
@@ -30,25 +41,57 @@ const utilities = require("./utilities");
30
41
  * name: "example-project",
31
42
  * framework: "nextjs",
32
43
  * });
44
+ * const githubActionsTrustedSource = {
45
+ * issuer: "https://token.actions.githubusercontent.com",
46
+ * label: "GitHub Actions",
47
+ * to: {
48
+ * slugs: ["preview"],
49
+ * },
50
+ * claims: {
51
+ * aud: ["example-audience"],
52
+ * sub: ["repo:vercel/some-repo:ref:refs/heads/main"],
53
+ * },
54
+ * };
55
+ * // A project that allows trusted sources to bypass Deployment Protection.
56
+ * const withTrustedSources = new vercel.Project("with_trusted_sources", {
57
+ * name: "example-project-with-trusted-sources",
58
+ * framework: "nextjs",
59
+ * trustedSources: {
60
+ * projects: [{
61
+ * projectId: withGit.id,
62
+ * label: "Source project",
63
+ * customAllow: [{
64
+ * from: {
65
+ * slugs: ["production"],
66
+ * },
67
+ * to: {
68
+ * slugs: [
69
+ * "preview",
70
+ * "production",
71
+ * ],
72
+ * },
73
+ * }],
74
+ * }],
75
+ * externalSources: [githubActionsTrustedSource],
76
+ * },
77
+ * });
33
78
  * ```
34
79
  *
35
80
  * ## Import
36
81
  *
37
- * If importing into a personal account, or with a team configured on
82
+ * The `pulumi import` command can be used, for example:
38
83
  *
84
+ * If importing into a personal account, or with a team configured on
39
85
  * the provider, simply use the project ID.
40
- *
41
- * - project_id can be found in the project `settings` tab in the Vercel UI.
86
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
42
87
  *
43
88
  * ```sh
44
89
  * $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
45
90
  * ```
46
91
  *
47
- * Alternatively, you can import via the team_id and project_id.
48
- *
49
- * - team_id can be found in the team `settings` tab in the Vercel UI.
50
- *
51
- * - project_id can be found in the project `settings` tab in the Vercel UI.
92
+ * Alternatively, you can import via the teamId and project_id.
93
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
94
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
52
95
  *
53
96
  * ```sh
54
97
  * $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -113,8 +156,6 @@ class Project extends pulumi.CustomResource {
113
156
  resourceInputs["previewDeploymentSuffix"] = state?.previewDeploymentSuffix;
114
157
  resourceInputs["previewDeploymentsDisabled"] = state?.previewDeploymentsDisabled;
115
158
  resourceInputs["prioritiseProductionBuilds"] = state?.prioritiseProductionBuilds;
116
- resourceInputs["protectionBypassForAutomation"] = state?.protectionBypassForAutomation;
117
- resourceInputs["protectionBypassForAutomationSecret"] = state?.protectionBypassForAutomationSecret;
118
159
  resourceInputs["publicSource"] = state?.publicSource;
119
160
  resourceInputs["resourceConfig"] = state?.resourceConfig;
120
161
  resourceInputs["rootDirectory"] = state?.rootDirectory;
@@ -122,6 +163,7 @@ class Project extends pulumi.CustomResource {
122
163
  resourceInputs["skewProtection"] = state?.skewProtection;
123
164
  resourceInputs["teamId"] = state?.teamId;
124
165
  resourceInputs["trustedIps"] = state?.trustedIps;
166
+ resourceInputs["trustedSources"] = state?.trustedSources;
125
167
  resourceInputs["vercelAuthentication"] = state?.vercelAuthentication;
126
168
  }
127
169
  else {
@@ -157,8 +199,6 @@ class Project extends pulumi.CustomResource {
157
199
  resourceInputs["previewDeploymentSuffix"] = args?.previewDeploymentSuffix;
158
200
  resourceInputs["previewDeploymentsDisabled"] = args?.previewDeploymentsDisabled;
159
201
  resourceInputs["prioritiseProductionBuilds"] = args?.prioritiseProductionBuilds;
160
- resourceInputs["protectionBypassForAutomation"] = args?.protectionBypassForAutomation;
161
- resourceInputs["protectionBypassForAutomationSecret"] = args?.protectionBypassForAutomationSecret ? pulumi.secret(args.protectionBypassForAutomationSecret) : undefined;
162
202
  resourceInputs["publicSource"] = args?.publicSource;
163
203
  resourceInputs["resourceConfig"] = args?.resourceConfig;
164
204
  resourceInputs["rootDirectory"] = args?.rootDirectory;
@@ -166,11 +206,10 @@ class Project extends pulumi.CustomResource {
166
206
  resourceInputs["skewProtection"] = args?.skewProtection;
167
207
  resourceInputs["teamId"] = args?.teamId;
168
208
  resourceInputs["trustedIps"] = args?.trustedIps;
209
+ resourceInputs["trustedSources"] = args?.trustedSources;
169
210
  resourceInputs["vercelAuthentication"] = args?.vercelAuthentication;
170
211
  }
171
212
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
172
- const secretOpts = { additionalSecretOutputs: ["protectionBypassForAutomationSecret"] };
173
- opts = pulumi.mergeOptions(opts, secretOpts);
174
213
  super(Project.__pulumiType, name, resourceInputs, opts);
175
214
  }
176
215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AE,aAAa,CAAC;YACtD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;SACvE;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;;AArSL,0BAsSC;AAxRG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
package/projectCrons.d.ts CHANGED
@@ -26,19 +26,18 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  *
27
27
  * ## Import
28
28
  *
29
- * If importing with a team configured on the provider, simply use the project ID.
29
+ * The `pulumi import` command can be used, for example:
30
30
  *
31
- * - project_id can be found in the project `settings` tab in the Vercel UI.
31
+ * If importing with a team configured on the provider, simply use the project ID.
32
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
32
33
  *
33
34
  * ```sh
34
35
  * $ pulumi import vercel:index/projectCrons:ProjectCrons example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
35
36
  * ```
36
37
  *
37
- * Alternatively, you can import via the team_id and project_id.
38
- *
39
- * - team_id can be found in the team `settings` tab in the Vercel UI.
40
- *
41
- * - project_id can be found in the project `settings` tab in the Vercel UI.
38
+ * Alternatively, you can import via the teamId and project_id.
39
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
40
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
42
41
  *
43
42
  * ```sh
44
43
  * $ pulumi import vercel:index/projectCrons:ProjectCrons example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
package/projectCrons.js CHANGED
@@ -32,19 +32,18 @@ const utilities = require("./utilities");
32
32
  *
33
33
  * ## Import
34
34
  *
35
- * If importing with a team configured on the provider, simply use the project ID.
35
+ * The `pulumi import` command can be used, for example:
36
36
  *
37
- * - project_id can be found in the project `settings` tab in the Vercel UI.
37
+ * If importing with a team configured on the provider, simply use the project ID.
38
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
38
39
  *
39
40
  * ```sh
40
41
  * $ pulumi import vercel:index/projectCrons:ProjectCrons example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
41
42
  * ```
42
43
  *
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.
44
+ * Alternatively, you can import via the teamId and project_id.
45
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
46
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
48
47
  *
49
48
  * ```sh
50
49
  * $ pulumi import vercel:index/projectCrons:ProjectCrons example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -1 +1 @@
1
- {"version":3,"file":"projectCrons.js","sourceRoot":"","sources":["../projectCrons.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;Q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AAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAvEL,oCAwEC;AA1DG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
@@ -1,5 +1,13 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
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
+ * > Note that deleting a Deployment Retention will not update the settings in the project, it will only prevent it from being managed via Terraform.
10
+ *
3
11
  * ## Example Usage
4
12
  *
5
13
  * ```typescript
@@ -27,11 +35,11 @@ import * as pulumi from "@pulumi/pulumi";
27
35
  *
28
36
  * ## Import
29
37
  *
30
- * You can import via the team_id and project_id.
31
- *
32
- * - team_id can be found in the team `settings` tab in the Vercel UI.
38
+ * The `pulumi import` command can be used, for example:
33
39
  *
34
- * - project_id can be found in the project `settings` tab in the Vercel UI.
40
+ * You can import via the teamId and project_id.
41
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
42
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
35
43
  *
36
44
  * ```sh
37
45
  * $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -6,6 +6,14 @@ exports.ProjectDeploymentRetention = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
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
+ * > Note that deleting a Deployment Retention will not update the settings in the project, it will only prevent it from being managed via Terraform.
16
+ *
9
17
  * ## Example Usage
10
18
  *
11
19
  * ```typescript
@@ -33,11 +41,11 @@ const utilities = require("./utilities");
33
41
  *
34
42
  * ## Import
35
43
  *
36
- * You can import via the team_id and project_id.
37
- *
38
- * - team_id can be found in the team `settings` tab in the Vercel UI.
44
+ * The `pulumi import` command can be used, for example:
39
45
  *
40
- * - project_id can be found in the project `settings` tab in the Vercel UI.
46
+ * You can import via the teamId and project_id.
47
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
48
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
41
49
  *
42
50
  * ```sh
43
51
  * $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -1 +1 @@
1
- {"version":3,"file":"projectDe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AAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAtFL,gEAuFC;AAzEG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
@@ -31,21 +31,19 @@ import * as pulumi from "@pulumi/pulumi";
31
31
  *
32
32
  * ## Import
33
33
  *
34
- * If importing into a personal account, or with a team configured on
34
+ * The `pulumi import` command can be used, for example:
35
35
  *
36
+ * If importing into a personal account, or with a team configured on
36
37
  * the provider, simply use the project ID and domain.
37
- *
38
- * - project_id can be found in the project `settings` tab in the Vercel UI.
38
+ * - projectId 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
- * Alternatively, you can import via the team_id, project_id and domain name.
45
- *
46
- * - team_id can be found in the team `settings` tab in the Vercel UI.
47
- *
48
- * - project_id can be found in the project `settings` tab in the Vercel UI.
44
+ * Alternatively, you can import via the team_id, projectId and domain name.
45
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
46
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
49
47
  *
50
48
  * ```sh
51
49
  * $ pulumi import vercel:index/projectDomain:ProjectDomain example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
package/projectDomain.js CHANGED
@@ -37,21 +37,19 @@ const utilities = require("./utilities");
37
37
  *
38
38
  * ## Import
39
39
  *
40
- * If importing into a personal account, or with a team configured on
40
+ * The `pulumi import` command can be used, for example:
41
41
  *
42
+ * If importing into a personal account, or with a team configured on
42
43
  * the provider, simply use the project ID and domain.
43
- *
44
- * - project_id can be found in the project `settings` tab in the Vercel UI.
44
+ * - projectId 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
- * Alternatively, you can import via the team_id, project_id and domain name.
51
- *
52
- * - team_id can be found in the team `settings` tab in the Vercel UI.
53
- *
54
- * - project_id can be found in the project `settings` tab in the Vercel UI.
50
+ * Alternatively, you can import via the team_id, projectId and domain name.
51
+ * - teamId can be found in the team `settings` tab in the Vercel UI.
52
+ * - projectId can be found in the project `settings` tab in the Vercel UI.
55
53
  *
56
54
  * ```sh
57
55
  * $ pulumi import vercel:index/projectDomain:ProjectDomain example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx/example.com
@@ -1 +1 @@
1
- {"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE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