@pulumiverse/vercel 1.15.0 → 2.9.0-alpha.1747137905
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessGroup.d.ts +35 -6
- package/accessGroup.js +32 -0
- package/accessGroup.js.map +1 -1
- package/accessGroupProject.d.ts +41 -6
- package/accessGroupProject.js +38 -0
- package/accessGroupProject.js.map +1 -1
- package/alias.d.ts +8 -6
- package/alias.js +5 -0
- package/alias.js.map +1 -1
- package/attackChallengeMode.d.ts +33 -6
- package/attackChallengeMode.js +30 -0
- package/attackChallengeMode.js.map +1 -1
- package/customEnvironment.d.ts +56 -6
- package/customEnvironment.js +53 -0
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +17 -34
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +135 -30
- package/dnsRecord.js +105 -0
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +54 -6
- package/edgeConfig.js +51 -0
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +50 -6
- package/edgeConfigItem.js +47 -0
- package/edgeConfigItem.js.map +1 -1
- package/edgeConfigSchema.d.ts +28 -6
- package/edgeConfigSchema.js +25 -0
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +62 -10
- package/edgeConfigToken.js +57 -0
- package/edgeConfigToken.js.map +1 -1
- package/firewallConfig.d.ts +9 -0
- package/firewallConfig.js +9 -0
- package/firewallConfig.js.map +1 -1
- package/getAccessGroup.d.ts +53 -0
- package/getAccessGroup.js +32 -0
- package/getAccessGroup.js.map +1 -1
- package/getAccessGroupProject.d.ts +70 -0
- package/getAccessGroupProject.js +40 -0
- package/getAccessGroupProject.js.map +1 -1
- package/getAlias.d.ts +34 -0
- package/getAlias.js +10 -0
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.d.ts +56 -0
- package/getAttackChallengeMode.js +32 -0
- package/getAttackChallengeMode.js.map +1 -1
- package/getCustomEnvironment.d.ts +76 -0
- package/getCustomEnvironment.js +40 -0
- package/getCustomEnvironment.js.map +1 -1
- package/getDeployment.d.ts +65 -0
- package/getDeployment.js +32 -0
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.d.ts +53 -0
- package/getEdgeConfig.js +32 -0
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigItem.d.ts +74 -0
- package/getEdgeConfigItem.js +44 -0
- package/getEdgeConfigItem.js.map +1 -1
- package/getEdgeConfigSchema.d.ts +49 -0
- package/getEdgeConfigSchema.js +28 -0
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.d.ts +74 -0
- package/getEdgeConfigToken.js +38 -0
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.d.ts +39 -0
- package/getEndpointVerification.js +24 -0
- package/getEndpointVerification.js.map +1 -1
- package/getFile.d.ts +58 -0
- package/getFile.js +52 -0
- package/getFile.js.map +1 -1
- package/getLogDrain.d.ts +81 -0
- package/getLogDrain.js +36 -0
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.d.ts +6 -0
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +147 -0
- package/getProject.js +36 -0
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +47 -0
- package/getProjectDeploymentRetention.js +14 -0
- package/getProjectDeploymentRetention.js.map +1 -1
- package/getProjectDirectory.d.ts +6 -0
- package/getProjectDirectory.js.map +1 -1
- package/getProjectMembers.d.ts +55 -0
- package/getProjectMembers.js +34 -0
- package/getProjectMembers.js.map +1 -1
- package/getSharedEnvironmentVariable.d.ts +106 -0
- package/getSharedEnvironmentVariable.js +58 -0
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +76 -0
- package/getTeamConfig.js +28 -0
- package/getTeamConfig.js.map +1 -1
- package/getTeamMember.d.ts +60 -0
- package/getTeamMember.js +30 -0
- package/getTeamMember.js.map +1 -1
- package/logDrain.d.ts +76 -42
- package/logDrain.js +58 -0
- package/logDrain.js.map +1 -1
- package/package.json +3 -2
- package/project.d.ts +94 -108
- package/project.js +49 -0
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +54 -0
- package/projectDeploymentRetention.js +54 -0
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +58 -12
- package/projectDomain.js +52 -0
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +94 -18
- package/projectEnvironmentVariable.js +85 -0
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +3 -0
- package/projectEnvironmentVariables.js +3 -0
- package/projectEnvironmentVariables.js.map +1 -1
- package/projectMembers.d.ts +26 -6
- package/projectMembers.js +23 -0
- package/projectMembers.js.map +1 -1
- package/sharedEnvironmentVariable.d.ts +53 -12
- package/sharedEnvironmentVariable.js +47 -0
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +6 -6
- package/teamConfig.js +3 -0
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +33 -18
- package/teamMember.js +24 -0
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +3 -3
- package/webhook.d.ts +43 -18
- package/webhook.js +35 -0
- package/webhook.js.map +1 -1
- package/package.json.bak +0 -27
package/project.d.ts
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
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("with_git", {
|
|
15
|
+
* name: "example-project-with-git",
|
|
16
|
+
* framework: "nextjs",
|
|
17
|
+
* gitRepository: {
|
|
18
|
+
* type: "github",
|
|
19
|
+
* repo: "vercel/some-repo",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* // A project that is not connected to a git repository.
|
|
23
|
+
* // Deployments will need to be created manually through
|
|
24
|
+
* // terraform, or via the vercel CLI.
|
|
25
|
+
* const example = new vercel.Project("example", {
|
|
26
|
+
* name: "example-project",
|
|
27
|
+
* framework: "nextjs",
|
|
28
|
+
* });
|
|
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
|
+
*/
|
|
4
53
|
export declare class Project extends pulumi.CustomResource {
|
|
5
54
|
/**
|
|
6
55
|
* Get an existing Project resource's state with the given name, ID, and optional extra
|
|
@@ -18,13 +67,11 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
18
67
|
*/
|
|
19
68
|
static isInstance(obj: any): obj is Project;
|
|
20
69
|
/**
|
|
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`
|
|
70
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
23
71
|
*/
|
|
24
72
|
readonly autoAssignCustomDomains: pulumi.Output<boolean>;
|
|
25
73
|
/**
|
|
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
|
|
74
|
+
* 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
|
|
28
75
|
*/
|
|
29
76
|
readonly automaticallyExposeSystemEnvironmentVariables: pulumi.Output<boolean>;
|
|
30
77
|
/**
|
|
@@ -52,8 +99,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
52
99
|
*/
|
|
53
100
|
readonly framework: pulumi.Output<string | undefined>;
|
|
54
101
|
/**
|
|
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.
|
|
102
|
+
* 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.
|
|
57
103
|
*/
|
|
58
104
|
readonly functionFailover: pulumi.Output<boolean>;
|
|
59
105
|
/**
|
|
@@ -61,27 +107,19 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
61
107
|
*/
|
|
62
108
|
readonly gitComments: pulumi.Output<outputs.ProjectGitComments | undefined>;
|
|
63
109
|
/**
|
|
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`.
|
|
110
|
+
* 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`.
|
|
66
111
|
*/
|
|
67
112
|
readonly gitForkProtection: pulumi.Output<boolean>;
|
|
68
113
|
/**
|
|
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.
|
|
114
|
+
* 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.
|
|
71
115
|
*/
|
|
72
116
|
readonly gitLfs: pulumi.Output<boolean>;
|
|
73
117
|
/**
|
|
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.
|
|
118
|
+
* 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.
|
|
79
119
|
*/
|
|
80
120
|
readonly gitRepository: pulumi.Output<outputs.ProjectGitRepository | undefined>;
|
|
81
121
|
/**
|
|
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.
|
|
122
|
+
* 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.
|
|
85
123
|
*/
|
|
86
124
|
readonly ignoreCommand: pulumi.Output<string | undefined>;
|
|
87
125
|
/**
|
|
@@ -109,8 +147,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
109
147
|
*/
|
|
110
148
|
readonly passwordProtection: pulumi.Output<outputs.ProjectPasswordProtection | undefined>;
|
|
111
149
|
/**
|
|
112
|
-
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
|
|
113
|
-
* behaviour).
|
|
150
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
114
151
|
*/
|
|
115
152
|
readonly previewComments: pulumi.Output<boolean | undefined>;
|
|
116
153
|
/**
|
|
@@ -118,19 +155,15 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
118
155
|
*/
|
|
119
156
|
readonly prioritiseProductionBuilds: pulumi.Output<boolean>;
|
|
120
157
|
/**
|
|
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.
|
|
158
|
+
* 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.
|
|
123
159
|
*/
|
|
124
160
|
readonly protectionBypassForAutomation: pulumi.Output<boolean | undefined>;
|
|
125
161
|
/**
|
|
126
|
-
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
|
|
127
|
-
* secret will be generated.
|
|
162
|
+
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
|
|
128
163
|
*/
|
|
129
164
|
readonly protectionBypassForAutomationSecret: pulumi.Output<string>;
|
|
130
165
|
/**
|
|
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.
|
|
166
|
+
* 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.
|
|
134
167
|
*/
|
|
135
168
|
readonly publicSource: pulumi.Output<boolean | undefined>;
|
|
136
169
|
/**
|
|
@@ -138,24 +171,19 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
138
171
|
*/
|
|
139
172
|
readonly resourceConfig: pulumi.Output<outputs.ProjectResourceConfig>;
|
|
140
173
|
/**
|
|
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.
|
|
174
|
+
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
143
175
|
*/
|
|
144
176
|
readonly rootDirectory: pulumi.Output<string | undefined>;
|
|
145
177
|
/**
|
|
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.
|
|
178
|
+
* 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.
|
|
149
179
|
*/
|
|
150
180
|
readonly serverlessFunctionRegion: pulumi.Output<string>;
|
|
151
181
|
/**
|
|
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.
|
|
182
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
154
183
|
*/
|
|
155
184
|
readonly skewProtection: pulumi.Output<string | undefined>;
|
|
156
185
|
/**
|
|
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.
|
|
186
|
+
* 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.
|
|
159
187
|
*/
|
|
160
188
|
readonly teamId: pulumi.Output<string>;
|
|
161
189
|
/**
|
|
@@ -180,13 +208,11 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
180
208
|
*/
|
|
181
209
|
export interface ProjectState {
|
|
182
210
|
/**
|
|
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`
|
|
211
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
185
212
|
*/
|
|
186
213
|
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
187
214
|
/**
|
|
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
|
|
215
|
+
* 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
|
|
190
216
|
*/
|
|
191
217
|
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
192
218
|
/**
|
|
@@ -214,8 +240,7 @@ export interface ProjectState {
|
|
|
214
240
|
*/
|
|
215
241
|
framework?: pulumi.Input<string>;
|
|
216
242
|
/**
|
|
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.
|
|
243
|
+
* 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.
|
|
219
244
|
*/
|
|
220
245
|
functionFailover?: pulumi.Input<boolean>;
|
|
221
246
|
/**
|
|
@@ -223,27 +248,19 @@ export interface ProjectState {
|
|
|
223
248
|
*/
|
|
224
249
|
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
225
250
|
/**
|
|
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`.
|
|
251
|
+
* 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`.
|
|
228
252
|
*/
|
|
229
253
|
gitForkProtection?: pulumi.Input<boolean>;
|
|
230
254
|
/**
|
|
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.
|
|
255
|
+
* 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.
|
|
233
256
|
*/
|
|
234
257
|
gitLfs?: pulumi.Input<boolean>;
|
|
235
258
|
/**
|
|
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.
|
|
259
|
+
* 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.
|
|
241
260
|
*/
|
|
242
261
|
gitRepository?: pulumi.Input<inputs.ProjectGitRepository>;
|
|
243
262
|
/**
|
|
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.
|
|
263
|
+
* 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.
|
|
247
264
|
*/
|
|
248
265
|
ignoreCommand?: pulumi.Input<string>;
|
|
249
266
|
/**
|
|
@@ -271,8 +288,7 @@ export interface ProjectState {
|
|
|
271
288
|
*/
|
|
272
289
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
273
290
|
/**
|
|
274
|
-
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
|
|
275
|
-
* behaviour).
|
|
291
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
276
292
|
*/
|
|
277
293
|
previewComments?: pulumi.Input<boolean>;
|
|
278
294
|
/**
|
|
@@ -280,19 +296,15 @@ export interface ProjectState {
|
|
|
280
296
|
*/
|
|
281
297
|
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
282
298
|
/**
|
|
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.
|
|
299
|
+
* 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.
|
|
285
300
|
*/
|
|
286
301
|
protectionBypassForAutomation?: pulumi.Input<boolean>;
|
|
287
302
|
/**
|
|
288
|
-
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
|
|
289
|
-
* secret will be generated.
|
|
303
|
+
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
|
|
290
304
|
*/
|
|
291
305
|
protectionBypassForAutomationSecret?: pulumi.Input<string>;
|
|
292
306
|
/**
|
|
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.
|
|
307
|
+
* 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.
|
|
296
308
|
*/
|
|
297
309
|
publicSource?: pulumi.Input<boolean>;
|
|
298
310
|
/**
|
|
@@ -300,24 +312,19 @@ export interface ProjectState {
|
|
|
300
312
|
*/
|
|
301
313
|
resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
|
|
302
314
|
/**
|
|
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.
|
|
315
|
+
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
305
316
|
*/
|
|
306
317
|
rootDirectory?: pulumi.Input<string>;
|
|
307
318
|
/**
|
|
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.
|
|
319
|
+
* 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.
|
|
311
320
|
*/
|
|
312
321
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
313
322
|
/**
|
|
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.
|
|
323
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
316
324
|
*/
|
|
317
325
|
skewProtection?: pulumi.Input<string>;
|
|
318
326
|
/**
|
|
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.
|
|
327
|
+
* 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.
|
|
321
328
|
*/
|
|
322
329
|
teamId?: pulumi.Input<string>;
|
|
323
330
|
/**
|
|
@@ -334,13 +341,11 @@ export interface ProjectState {
|
|
|
334
341
|
*/
|
|
335
342
|
export interface ProjectArgs {
|
|
336
343
|
/**
|
|
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`
|
|
344
|
+
* Automatically assign custom production domains after each Production deployment via merge to the production branch or Vercel CLI deploy with --prod. Defaults to `true`
|
|
339
345
|
*/
|
|
340
346
|
autoAssignCustomDomains?: pulumi.Input<boolean>;
|
|
341
347
|
/**
|
|
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
|
|
348
|
+
* 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
|
|
344
349
|
*/
|
|
345
350
|
automaticallyExposeSystemEnvironmentVariables?: pulumi.Input<boolean>;
|
|
346
351
|
/**
|
|
@@ -368,8 +373,7 @@ export interface ProjectArgs {
|
|
|
368
373
|
*/
|
|
369
374
|
framework?: pulumi.Input<string>;
|
|
370
375
|
/**
|
|
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.
|
|
376
|
+
* 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.
|
|
373
377
|
*/
|
|
374
378
|
functionFailover?: pulumi.Input<boolean>;
|
|
375
379
|
/**
|
|
@@ -377,27 +381,19 @@ export interface ProjectArgs {
|
|
|
377
381
|
*/
|
|
378
382
|
gitComments?: pulumi.Input<inputs.ProjectGitComments>;
|
|
379
383
|
/**
|
|
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`.
|
|
384
|
+
* 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`.
|
|
382
385
|
*/
|
|
383
386
|
gitForkProtection?: pulumi.Input<boolean>;
|
|
384
387
|
/**
|
|
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.
|
|
388
|
+
* 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.
|
|
387
389
|
*/
|
|
388
390
|
gitLfs?: pulumi.Input<boolean>;
|
|
389
391
|
/**
|
|
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.
|
|
392
|
+
* 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.
|
|
395
393
|
*/
|
|
396
394
|
gitRepository?: pulumi.Input<inputs.ProjectGitRepository>;
|
|
397
395
|
/**
|
|
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.
|
|
396
|
+
* 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.
|
|
401
397
|
*/
|
|
402
398
|
ignoreCommand?: pulumi.Input<string>;
|
|
403
399
|
/**
|
|
@@ -425,8 +421,7 @@ export interface ProjectArgs {
|
|
|
425
421
|
*/
|
|
426
422
|
passwordProtection?: pulumi.Input<inputs.ProjectPasswordProtection>;
|
|
427
423
|
/**
|
|
428
|
-
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default
|
|
429
|
-
* behaviour).
|
|
424
|
+
* Whether to enable comments on your Preview Deployments. If omitted, comments are controlled at the team level (default behaviour).
|
|
430
425
|
*/
|
|
431
426
|
previewComments?: pulumi.Input<boolean>;
|
|
432
427
|
/**
|
|
@@ -434,19 +429,15 @@ export interface ProjectArgs {
|
|
|
434
429
|
*/
|
|
435
430
|
prioritiseProductionBuilds?: pulumi.Input<boolean>;
|
|
436
431
|
/**
|
|
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.
|
|
432
|
+
* 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.
|
|
439
433
|
*/
|
|
440
434
|
protectionBypassForAutomation?: pulumi.Input<boolean>;
|
|
441
435
|
/**
|
|
442
|
-
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a
|
|
443
|
-
* secret will be generated.
|
|
436
|
+
* If `protectionBypassForAutomation` is enabled, optionally set this value to specify a 32 character secret, otherwise a secret will be generated.
|
|
444
437
|
*/
|
|
445
438
|
protectionBypassForAutomationSecret?: pulumi.Input<string>;
|
|
446
439
|
/**
|
|
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.
|
|
440
|
+
* 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.
|
|
450
441
|
*/
|
|
451
442
|
publicSource?: pulumi.Input<boolean>;
|
|
452
443
|
/**
|
|
@@ -454,24 +445,19 @@ export interface ProjectArgs {
|
|
|
454
445
|
*/
|
|
455
446
|
resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
|
|
456
447
|
/**
|
|
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.
|
|
448
|
+
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
459
449
|
*/
|
|
460
450
|
rootDirectory?: pulumi.Input<string>;
|
|
461
451
|
/**
|
|
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.
|
|
452
|
+
* 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.
|
|
465
453
|
*/
|
|
466
454
|
serverlessFunctionRegion?: pulumi.Input<string>;
|
|
467
455
|
/**
|
|
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.
|
|
456
|
+
* Ensures that outdated clients always fetch the correct version for a given deployment. This value defines how long Vercel keeps Skew Protection active.
|
|
470
457
|
*/
|
|
471
458
|
skewProtection?: pulumi.Input<string>;
|
|
472
459
|
/**
|
|
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.
|
|
460
|
+
* 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.
|
|
475
461
|
*/
|
|
476
462
|
teamId?: pulumi.Input<string>;
|
|
477
463
|
/**
|
package/project.js
CHANGED
|
@@ -5,6 +5,55 @@ 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("with_git", {
|
|
19
|
+
* name: "example-project-with-git",
|
|
20
|
+
* framework: "nextjs",
|
|
21
|
+
* gitRepository: {
|
|
22
|
+
* type: "github",
|
|
23
|
+
* repo: "vercel/some-repo",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* // A project that is not connected to a git repository.
|
|
27
|
+
* // Deployments will need to be created manually through
|
|
28
|
+
* // terraform, or via the vercel CLI.
|
|
29
|
+
* const example = new vercel.Project("example", {
|
|
30
|
+
* name: "example-project",
|
|
31
|
+
* framework: "nextjs",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* If importing into a personal account, or with a team configured on
|
|
38
|
+
*
|
|
39
|
+
* the provider, simply use the project ID.
|
|
40
|
+
*
|
|
41
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import vercel:index/project:Project example prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
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.
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import vercel:index/project:Project example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
8
57
|
class Project extends pulumi.CustomResource {
|
|
9
58
|
/**
|
|
10
59
|
* Get an existing Project resource's state with the given name, ID, and optional extra
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KA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C;AApOG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,4 +1,58 @@
|
|
|
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", {
|
|
16
|
+
* name: "example-project",
|
|
17
|
+
* gitRepository: {
|
|
18
|
+
* type: "github",
|
|
19
|
+
* repo: "vercel/some-repo",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* // An unlimited deployment retention policy that will be created
|
|
23
|
+
* // for this project for all deployments.
|
|
24
|
+
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("example_unlimited", {
|
|
25
|
+
* projectId: example.id,
|
|
26
|
+
* teamId: example.teamId,
|
|
27
|
+
* expirationPreview: "unlimited",
|
|
28
|
+
* expirationProduction: "unlimited",
|
|
29
|
+
* expirationCanceled: "unlimited",
|
|
30
|
+
* expirationErrored: "unlimited",
|
|
31
|
+
* });
|
|
32
|
+
* // A customized deployment retention policy that will be created
|
|
33
|
+
* // for this project for all deployments.
|
|
34
|
+
* const exampleCustomized = new vercel.ProjectDeploymentRetention("example_customized", {
|
|
35
|
+
* projectId: example.id,
|
|
36
|
+
* teamId: example.teamId,
|
|
37
|
+
* expirationPreview: "3m",
|
|
38
|
+
* expirationProduction: "1y",
|
|
39
|
+
* expirationCanceled: "1m",
|
|
40
|
+
* expirationErrored: "2m",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* You can import via the team_id and project_id.
|
|
47
|
+
*
|
|
48
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
49
|
+
*
|
|
50
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
2
56
|
export declare class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
3
57
|
/**
|
|
4
58
|
* Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra
|
|
@@ -5,6 +5,60 @@ 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", {
|
|
22
|
+
* name: "example-project",
|
|
23
|
+
* gitRepository: {
|
|
24
|
+
* type: "github",
|
|
25
|
+
* repo: "vercel/some-repo",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* // An unlimited deployment retention policy that will be created
|
|
29
|
+
* // for this project for all deployments.
|
|
30
|
+
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("example_unlimited", {
|
|
31
|
+
* projectId: example.id,
|
|
32
|
+
* teamId: example.teamId,
|
|
33
|
+
* expirationPreview: "unlimited",
|
|
34
|
+
* expirationProduction: "unlimited",
|
|
35
|
+
* expirationCanceled: "unlimited",
|
|
36
|
+
* expirationErrored: "unlimited",
|
|
37
|
+
* });
|
|
38
|
+
* // A customized deployment retention policy that will be created
|
|
39
|
+
* // for this project for all deployments.
|
|
40
|
+
* const exampleCustomized = new vercel.ProjectDeploymentRetention("example_customized", {
|
|
41
|
+
* projectId: example.id,
|
|
42
|
+
* teamId: example.teamId,
|
|
43
|
+
* expirationPreview: "3m",
|
|
44
|
+
* expirationProduction: "1y",
|
|
45
|
+
* expirationCanceled: "1m",
|
|
46
|
+
* expirationErrored: "2m",
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* You can import via the team_id and project_id.
|
|
53
|
+
*
|
|
54
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
55
|
+
*
|
|
56
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
8
62
|
class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
9
63
|
/**
|
|
10
64
|
* Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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