@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.
- package/accessGroup.d.ts +3 -2
- package/accessGroup.js +3 -2
- package/accessGroup.js.map +1 -1
- package/accessGroupProject.d.ts +4 -3
- package/accessGroupProject.js +4 -3
- package/accessGroupProject.js.map +1 -1
- package/attackChallengeMode.d.ts +4 -4
- package/attackChallengeMode.js +4 -4
- package/blobObject.d.ts +177 -0
- package/blobObject.js +89 -0
- package/blobObject.js.map +1 -0
- package/blobProjectConnection.d.ts +144 -0
- package/blobProjectConnection.js +105 -0
- package/blobProjectConnection.js.map +1 -0
- package/blobStore.d.ts +159 -0
- package/blobStore.js +100 -0
- package/blobStore.js.map +1 -0
- package/bulkRedirects.d.ts +135 -0
- package/bulkRedirects.js +114 -0
- package/bulkRedirects.js.map +1 -0
- package/customEnvironment.d.ts +7 -9
- package/customEnvironment.js +7 -9
- package/customEnvironment.js.map +1 -1
- package/deployment.d.ts +36 -0
- package/deployment.js +27 -0
- package/deployment.js.map +1 -1
- package/dnsRecord.d.ts +8 -12
- package/dnsRecord.js +8 -12
- package/dnsRecord.js.map +1 -1
- package/edgeConfig.d.ts +7 -9
- package/edgeConfig.js +7 -9
- package/edgeConfig.js.map +1 -1
- package/edgeConfigItem.d.ts +6 -10
- package/edgeConfigItem.js +6 -10
- package/edgeConfigItem.js.map +1 -1
- package/edgeConfigSchema.d.ts +6 -8
- package/edgeConfigSchema.js +6 -8
- package/edgeConfigSchema.js.map +1 -1
- package/edgeConfigToken.d.ts +7 -11
- package/edgeConfigToken.js +7 -11
- package/edgeConfigToken.js.map +1 -1
- package/featureFlagConfig.d.ts +167 -0
- package/featureFlagConfig.js +131 -0
- package/featureFlagConfig.js.map +1 -0
- package/featureFlagDefinition.d.ts +160 -0
- package/featureFlagDefinition.js +111 -0
- package/featureFlagDefinition.js.map +1 -0
- package/featureFlagSdkKey.d.ts +160 -0
- package/featureFlagSdkKey.js +120 -0
- package/featureFlagSdkKey.js.map +1 -0
- package/featureFlagSegment.d.ts +191 -0
- package/featureFlagSegment.js +126 -0
- package/featureFlagSegment.js.map +1 -0
- package/firewallBypass.d.ts +3 -2
- package/firewallBypass.js +3 -2
- package/firewallBypass.js.map +1 -1
- package/firewallConfig.d.ts +2 -0
- package/firewallConfig.js +2 -0
- package/firewallConfig.js.map +1 -1
- package/getBlobObject.d.ts +100 -0
- package/getBlobObject.js +32 -0
- package/getBlobObject.js.map +1 -0
- package/getBlobProjectConnections.d.ts +91 -0
- package/getBlobProjectConnections.js +64 -0
- package/getBlobProjectConnections.js.map +1 -0
- package/getBlobStore.d.ts +104 -0
- package/getBlobStore.js +54 -0
- package/getBlobStore.js.map +1 -0
- package/getBlobStoreSecrets.d.ts +80 -0
- package/getBlobStoreSecrets.js +54 -0
- package/getBlobStoreSecrets.js.map +1 -0
- package/getBlobStores.d.ts +63 -0
- package/getBlobStores.js +48 -0
- package/getBlobStores.js.map +1 -0
- package/getBulkRedirects.d.ts +97 -0
- package/getBulkRedirects.js +60 -0
- package/getBulkRedirects.js.map +1 -0
- package/getFeatureFlag.d.ts +121 -0
- package/getFeatureFlag.js +60 -0
- package/getFeatureFlag.js.map +1 -0
- package/getFeatureFlagSdkKey.d.ts +100 -0
- package/getFeatureFlagSdkKey.js +60 -0
- package/getFeatureFlagSdkKey.js.map +1 -0
- package/getFeatureFlagSegment.d.ts +113 -0
- package/getFeatureFlagSegment.js +60 -0
- package/getFeatureFlagSegment.js.map +1 -0
- package/getFile.d.ts +9 -0
- package/getFile.js.map +1 -1
- package/getPrebuiltProject.d.ts +51 -0
- package/getPrebuiltProject.js +42 -0
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +14 -4
- package/getProject.js.map +1 -1
- package/getProjectDirectory.d.ts +47 -0
- package/getProjectDirectory.js +38 -0
- package/getProjectDirectory.js.map +1 -1
- package/getProjectRoutes.d.ts +89 -0
- package/getProjectRoutes.js +62 -0
- package/getProjectRoutes.js.map +1 -0
- package/index.d.ts +63 -0
- package/index.js +88 -2
- package/index.js.map +1 -1
- package/logDrain.d.ts +6 -8
- package/logDrain.js +6 -8
- package/logDrain.js.map +1 -1
- package/microfrontendGroup.d.ts +4 -5
- package/microfrontendGroup.js +4 -5
- package/microfrontendGroup.js.map +1 -1
- package/microfrontendGroupMembership.d.ts +4 -7
- package/microfrontendGroupMembership.js +4 -7
- package/microfrontendGroupMembership.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +75 -38
- package/project.js +53 -14
- package/project.js.map +1 -1
- package/projectCrons.d.ts +6 -7
- package/projectCrons.js +6 -7
- package/projectCrons.js.map +1 -1
- package/projectDeploymentRetention.d.ts +12 -4
- package/projectDeploymentRetention.js +12 -4
- package/projectDeploymentRetention.js.map +1 -1
- package/projectDomain.d.ts +6 -8
- package/projectDomain.js +6 -8
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +24 -20
- package/projectEnvironmentVariable.js +23 -16
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +18 -5
- package/projectEnvironmentVariables.js +18 -5
- package/projectEnvironmentVariables.js.map +1 -1
- package/projectMembers.d.ts +6 -0
- package/projectMembers.js +6 -0
- package/projectMembers.js.map +1 -1
- package/projectProtectionBypass.d.ts +171 -0
- package/projectProtectionBypass.js +119 -0
- package/projectProtectionBypass.js.map +1 -0
- package/projectRoute.d.ts +219 -0
- package/projectRoute.js +148 -0
- package/projectRoute.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +28 -9
- package/sharedEnvironmentVariable.js +27 -5
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +3 -2
- package/teamConfig.js +3 -2
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +3 -1
- package/teamMember.js +3 -1
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +324 -4
- package/types/output.d.ts +705 -2
- package/userToken.d.ts +186 -0
- package/userToken.js +115 -0
- 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
|
-
*
|
|
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
|
|
44
|
-
*
|
|
45
|
-
* -
|
|
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 "
|
|
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
|
-
*
|
|
197
|
-
|
|
198
|
-
|
|
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 "
|
|
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
|
-
*
|
|
378
|
-
|
|
379
|
-
|
|
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 "
|
|
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
|
-
*
|
|
551
|
-
|
|
552
|
-
|
|
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
|
-
*
|
|
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
|
|
48
|
-
*
|
|
49
|
-
* -
|
|
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
|
}
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAiLD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,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,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
|
-
*
|
|
29
|
+
* The `pulumi import` command can be used, for example:
|
|
30
30
|
*
|
|
31
|
-
*
|
|
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
|
|
38
|
-
*
|
|
39
|
-
* -
|
|
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
|
-
*
|
|
35
|
+
* The `pulumi import` command can be used, for example:
|
|
36
36
|
*
|
|
37
|
-
*
|
|
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
|
|
44
|
-
*
|
|
45
|
-
* -
|
|
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
|
package/projectCrons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectCrons.js","sourceRoot":"","sources":["../projectCrons.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectCrons.js","sourceRoot":"","sources":["../projectCrons.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAA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AI,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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,iBAAiB,CAAC;YAC/D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,iBAAiB,CAAC;YAC/D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAyD,CAAC;YACvE,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,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"}
|
package/projectDomain.d.ts
CHANGED
|
@@ -31,21 +31,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
*
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
|
-
*
|
|
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,
|
|
45
|
-
*
|
|
46
|
-
* -
|
|
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
|
-
*
|
|
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,
|
|
51
|
-
*
|
|
52
|
-
* -
|
|
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
|
package/projectDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;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,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuCD,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