@pulumiverse/vercel 1.14.3 → 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 +6 -33
  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 +0 -9
  34. package/firewallConfig.js +0 -9
  35. package/firewallConfig.js.map +1 -1
  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 +45 -6
  98. package/index.js +63 -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 +109 -9
  132. package/types/output.d.ts +180 -8
  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
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class TeamMember extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing TeamMember resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamMemberState, opts?: pulumi.CustomResourceOptions): TeamMember;
15
+ /**
16
+ * Returns true if the given object is an instance of TeamMember. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is TeamMember;
20
+ /**
21
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
22
+ * specified. A set of access groups IDs that the user should be granted access to.
23
+ */
24
+ readonly accessGroups: pulumi.Output<string[]>;
25
+ /**
26
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
27
+ * specified. A set of projects that the user should be granted access to, along with their role in each project.
28
+ */
29
+ readonly projects: pulumi.Output<outputs.TeamMemberProject[]>;
30
+ /**
31
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
32
+ * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
33
+ */
34
+ readonly role: pulumi.Output<string>;
35
+ /**
36
+ * The ID of the existing Vercel Team.
37
+ */
38
+ readonly teamId: pulumi.Output<string>;
39
+ /**
40
+ * The ID of the user to add to the team.
41
+ */
42
+ readonly userId: pulumi.Output<string>;
43
+ /**
44
+ * Create a TeamMember resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args: TeamMemberArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * Input properties used for looking up and filtering TeamMember resources.
54
+ */
55
+ export interface TeamMemberState {
56
+ /**
57
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
58
+ * specified. A set of access groups IDs that the user should be granted access to.
59
+ */
60
+ accessGroups?: pulumi.Input<pulumi.Input<string>[]>;
61
+ /**
62
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
63
+ * specified. A set of projects that the user should be granted access to, along with their role in each project.
64
+ */
65
+ projects?: pulumi.Input<pulumi.Input<inputs.TeamMemberProject>[]>;
66
+ /**
67
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
68
+ * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
69
+ */
70
+ role?: pulumi.Input<string>;
71
+ /**
72
+ * The ID of the existing Vercel Team.
73
+ */
74
+ teamId?: pulumi.Input<string>;
75
+ /**
76
+ * The ID of the user to add to the team.
77
+ */
78
+ userId?: pulumi.Input<string>;
79
+ }
80
+ /**
81
+ * The set of arguments for constructing a TeamMember resource.
82
+ */
83
+ export interface TeamMemberArgs {
84
+ /**
85
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
86
+ * specified. A set of access groups IDs that the user should be granted access to.
87
+ */
88
+ accessGroups?: pulumi.Input<pulumi.Input<string>[]>;
89
+ /**
90
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
91
+ * specified. A set of projects that the user should be granted access to, along with their role in each project.
92
+ */
93
+ projects?: pulumi.Input<pulumi.Input<inputs.TeamMemberProject>[]>;
94
+ /**
95
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
96
+ * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
97
+ */
98
+ role: pulumi.Input<string>;
99
+ /**
100
+ * The ID of the existing Vercel Team.
101
+ */
102
+ teamId: pulumi.Input<string>;
103
+ /**
104
+ * The ID of the user to add to the team.
105
+ */
106
+ userId: pulumi.Input<string>;
107
+ }
package/teamMember.js ADDED
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.TeamMember = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class TeamMember extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing TeamMember resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new TeamMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of TeamMember. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === TeamMember.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["accessGroups"] = state ? state.accessGroups : undefined;
37
+ resourceInputs["projects"] = state ? state.projects : undefined;
38
+ resourceInputs["role"] = state ? state.role : undefined;
39
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
40
+ resourceInputs["userId"] = state ? state.userId : undefined;
41
+ }
42
+ else {
43
+ const args = argsOrState;
44
+ if ((!args || args.role === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'role'");
46
+ }
47
+ if ((!args || args.teamId === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'teamId'");
49
+ }
50
+ if ((!args || args.userId === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'userId'");
52
+ }
53
+ resourceInputs["accessGroups"] = args ? args.accessGroups : undefined;
54
+ resourceInputs["projects"] = args ? args.projects : undefined;
55
+ resourceInputs["role"] = args ? args.role : undefined;
56
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
57
+ resourceInputs["userId"] = args ? args.userId : undefined;
58
+ }
59
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
60
+ super(TeamMember.__pulumiType, name, resourceInputs, opts);
61
+ }
62
+ }
63
+ exports.TeamMember = TeamMember;
64
+ /** @internal */
65
+ TeamMember.__pulumiType = 'vercel:index/teamMember:TeamMember';
66
+ //# sourceMappingURL=teamMember.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teamMember.js","sourceRoot":"","sources":["../teamMember.ts"],"names":[],"mappings":"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"}
package/types/input.d.ts CHANGED
@@ -1,5 +1,15 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface CustomEnvironmentBranchTracking {
4
+ /**
5
+ * The pattern of the branch name to track.
6
+ */
7
+ pattern: pulumi.Input<string>;
8
+ /**
9
+ * How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
10
+ */
11
+ type: pulumi.Input<string>;
12
+ }
3
13
  export interface DeploymentProjectSettings {
4
14
  /**
5
15
  * The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
@@ -49,9 +59,6 @@ export interface FirewallConfigIpRulesRule {
49
59
  * Hosts to apply these rules to
50
60
  */
51
61
  hostname: pulumi.Input<string>;
52
- /**
53
- * The ID of this resource.
54
- */
55
62
  id?: pulumi.Input<string>;
56
63
  /**
57
64
  * IP or CIDR to block
@@ -164,9 +171,6 @@ export interface FirewallConfigRulesRule {
164
171
  */
165
172
  conditionGroups: pulumi.Input<pulumi.Input<inputs.FirewallConfigRulesRuleConditionGroup>[]>;
166
173
  description?: pulumi.Input<string>;
167
- /**
168
- * The ID of this resource.
169
- */
170
174
  id?: pulumi.Input<string>;
171
175
  /**
172
176
  * Name to identify the rule
@@ -183,7 +187,7 @@ export interface FirewallConfigRulesRuleAction {
183
187
  */
184
188
  actionDuration?: pulumi.Input<string>;
185
189
  /**
186
- * Behavior or a rate limiting action. Required if action is rate*limit
190
+ * Behavior or a rate limiting action. Required if action is rate_limit
187
191
  */
188
192
  rateLimit?: pulumi.Input<inputs.FirewallConfigRulesRuleActionRateLimit>;
189
193
  /**
@@ -240,6 +244,14 @@ export interface FirewallConfigRulesRuleConditionGroupCondition {
240
244
  value?: pulumi.Input<string>;
241
245
  }
242
246
  export interface ProjectEnvironment {
247
+ /**
248
+ * A comment explaining what the environment variable is for.
249
+ */
250
+ comment?: pulumi.Input<string>;
251
+ /**
252
+ * The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
253
+ */
254
+ customEnvironmentIds?: pulumi.Input<pulumi.Input<string>[]>;
243
255
  /**
244
256
  * The git branch of the Environment Variable.
245
257
  */
@@ -257,9 +269,43 @@ export interface ProjectEnvironment {
257
269
  */
258
270
  sensitive?: pulumi.Input<boolean>;
259
271
  /**
260
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
272
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
273
+ */
274
+ targets?: pulumi.Input<pulumi.Input<string>[]>;
275
+ /**
276
+ * The value of the Environment Variable.
277
+ */
278
+ value: pulumi.Input<string>;
279
+ }
280
+ export interface ProjectEnvironmentVariablesVariable {
281
+ /**
282
+ * A comment explaining what the environment variable is for.
283
+ */
284
+ comment?: pulumi.Input<string>;
285
+ /**
286
+ * The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
287
+ */
288
+ customEnvironmentIds?: pulumi.Input<pulumi.Input<string>[]>;
289
+ /**
290
+ * The git branch of the Environment Variable.
291
+ */
292
+ gitBranch?: pulumi.Input<string>;
293
+ /**
294
+ * The ID of the Environment Variable.
295
+ */
296
+ id?: pulumi.Input<string>;
297
+ /**
298
+ * The name of the Environment Variable.
299
+ */
300
+ key: pulumi.Input<string>;
301
+ /**
302
+ * Whether the Environment Variable is sensitive or not.
303
+ */
304
+ sensitive?: pulumi.Input<boolean>;
305
+ /**
306
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
261
307
  */
262
- targets: pulumi.Input<pulumi.Input<string>[]>;
308
+ targets?: pulumi.Input<pulumi.Input<string>[]>;
263
309
  /**
264
310
  * The value of the Environment Variable.
265
311
  */
@@ -311,11 +357,33 @@ export interface ProjectGitRepositoryDeployHook {
311
357
  */
312
358
  url?: pulumi.Input<string>;
313
359
  }
360
+ export interface ProjectMembersMember {
361
+ /**
362
+ * The email of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
363
+ */
364
+ email?: pulumi.Input<string>;
365
+ /**
366
+ * The role that the user should have in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
367
+ */
368
+ role: pulumi.Input<string>;
369
+ /**
370
+ * The ID of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
371
+ */
372
+ userId?: pulumi.Input<string>;
373
+ /**
374
+ * The username of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
375
+ */
376
+ username?: pulumi.Input<string>;
377
+ }
314
378
  export interface ProjectOidcTokenConfig {
315
379
  /**
316
380
  * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
317
381
  */
318
382
  enabled: pulumi.Input<boolean>;
383
+ /**
384
+ * Configures the URL of the `iss` claim. `team` = `https://oidc.vercel.com/[teamSlug]` `global` = `https://oidc.vercel.com`
385
+ */
386
+ issuerMode?: pulumi.Input<string>;
319
387
  }
320
388
  export interface ProjectOptionsAllowlist {
321
389
  /**
@@ -379,3 +447,35 @@ export interface ProjectVercelAuthentication {
379
447
  */
380
448
  deploymentType: pulumi.Input<string>;
381
449
  }
450
+ export interface TeamConfigRemoteCaching {
451
+ /**
452
+ * Indicates if Remote Caching is enabled.
453
+ */
454
+ enabled?: pulumi.Input<boolean>;
455
+ }
456
+ export interface TeamConfigSaml {
457
+ /**
458
+ * The ID of the access group to use for the team.
459
+ */
460
+ accessGroupId?: pulumi.Input<string>;
461
+ /**
462
+ * Indicates if SAML is enforced for the team.
463
+ */
464
+ enforced: pulumi.Input<boolean>;
465
+ /**
466
+ * Directory groups to role or access group mappings.
467
+ */
468
+ roles?: pulumi.Input<{
469
+ [key: string]: pulumi.Input<string>;
470
+ }>;
471
+ }
472
+ export interface TeamMemberProject {
473
+ /**
474
+ * The ID of the project that the user should be granted access to.
475
+ */
476
+ projectId: pulumi.Input<string>;
477
+ /**
478
+ * The role that the user should have in the project.
479
+ */
480
+ role: pulumi.Input<string>;
481
+ }
package/types/output.d.ts CHANGED
@@ -1,4 +1,14 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface CustomEnvironmentBranchTracking {
3
+ /**
4
+ * The pattern of the branch name to track.
5
+ */
6
+ pattern: string;
7
+ /**
8
+ * How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
9
+ */
10
+ type: string;
11
+ }
2
12
  export interface DeploymentProjectSettings {
3
13
  /**
4
14
  * The build command for this deployment. If omitted, this value will be taken from the project or automatically detected.
@@ -48,9 +58,6 @@ export interface FirewallConfigIpRulesRule {
48
58
  * Hosts to apply these rules to
49
59
  */
50
60
  hostname: string;
51
- /**
52
- * The ID of this resource.
53
- */
54
61
  id: string;
55
62
  /**
56
63
  * IP or CIDR to block
@@ -163,9 +170,6 @@ export interface FirewallConfigRulesRule {
163
170
  */
164
171
  conditionGroups: outputs.FirewallConfigRulesRuleConditionGroup[];
165
172
  description?: string;
166
- /**
167
- * The ID of this resource.
168
- */
169
173
  id: string;
170
174
  /**
171
175
  * Name to identify the rule
@@ -182,7 +186,7 @@ export interface FirewallConfigRulesRuleAction {
182
186
  */
183
187
  actionDuration?: string;
184
188
  /**
185
- * Behavior or a rate limiting action. Required if action is rate*limit
189
+ * Behavior or a rate limiting action. Required if action is rate_limit
186
190
  */
187
191
  rateLimit?: outputs.FirewallConfigRulesRuleActionRateLimit;
188
192
  /**
@@ -238,7 +242,25 @@ export interface FirewallConfigRulesRuleConditionGroupCondition {
238
242
  type: string;
239
243
  value?: string;
240
244
  }
245
+ export interface GetCustomEnvironmentBranchTracking {
246
+ /**
247
+ * The pattern of the branch name to track.
248
+ */
249
+ pattern: string;
250
+ /**
251
+ * How a branch name should be matched against the pattern. Must be one of 'startsWith', 'endsWith' or 'equals'.
252
+ */
253
+ type: string;
254
+ }
241
255
  export interface GetProjectEnvironment {
256
+ /**
257
+ * A comment explaining what the environment variable is for.
258
+ */
259
+ comment: string;
260
+ /**
261
+ * The IDs of Custom Environments that the Environment Variable should be present on.
262
+ */
263
+ customEnvironmentIds: string[];
242
264
  /**
243
265
  * The git branch of the environment variable.
244
266
  */
@@ -310,11 +332,33 @@ export interface GetProjectGitRepositoryDeployHook {
310
332
  */
311
333
  url: string;
312
334
  }
335
+ export interface GetProjectMembersMember {
336
+ /**
337
+ * The email of the user.
338
+ */
339
+ email: string;
340
+ /**
341
+ * The role of the user in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
342
+ */
343
+ role: string;
344
+ /**
345
+ * The ID of the user.
346
+ */
347
+ userId: string;
348
+ /**
349
+ * The username of the user.
350
+ */
351
+ username: string;
352
+ }
313
353
  export interface GetProjectOidcTokenConfig {
314
354
  /**
315
355
  * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
316
356
  */
317
357
  enabled: boolean;
358
+ /**
359
+ * Configures the URL of the `iss` claim. `team` = `https://oidc.vercel.com/[teamSlug]` `global` = `https://oidc.vercel.com`
360
+ */
361
+ issuerMode: string;
318
362
  }
319
363
  export interface GetProjectOptionsAllowlist {
320
364
  /**
@@ -365,7 +409,47 @@ export interface GetProjectVercelAuthentication {
365
409
  */
366
410
  deploymentType: string;
367
411
  }
412
+ export interface GetTeamConfigRemoteCaching {
413
+ /**
414
+ * Indicates if Remote Caching is enabled.
415
+ */
416
+ enabled: boolean;
417
+ }
418
+ export interface GetTeamConfigSaml {
419
+ /**
420
+ * The ID of the access group to use for the team.
421
+ */
422
+ accessGroupId: string;
423
+ /**
424
+ * Indicates if SAML is enforced for the team.
425
+ */
426
+ enforced: boolean;
427
+ /**
428
+ * Directory groups to role or access group mappings.
429
+ */
430
+ roles: {
431
+ [key: string]: string;
432
+ };
433
+ }
434
+ export interface GetTeamMemberProject {
435
+ /**
436
+ * The ID of the project that the user should be granted access to.
437
+ */
438
+ projectId: string;
439
+ /**
440
+ * The role that the user should have in the project.
441
+ */
442
+ role: string;
443
+ }
368
444
  export interface ProjectEnvironment {
445
+ /**
446
+ * A comment explaining what the environment variable is for.
447
+ */
448
+ comment: string;
449
+ /**
450
+ * The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
451
+ */
452
+ customEnvironmentIds: string[];
369
453
  /**
370
454
  * The git branch of the Environment Variable.
371
455
  */
@@ -383,7 +467,41 @@ export interface ProjectEnvironment {
383
467
  */
384
468
  sensitive: boolean;
385
469
  /**
386
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
470
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
471
+ */
472
+ targets: string[];
473
+ /**
474
+ * The value of the Environment Variable.
475
+ */
476
+ value: string;
477
+ }
478
+ export interface ProjectEnvironmentVariablesVariable {
479
+ /**
480
+ * A comment explaining what the environment variable is for.
481
+ */
482
+ comment: string;
483
+ /**
484
+ * The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
485
+ */
486
+ customEnvironmentIds: string[];
487
+ /**
488
+ * The git branch of the Environment Variable.
489
+ */
490
+ gitBranch?: string;
491
+ /**
492
+ * The ID of the Environment Variable.
493
+ */
494
+ id: string;
495
+ /**
496
+ * The name of the Environment Variable.
497
+ */
498
+ key: string;
499
+ /**
500
+ * Whether the Environment Variable is sensitive or not.
501
+ */
502
+ sensitive: boolean;
503
+ /**
504
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
387
505
  */
388
506
  targets: string[];
389
507
  /**
@@ -437,11 +555,33 @@ export interface ProjectGitRepositoryDeployHook {
437
555
  */
438
556
  url: string;
439
557
  }
558
+ export interface ProjectMembersMember {
559
+ /**
560
+ * The email of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
561
+ */
562
+ email: string;
563
+ /**
564
+ * The role that the user should have in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
565
+ */
566
+ role: string;
567
+ /**
568
+ * The ID of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
569
+ */
570
+ userId: string;
571
+ /**
572
+ * The username of the user to add to the project. Exactly one of `userId`, `email`, or `username` must be specified.
573
+ */
574
+ username: string;
575
+ }
440
576
  export interface ProjectOidcTokenConfig {
441
577
  /**
442
578
  * When true, Vercel issued OpenID Connect (OIDC) tokens will be available on the compute environments. See https://vercel.com/docs/security/secure-backend-access/oidc for more information.
443
579
  */
444
580
  enabled: boolean;
581
+ /**
582
+ * Configures the URL of the `iss` claim. `team` = `https://oidc.vercel.com/[teamSlug]` `global` = `https://oidc.vercel.com`
583
+ */
584
+ issuerMode: string;
445
585
  }
446
586
  export interface ProjectOptionsAllowlist {
447
587
  /**
@@ -505,3 +645,35 @@ export interface ProjectVercelAuthentication {
505
645
  */
506
646
  deploymentType: string;
507
647
  }
648
+ export interface TeamConfigRemoteCaching {
649
+ /**
650
+ * Indicates if Remote Caching is enabled.
651
+ */
652
+ enabled: boolean;
653
+ }
654
+ export interface TeamConfigSaml {
655
+ /**
656
+ * The ID of the access group to use for the team.
657
+ */
658
+ accessGroupId?: string;
659
+ /**
660
+ * Indicates if SAML is enforced for the team.
661
+ */
662
+ enforced: boolean;
663
+ /**
664
+ * Directory groups to role or access group mappings.
665
+ */
666
+ roles?: {
667
+ [key: string]: string;
668
+ };
669
+ }
670
+ export interface TeamMemberProject {
671
+ /**
672
+ * The ID of the project that the user should be granted access to.
673
+ */
674
+ projectId: string;
675
+ /**
676
+ * The role that the user should have in the project.
677
+ */
678
+ role: string;
679
+ }