@pulumiverse/vercel 1.11.0 → 1.14.2
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/deployment.d.ts +3 -3
- package/getAlias.js +5 -1
- package/getAlias.js.map +1 -1
- package/getAttackChallengeMode.js +5 -1
- package/getAttackChallengeMode.js.map +1 -1
- package/getDeployment.js +5 -1
- package/getDeployment.js.map +1 -1
- package/getEdgeConfig.js +5 -1
- package/getEdgeConfig.js.map +1 -1
- package/getEdgeConfigSchema.js +5 -1
- package/getEdgeConfigSchema.js.map +1 -1
- package/getEdgeConfigToken.js +6 -1
- package/getEdgeConfigToken.js.map +1 -1
- package/getEndpointVerification.js +5 -1
- package/getEndpointVerification.js.map +1 -1
- package/getFile.js +4 -1
- package/getFile.js.map +1 -1
- package/getLogDrain.js +6 -1
- package/getLogDrain.js.map +1 -1
- package/getPrebuiltProject.js +4 -1
- package/getPrebuiltProject.js.map +1 -1
- package/getProject.d.ts +8 -0
- package/getProject.js +5 -1
- package/getProject.js.map +1 -1
- package/getProjectDeploymentRetention.d.ts +76 -0
- package/getProjectDeploymentRetention.js +38 -0
- package/getProjectDeploymentRetention.js.map +1 -0
- package/getProjectDirectory.js +4 -1
- package/getProjectDirectory.js.map +1 -1
- package/getProjectFunctionCpu.d.ts +4 -0
- package/getProjectFunctionCpu.js +9 -1
- package/getProjectFunctionCpu.js.map +1 -1
- package/getSharedEnvironmentVariable.js +8 -1
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +9 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +24 -0
- package/project.js +4 -0
- package/project.js.map +1 -1
- package/projectDeploymentRetention.d.ts +159 -0
- package/projectDeploymentRetention.js +113 -0
- package/projectDeploymentRetention.js.map +1 -0
- package/projectFunctionCpu.d.ts +2 -0
- package/projectFunctionCpu.js +2 -0
- package/projectFunctionCpu.js.map +1 -1
- package/types/input.d.ts +16 -0
- package/types/output.d.ts +32 -0
package/deployment.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
51
51
|
*/
|
|
52
52
|
readonly projectSettings: pulumi.Output<outputs.DeploymentProjectSettings | undefined>;
|
|
53
53
|
/**
|
|
54
|
-
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `
|
|
54
|
+
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
|
|
55
55
|
*/
|
|
56
56
|
readonly ref: pulumi.Output<string | undefined>;
|
|
57
57
|
/**
|
|
@@ -109,7 +109,7 @@ export interface DeploymentState {
|
|
|
109
109
|
*/
|
|
110
110
|
projectSettings?: pulumi.Input<inputs.DeploymentProjectSettings>;
|
|
111
111
|
/**
|
|
112
|
-
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `
|
|
112
|
+
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
|
|
113
113
|
*/
|
|
114
114
|
ref?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
@@ -155,7 +155,7 @@ export interface DeploymentArgs {
|
|
|
155
155
|
*/
|
|
156
156
|
projectSettings?: pulumi.Input<inputs.DeploymentProjectSettings>;
|
|
157
157
|
/**
|
|
158
|
-
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `
|
|
158
|
+
* The branch or commit hash that should be deployed. Note this will only work if the project is configured to use a Git repository. Required if `files` is not set.
|
|
159
159
|
*/
|
|
160
160
|
ref?: pulumi.Input<string>;
|
|
161
161
|
/**
|
package/getAlias.js
CHANGED
|
@@ -24,7 +24,11 @@ exports.getAlias = getAlias;
|
|
|
24
24
|
* An Alias allows a `vercel.Deployment` to be accessed through a different URL.
|
|
25
25
|
*/
|
|
26
26
|
function getAliasOutput(args, opts) {
|
|
27
|
-
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
+
return pulumi.runtime.invokeOutput("vercel:index/getAlias:getAlias", {
|
|
29
|
+
"alias": args.alias,
|
|
30
|
+
"teamId": args.teamId,
|
|
31
|
+
}, opts);
|
|
28
32
|
}
|
|
29
33
|
exports.getAliasOutput = getAliasOutput;
|
|
30
34
|
//# sourceMappingURL=getAlias.js.map
|
package/getAlias.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlias.js","sourceRoot":"","sources":["../getAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getAlias.js","sourceRoot":"","sources":["../getAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAqCD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
|
@@ -46,7 +46,11 @@ exports.getAttackChallengeMode = getAttackChallengeMode;
|
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
48
|
function getAttackChallengeModeOutput(args, opts) {
|
|
49
|
-
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("vercel:index/getAttackChallengeMode:getAttackChallengeMode", {
|
|
51
|
+
"projectId": args.projectId,
|
|
52
|
+
"teamId": args.teamId,
|
|
53
|
+
}, opts);
|
|
50
54
|
}
|
|
51
55
|
exports.getAttackChallengeModeOutput = getAttackChallengeModeOutput;
|
|
52
56
|
//# sourceMappingURL=getAttackChallengeMode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAttackChallengeMode.js","sourceRoot":"","sources":["../getAttackChallengeMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getAttackChallengeMode.js","sourceRoot":"","sources":["../getAttackChallengeMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAqCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|
package/getDeployment.js
CHANGED
|
@@ -46,7 +46,11 @@ exports.getDeployment = getDeployment;
|
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
48
|
function getDeploymentOutput(args, opts) {
|
|
49
|
-
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("vercel:index/getDeployment:getDeployment", {
|
|
51
|
+
"id": args.id,
|
|
52
|
+
"teamId": args.teamId,
|
|
53
|
+
}, opts);
|
|
50
54
|
}
|
|
51
55
|
exports.getDeploymentOutput = getDeploymentOutput;
|
|
52
56
|
//# sourceMappingURL=getDeployment.js.map
|
package/getDeployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAiDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/getEdgeConfig.js
CHANGED
|
@@ -46,7 +46,11 @@ exports.getEdgeConfig = getEdgeConfig;
|
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
48
|
function getEdgeConfigOutput(args, opts) {
|
|
49
|
-
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfig:getEdgeConfig", {
|
|
51
|
+
"id": args.id,
|
|
52
|
+
"teamId": args.teamId,
|
|
53
|
+
}, opts);
|
|
50
54
|
}
|
|
51
55
|
exports.getEdgeConfigOutput = getEdgeConfigOutput;
|
|
52
56
|
//# sourceMappingURL=getEdgeConfig.js.map
|
package/getEdgeConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getEdgeConfig.js","sourceRoot":"","sources":["../getEdgeConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAiCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/getEdgeConfigSchema.js
CHANGED
|
@@ -42,7 +42,11 @@ exports.getEdgeConfigSchema = getEdgeConfigSchema;
|
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
function getEdgeConfigSchemaOutput(args, opts) {
|
|
45
|
-
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigSchema:getEdgeConfigSchema", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
"teamId": args.teamId,
|
|
49
|
+
}, opts);
|
|
46
50
|
}
|
|
47
51
|
exports.getEdgeConfigSchemaOutput = getEdgeConfigSchemaOutput;
|
|
48
52
|
//# sourceMappingURL=getEdgeConfigSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getEdgeConfigSchema.js","sourceRoot":"","sources":["../getEdgeConfigSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
package/getEdgeConfigToken.js
CHANGED
|
@@ -53,7 +53,12 @@ exports.getEdgeConfigToken = getEdgeConfigToken;
|
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
55
|
function getEdgeConfigTokenOutput(args, opts) {
|
|
56
|
-
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
57
|
+
return pulumi.runtime.invokeOutput("vercel:index/getEdgeConfigToken:getEdgeConfigToken", {
|
|
58
|
+
"edgeConfigId": args.edgeConfigId,
|
|
59
|
+
"teamId": args.teamId,
|
|
60
|
+
"token": args.token,
|
|
61
|
+
}, opts);
|
|
57
62
|
}
|
|
58
63
|
exports.getEdgeConfigTokenOutput = getEdgeConfigTokenOutput;
|
|
59
64
|
//# sourceMappingURL=getEdgeConfigToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEdgeConfigToken.js","sourceRoot":"","sources":["../getEdgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getEdgeConfigToken.js","sourceRoot":"","sources":["../getEdgeConfigToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAiDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC"}
|
|
@@ -38,7 +38,11 @@ exports.getEndpointVerification = getEndpointVerification;
|
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
function getEndpointVerificationOutput(args, opts) {
|
|
41
|
-
|
|
41
|
+
args = args || {};
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("vercel:index/getEndpointVerification:getEndpointVerification", {
|
|
44
|
+
"teamId": args.teamId,
|
|
45
|
+
}, opts);
|
|
42
46
|
}
|
|
43
47
|
exports.getEndpointVerificationOutput = getEndpointVerificationOutput;
|
|
44
48
|
//# sourceMappingURL=getEndpointVerification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEndpointVerification.js","sourceRoot":"","sources":["../getEndpointVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getEndpointVerification.js","sourceRoot":"","sources":["../getEndpointVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
|
package/getFile.js
CHANGED
|
@@ -61,7 +61,10 @@ exports.getFile = getFile;
|
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
63
|
function getFileOutput(args, opts) {
|
|
64
|
-
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
65
|
+
return pulumi.runtime.invokeOutput("vercel:index/getFile:getFile", {
|
|
66
|
+
"path": args.path,
|
|
67
|
+
}, opts);
|
|
65
68
|
}
|
|
66
69
|
exports.getFileOutput = getFileOutput;
|
|
67
70
|
//# sourceMappingURL=getFile.js.map
|
package/getFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getFile.js","sourceRoot":"","sources":["../getFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
package/getLogDrain.js
CHANGED
|
@@ -51,7 +51,12 @@ exports.getLogDrain = getLogDrain;
|
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
function getLogDrainOutput(args, opts) {
|
|
54
|
-
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invokeOutput("vercel:index/getLogDrain:getLogDrain", {
|
|
56
|
+
"endpoint": args.endpoint,
|
|
57
|
+
"id": args.id,
|
|
58
|
+
"teamId": args.teamId,
|
|
59
|
+
}, opts);
|
|
55
60
|
}
|
|
56
61
|
exports.getLogDrainOutput = getLogDrainOutput;
|
|
57
62
|
//# sourceMappingURL=getLogDrain.js.map
|
package/getLogDrain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLogDrain.js","sourceRoot":"","sources":["../getLogDrain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getLogDrain.js","sourceRoot":"","sources":["../getLogDrain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AA6DD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC"}
|
package/getPrebuiltProject.js
CHANGED
|
@@ -13,7 +13,10 @@ function getPrebuiltProject(args, opts) {
|
|
|
13
13
|
}
|
|
14
14
|
exports.getPrebuiltProject = getPrebuiltProject;
|
|
15
15
|
function getPrebuiltProjectOutput(args, opts) {
|
|
16
|
-
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
+
return pulumi.runtime.invokeOutput("vercel:index/getPrebuiltProject:getPrebuiltProject", {
|
|
18
|
+
"path": args.path,
|
|
19
|
+
}, opts);
|
|
17
20
|
}
|
|
18
21
|
exports.getPrebuiltProjectOutput = getPrebuiltProjectOutput;
|
|
19
22
|
//# sourceMappingURL=getPrebuiltProject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrebuiltProject.js","sourceRoot":"","sources":["../getPrebuiltProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getPrebuiltProject.js","sourceRoot":"","sources":["../getPrebuiltProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC;AAuBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC"}
|
package/getProject.d.ts
CHANGED
|
@@ -105,6 +105,10 @@ export interface GetProjectResult {
|
|
|
105
105
|
* The name of the project.
|
|
106
106
|
*/
|
|
107
107
|
readonly name: string;
|
|
108
|
+
/**
|
|
109
|
+
* Configuration for OpenID Connect (OIDC) tokens.
|
|
110
|
+
*/
|
|
111
|
+
readonly oidcTokenConfig: outputs.GetProjectOidcTokenConfig;
|
|
108
112
|
/**
|
|
109
113
|
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
110
114
|
*/
|
|
@@ -133,6 +137,10 @@ export interface GetProjectResult {
|
|
|
133
137
|
* Specifies whether the source code and logs of the deployments for this project should be public or not.
|
|
134
138
|
*/
|
|
135
139
|
readonly publicSource: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Resource Configuration for the project.
|
|
142
|
+
*/
|
|
143
|
+
readonly resourceConfig: outputs.GetProjectResourceConfig;
|
|
136
144
|
/**
|
|
137
145
|
* The name of a directory or relative path to the source code of your project. When null is used it will default to the project root.
|
|
138
146
|
*/
|
package/getProject.js
CHANGED
|
@@ -52,7 +52,11 @@ exports.getProject = getProject;
|
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
54
|
function getProjectOutput(args, opts) {
|
|
55
|
-
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
+
return pulumi.runtime.invokeOutput("vercel:index/getProject:getProject", {
|
|
57
|
+
"name": args.name,
|
|
58
|
+
"teamId": args.teamId,
|
|
59
|
+
}, opts);
|
|
56
60
|
}
|
|
57
61
|
exports.getProjectOutput = getProjectOutput;
|
|
58
62
|
//# sourceMappingURL=getProject.js.map
|
package/getProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getProject.js","sourceRoot":"","sources":["../getProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAqJD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Project Deployment Retention datasource.
|
|
4
|
+
*
|
|
5
|
+
* A Project Deployment Retention datasource details information about 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
|
+
export declare function getProjectDeploymentRetention(args: GetProjectDeploymentRetentionArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectDeploymentRetentionResult>;
|
|
10
|
+
/**
|
|
11
|
+
* A collection of arguments for invoking getProjectDeploymentRetention.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetProjectDeploymentRetentionArgs {
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the Project for the retention policy
|
|
16
|
+
*/
|
|
17
|
+
projectId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the Vercel team.
|
|
20
|
+
*/
|
|
21
|
+
teamId?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A collection of values returned by getProjectDeploymentRetention.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetProjectDeploymentRetentionResult {
|
|
27
|
+
/**
|
|
28
|
+
* The retention period for canceled deployments.
|
|
29
|
+
*/
|
|
30
|
+
readonly expirationCanceled: string;
|
|
31
|
+
/**
|
|
32
|
+
* The retention period for errored deployments.
|
|
33
|
+
*/
|
|
34
|
+
readonly expirationErrored: string;
|
|
35
|
+
/**
|
|
36
|
+
* The retention period for preview deployments.
|
|
37
|
+
*/
|
|
38
|
+
readonly expirationPreview: string;
|
|
39
|
+
/**
|
|
40
|
+
* The retention period for production deployments.
|
|
41
|
+
*/
|
|
42
|
+
readonly expirationProduction: string;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of this resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the Project for the retention policy
|
|
49
|
+
*/
|
|
50
|
+
readonly projectId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the Vercel team.
|
|
53
|
+
*/
|
|
54
|
+
readonly teamId: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Provides a Project Deployment Retention datasource.
|
|
58
|
+
*
|
|
59
|
+
* A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
|
|
60
|
+
*
|
|
61
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
62
|
+
*/
|
|
63
|
+
export declare function getProjectDeploymentRetentionOutput(args: GetProjectDeploymentRetentionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectDeploymentRetentionResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getProjectDeploymentRetention.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetProjectDeploymentRetentionOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the Project for the retention policy
|
|
70
|
+
*/
|
|
71
|
+
projectId: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the Vercel team.
|
|
74
|
+
*/
|
|
75
|
+
teamId?: pulumi.Input<string>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.getProjectDeploymentRetentionOutput = exports.getProjectDeploymentRetention = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Project Deployment Retention datasource.
|
|
10
|
+
*
|
|
11
|
+
* A Project Deployment Retention datasource details information about 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
|
+
function getProjectDeploymentRetention(args, opts) {
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
+
return pulumi.runtime.invoke("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
|
|
18
|
+
"projectId": args.projectId,
|
|
19
|
+
"teamId": args.teamId,
|
|
20
|
+
}, opts);
|
|
21
|
+
}
|
|
22
|
+
exports.getProjectDeploymentRetention = getProjectDeploymentRetention;
|
|
23
|
+
/**
|
|
24
|
+
* Provides a Project Deployment Retention datasource.
|
|
25
|
+
*
|
|
26
|
+
* A Project Deployment Retention datasource details information about Deployment Retention on a Vercel Project.
|
|
27
|
+
*
|
|
28
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
29
|
+
*/
|
|
30
|
+
function getProjectDeploymentRetentionOutput(args, opts) {
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invokeOutput("vercel:index/getProjectDeploymentRetention:getProjectDeploymentRetention", {
|
|
33
|
+
"projectId": args.projectId,
|
|
34
|
+
"teamId": args.teamId,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getProjectDeploymentRetentionOutput = getProjectDeploymentRetentionOutput;
|
|
38
|
+
//# sourceMappingURL=getProjectDeploymentRetention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getProjectDeploymentRetention.js","sourceRoot":"","sources":["../getProjectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AAiDD;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC"}
|
package/getProjectDirectory.js
CHANGED
|
@@ -13,7 +13,10 @@ function getProjectDirectory(args, opts) {
|
|
|
13
13
|
}
|
|
14
14
|
exports.getProjectDirectory = getProjectDirectory;
|
|
15
15
|
function getProjectDirectoryOutput(args, opts) {
|
|
16
|
-
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
+
return pulumi.runtime.invokeOutput("vercel:index/getProjectDirectory:getProjectDirectory", {
|
|
18
|
+
"path": args.path,
|
|
19
|
+
}, opts);
|
|
17
20
|
}
|
|
18
21
|
exports.getProjectDirectoryOutput = getProjectDirectoryOutput;
|
|
19
22
|
//# sourceMappingURL=getProjectDirectory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectDirectory.js","sourceRoot":"","sources":["../getProjectDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getProjectDirectory.js","sourceRoot":"","sources":["../getProjectDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAuBD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
|
|
4
|
+
*
|
|
3
5
|
* Provides information about a Project's Function CPU setting.
|
|
4
6
|
*
|
|
5
7
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
|
@@ -54,6 +56,8 @@ export interface GetProjectFunctionCpuResult {
|
|
|
54
56
|
readonly teamId: string;
|
|
55
57
|
}
|
|
56
58
|
/**
|
|
59
|
+
* > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
|
|
60
|
+
*
|
|
57
61
|
* Provides information about a Project's Function CPU setting.
|
|
58
62
|
*
|
|
59
63
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
package/getProjectFunctionCpu.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
|
|
10
|
+
*
|
|
9
11
|
* Provides information about a Project's Function CPU setting.
|
|
10
12
|
*
|
|
11
13
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
|
@@ -33,6 +35,8 @@ function getProjectFunctionCpu(args, opts) {
|
|
|
33
35
|
}
|
|
34
36
|
exports.getProjectFunctionCpu = getProjectFunctionCpu;
|
|
35
37
|
/**
|
|
38
|
+
* > This data source has been deprecated and no longer works. Please use the `vercel.Project` data source and its `resourceConfig` attribute instead.
|
|
39
|
+
*
|
|
36
40
|
* Provides information about a Project's Function CPU setting.
|
|
37
41
|
*
|
|
38
42
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
|
@@ -52,7 +56,11 @@ exports.getProjectFunctionCpu = getProjectFunctionCpu;
|
|
|
52
56
|
* ```
|
|
53
57
|
*/
|
|
54
58
|
function getProjectFunctionCpuOutput(args, opts) {
|
|
55
|
-
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
60
|
+
return pulumi.runtime.invokeOutput("vercel:index/getProjectFunctionCpu:getProjectFunctionCpu", {
|
|
61
|
+
"projectId": args.projectId,
|
|
62
|
+
"teamId": args.teamId,
|
|
63
|
+
}, opts);
|
|
56
64
|
}
|
|
57
65
|
exports.getProjectFunctionCpuOutput = getProjectFunctionCpuOutput;
|
|
58
66
|
//# sourceMappingURL=getProjectFunctionCpu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProjectFunctionCpu.js","sourceRoot":"","sources":["../getProjectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getProjectFunctionCpu.js","sourceRoot":"","sources":["../getProjectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAqCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -67,7 +67,14 @@ exports.getSharedEnvironmentVariable = getSharedEnvironmentVariable;
|
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
69
|
function getSharedEnvironmentVariableOutput(args, opts) {
|
|
70
|
-
|
|
70
|
+
args = args || {};
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
72
|
+
return pulumi.runtime.invokeOutput("vercel:index/getSharedEnvironmentVariable:getSharedEnvironmentVariable", {
|
|
73
|
+
"id": args.id,
|
|
74
|
+
"key": args.key,
|
|
75
|
+
"targets": args.targets,
|
|
76
|
+
"teamId": args.teamId,
|
|
77
|
+
}, opts);
|
|
71
78
|
}
|
|
72
79
|
exports.getSharedEnvironmentVariableOutput = getSharedEnvironmentVariableOutput;
|
|
73
80
|
//# sourceMappingURL=getSharedEnvironmentVariable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSharedEnvironmentVariable.js","sourceRoot":"","sources":["../getSharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF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IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gFASC"}
|
package/index.d.ts
CHANGED
|
@@ -52,6 +52,9 @@ export declare const getPrebuiltProjectOutput: typeof import("./getPrebuiltProje
|
|
|
52
52
|
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
|
53
53
|
export declare const getProject: typeof import("./getProject").getProject;
|
|
54
54
|
export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
|
|
55
|
+
export { GetProjectDeploymentRetentionArgs, GetProjectDeploymentRetentionResult, GetProjectDeploymentRetentionOutputArgs } from "./getProjectDeploymentRetention";
|
|
56
|
+
export declare const getProjectDeploymentRetention: typeof import("./getProjectDeploymentRetention").getProjectDeploymentRetention;
|
|
57
|
+
export declare const getProjectDeploymentRetentionOutput: typeof import("./getProjectDeploymentRetention").getProjectDeploymentRetentionOutput;
|
|
55
58
|
export { GetProjectDirectoryArgs, GetProjectDirectoryResult, GetProjectDirectoryOutputArgs } from "./getProjectDirectory";
|
|
56
59
|
export declare const getProjectDirectory: typeof import("./getProjectDirectory").getProjectDirectory;
|
|
57
60
|
export declare const getProjectDirectoryOutput: typeof import("./getProjectDirectory").getProjectDirectoryOutput;
|
|
@@ -67,6 +70,9 @@ export declare const LogDrain: typeof import("./logDrain").LogDrain;
|
|
|
67
70
|
export { ProjectArgs, ProjectState } from "./project";
|
|
68
71
|
export type Project = import("./project").Project;
|
|
69
72
|
export declare const Project: typeof import("./project").Project;
|
|
73
|
+
export { ProjectDeploymentRetentionArgs, ProjectDeploymentRetentionState } from "./projectDeploymentRetention";
|
|
74
|
+
export type ProjectDeploymentRetention = import("./projectDeploymentRetention").ProjectDeploymentRetention;
|
|
75
|
+
export declare const ProjectDeploymentRetention: typeof import("./projectDeploymentRetention").ProjectDeploymentRetention;
|
|
70
76
|
export { ProjectDomainArgs, ProjectDomainState } from "./projectDomain";
|
|
71
77
|
export type ProjectDomain = import("./projectDomain").ProjectDomain;
|
|
72
78
|
export declare const ProjectDomain: typeof import("./projectDomain").ProjectDomain;
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.types = exports.config = exports.Webhook = exports.SharedEnvironmentVariable = exports.Provider = exports.ProjectFunctionCpu = exports.ProjectEnvironmentVariable = exports.ProjectDomain = exports.Project = exports.LogDrain = exports.getSharedEnvironmentVariableOutput = exports.getSharedEnvironmentVariable = exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = exports.getProjectDirectoryOutput = exports.getProjectDirectory = exports.getProjectOutput = exports.getProject = exports.getPrebuiltProjectOutput = exports.getPrebuiltProject = exports.getLogDrainOutput = exports.getLogDrain = exports.getFileOutput = exports.getFile = exports.getEndpointVerificationOutput = exports.getEndpointVerification = exports.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = exports.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = exports.getEdgeConfigOutput = exports.getEdgeConfig = exports.getDeploymentOutput = exports.getDeployment = exports.getAttackChallengeModeOutput = exports.getAttackChallengeMode = exports.getAliasOutput = exports.getAlias = exports.EdgeConfigToken = exports.EdgeConfigSchema = exports.EdgeConfig = exports.DnsRecord = exports.Deployment = exports.AttackChallengeMode = exports.Alias = void 0;
|
|
5
|
+
exports.types = exports.config = exports.Webhook = exports.SharedEnvironmentVariable = exports.Provider = exports.ProjectFunctionCpu = exports.ProjectEnvironmentVariable = exports.ProjectDomain = exports.ProjectDeploymentRetention = exports.Project = exports.LogDrain = exports.getSharedEnvironmentVariableOutput = exports.getSharedEnvironmentVariable = exports.getProjectFunctionCpuOutput = exports.getProjectFunctionCpu = exports.getProjectDirectoryOutput = exports.getProjectDirectory = exports.getProjectDeploymentRetentionOutput = exports.getProjectDeploymentRetention = exports.getProjectOutput = exports.getProject = exports.getPrebuiltProjectOutput = exports.getPrebuiltProject = exports.getLogDrainOutput = exports.getLogDrain = exports.getFileOutput = exports.getFile = exports.getEndpointVerificationOutput = exports.getEndpointVerification = exports.getEdgeConfigTokenOutput = exports.getEdgeConfigToken = exports.getEdgeConfigSchemaOutput = exports.getEdgeConfigSchema = exports.getEdgeConfigOutput = exports.getEdgeConfig = exports.getDeploymentOutput = exports.getDeployment = exports.getAttackChallengeModeOutput = exports.getAttackChallengeMode = exports.getAliasOutput = exports.getAlias = exports.EdgeConfigToken = exports.EdgeConfigSchema = exports.EdgeConfig = exports.DnsRecord = exports.Deployment = exports.AttackChallengeMode = exports.Alias = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Alias = null;
|
|
@@ -52,6 +52,9 @@ utilities.lazyLoad(exports, ["getPrebuiltProject", "getPrebuiltProjectOutput"],
|
|
|
52
52
|
exports.getProject = null;
|
|
53
53
|
exports.getProjectOutput = null;
|
|
54
54
|
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
|
|
55
|
+
exports.getProjectDeploymentRetention = null;
|
|
56
|
+
exports.getProjectDeploymentRetentionOutput = null;
|
|
57
|
+
utilities.lazyLoad(exports, ["getProjectDeploymentRetention", "getProjectDeploymentRetentionOutput"], () => require("./getProjectDeploymentRetention"));
|
|
55
58
|
exports.getProjectDirectory = null;
|
|
56
59
|
exports.getProjectDirectoryOutput = null;
|
|
57
60
|
utilities.lazyLoad(exports, ["getProjectDirectory", "getProjectDirectoryOutput"], () => require("./getProjectDirectory"));
|
|
@@ -65,6 +68,8 @@ exports.LogDrain = null;
|
|
|
65
68
|
utilities.lazyLoad(exports, ["LogDrain"], () => require("./logDrain"));
|
|
66
69
|
exports.Project = null;
|
|
67
70
|
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
|
|
71
|
+
exports.ProjectDeploymentRetention = null;
|
|
72
|
+
utilities.lazyLoad(exports, ["ProjectDeploymentRetention"], () => require("./projectDeploymentRetention"));
|
|
68
73
|
exports.ProjectDomain = null;
|
|
69
74
|
utilities.lazyLoad(exports, ["ProjectDomain"], () => require("./projectDomain"));
|
|
70
75
|
exports.ProjectEnvironmentVariable = null;
|
|
@@ -104,6 +109,8 @@ const _module = {
|
|
|
104
109
|
return new exports.LogDrain(name, undefined, { urn });
|
|
105
110
|
case "vercel:index/project:Project":
|
|
106
111
|
return new exports.Project(name, undefined, { urn });
|
|
112
|
+
case "vercel:index/projectDeploymentRetention:ProjectDeploymentRetention":
|
|
113
|
+
return new exports.ProjectDeploymentRetention(name, undefined, { urn });
|
|
107
114
|
case "vercel:index/projectDomain:ProjectDomain":
|
|
108
115
|
return new exports.ProjectDomain(name, undefined, { urn });
|
|
109
116
|
case "vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable":
|
|
@@ -128,6 +135,7 @@ pulumi.runtime.registerResourceModule("vercel", "index/edgeConfigSchema", _modul
|
|
|
128
135
|
pulumi.runtime.registerResourceModule("vercel", "index/edgeConfigToken", _module);
|
|
129
136
|
pulumi.runtime.registerResourceModule("vercel", "index/logDrain", _module);
|
|
130
137
|
pulumi.runtime.registerResourceModule("vercel", "index/project", _module);
|
|
138
|
+
pulumi.runtime.registerResourceModule("vercel", "index/projectDeploymentRetention", _module);
|
|
131
139
|
pulumi.runtime.registerResourceModule("vercel", "index/projectDomain", _module);
|
|
132
140
|
pulumi.runtime.registerResourceModule("vercel", "index/projectEnvironmentVariable", _module);
|
|
133
141
|
pulumi.runtime.registerResourceModule("vercel", "index/projectFunctionCpu", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE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E,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
package/project.d.ts
CHANGED
|
@@ -126,6 +126,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
126
126
|
* The desired name for the project.
|
|
127
127
|
*/
|
|
128
128
|
readonly name: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Configuration for OpenID Connect (OIDC) tokens.
|
|
131
|
+
*/
|
|
132
|
+
readonly oidcTokenConfig: pulumi.Output<outputs.ProjectOidcTokenConfig>;
|
|
129
133
|
/**
|
|
130
134
|
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
131
135
|
*/
|
|
@@ -158,6 +162,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
158
162
|
* By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
|
|
159
163
|
*/
|
|
160
164
|
readonly publicSource: pulumi.Output<boolean | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Resource Configuration for the project.
|
|
167
|
+
*/
|
|
168
|
+
readonly resourceConfig: pulumi.Output<outputs.ProjectResourceConfig>;
|
|
161
169
|
/**
|
|
162
170
|
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
163
171
|
*/
|
|
@@ -259,6 +267,10 @@ export interface ProjectState {
|
|
|
259
267
|
* The desired name for the project.
|
|
260
268
|
*/
|
|
261
269
|
name?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Configuration for OpenID Connect (OIDC) tokens.
|
|
272
|
+
*/
|
|
273
|
+
oidcTokenConfig?: pulumi.Input<inputs.ProjectOidcTokenConfig>;
|
|
262
274
|
/**
|
|
263
275
|
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
264
276
|
*/
|
|
@@ -291,6 +303,10 @@ export interface ProjectState {
|
|
|
291
303
|
* By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
|
|
292
304
|
*/
|
|
293
305
|
publicSource?: pulumi.Input<boolean>;
|
|
306
|
+
/**
|
|
307
|
+
* Resource Configuration for the project.
|
|
308
|
+
*/
|
|
309
|
+
resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
|
|
294
310
|
/**
|
|
295
311
|
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
296
312
|
*/
|
|
@@ -384,6 +400,10 @@ export interface ProjectArgs {
|
|
|
384
400
|
* The desired name for the project.
|
|
385
401
|
*/
|
|
386
402
|
name?: pulumi.Input<string>;
|
|
403
|
+
/**
|
|
404
|
+
* Configuration for OpenID Connect (OIDC) tokens.
|
|
405
|
+
*/
|
|
406
|
+
oidcTokenConfig?: pulumi.Input<inputs.ProjectOidcTokenConfig>;
|
|
387
407
|
/**
|
|
388
408
|
* Disable Deployment Protection for CORS preflight `OPTIONS` requests for a list of paths.
|
|
389
409
|
*/
|
|
@@ -412,6 +432,10 @@ export interface ProjectArgs {
|
|
|
412
432
|
* By default, visitors to the `/_logs` and `/_src` paths of your Production and Preview Deployments must log in with Vercel (requires being a member of your team) to see the Source, Logs and Deployment Status of your project. Setting `publicSource` to `true` disables this behaviour, meaning the Source, Logs and Deployment Status can be publicly viewed.
|
|
413
433
|
*/
|
|
414
434
|
publicSource?: pulumi.Input<boolean>;
|
|
435
|
+
/**
|
|
436
|
+
* Resource Configuration for the project.
|
|
437
|
+
*/
|
|
438
|
+
resourceConfig?: pulumi.Input<inputs.ProjectResourceConfig>;
|
|
415
439
|
/**
|
|
416
440
|
* The name of a directory or relative path to the source code of your project. If omitted, it will default to the project root.
|
|
417
441
|
*/
|
package/project.js
CHANGED
|
@@ -94,6 +94,7 @@ class Project extends pulumi.CustomResource {
|
|
|
94
94
|
resourceInputs["ignoreCommand"] = state ? state.ignoreCommand : undefined;
|
|
95
95
|
resourceInputs["installCommand"] = state ? state.installCommand : undefined;
|
|
96
96
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
97
|
+
resourceInputs["oidcTokenConfig"] = state ? state.oidcTokenConfig : undefined;
|
|
97
98
|
resourceInputs["optionsAllowlist"] = state ? state.optionsAllowlist : undefined;
|
|
98
99
|
resourceInputs["outputDirectory"] = state ? state.outputDirectory : undefined;
|
|
99
100
|
resourceInputs["passwordProtection"] = state ? state.passwordProtection : undefined;
|
|
@@ -102,6 +103,7 @@ class Project extends pulumi.CustomResource {
|
|
|
102
103
|
resourceInputs["protectionBypassForAutomation"] = state ? state.protectionBypassForAutomation : undefined;
|
|
103
104
|
resourceInputs["protectionBypassForAutomationSecret"] = state ? state.protectionBypassForAutomationSecret : undefined;
|
|
104
105
|
resourceInputs["publicSource"] = state ? state.publicSource : undefined;
|
|
106
|
+
resourceInputs["resourceConfig"] = state ? state.resourceConfig : undefined;
|
|
105
107
|
resourceInputs["rootDirectory"] = state ? state.rootDirectory : undefined;
|
|
106
108
|
resourceInputs["serverlessFunctionRegion"] = state ? state.serverlessFunctionRegion : undefined;
|
|
107
109
|
resourceInputs["skewProtection"] = state ? state.skewProtection : undefined;
|
|
@@ -127,6 +129,7 @@ class Project extends pulumi.CustomResource {
|
|
|
127
129
|
resourceInputs["ignoreCommand"] = args ? args.ignoreCommand : undefined;
|
|
128
130
|
resourceInputs["installCommand"] = args ? args.installCommand : undefined;
|
|
129
131
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
132
|
+
resourceInputs["oidcTokenConfig"] = args ? args.oidcTokenConfig : undefined;
|
|
130
133
|
resourceInputs["optionsAllowlist"] = args ? args.optionsAllowlist : undefined;
|
|
131
134
|
resourceInputs["outputDirectory"] = args ? args.outputDirectory : undefined;
|
|
132
135
|
resourceInputs["passwordProtection"] = args ? args.passwordProtection : undefined;
|
|
@@ -134,6 +137,7 @@ class Project extends pulumi.CustomResource {
|
|
|
134
137
|
resourceInputs["prioritiseProductionBuilds"] = args ? args.prioritiseProductionBuilds : undefined;
|
|
135
138
|
resourceInputs["protectionBypassForAutomation"] = args ? args.protectionBypassForAutomation : undefined;
|
|
136
139
|
resourceInputs["publicSource"] = args ? args.publicSource : undefined;
|
|
140
|
+
resourceInputs["resourceConfig"] = args ? args.resourceConfig : undefined;
|
|
137
141
|
resourceInputs["rootDirectory"] = args ? args.rootDirectory : undefined;
|
|
138
142
|
resourceInputs["serverlessFunctionRegion"] = args ? args.serverlessFunctionRegion : undefined;
|
|
139
143
|
resourceInputs["skewProtection"] = args ? args.skewProtection : undefined;
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,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CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,qCAAqC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7E;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;;AA/OL,0BAgPC;AAlOG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Project Deployment Retention resource.
|
|
4
|
+
*
|
|
5
|
+
* A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
|
|
6
|
+
*
|
|
7
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
14
|
+
*
|
|
15
|
+
* const example = new vercel.Project("example", {gitRepository: {
|
|
16
|
+
* type: "github",
|
|
17
|
+
* repo: "vercel/some-repo",
|
|
18
|
+
* }});
|
|
19
|
+
* // An unlimited deployment retention policy that will be created
|
|
20
|
+
* // for this project for all deployments.
|
|
21
|
+
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("exampleUnlimited", {
|
|
22
|
+
* projectId: example.id,
|
|
23
|
+
* teamId: example.teamId,
|
|
24
|
+
* expirationPreview: "unlimited",
|
|
25
|
+
* expirationProduction: "unlimited",
|
|
26
|
+
* expirationCanceled: "unlimited",
|
|
27
|
+
* expirationErrored: "unlimited",
|
|
28
|
+
* });
|
|
29
|
+
* // A customized deployment retention policy that will be created
|
|
30
|
+
* // for this project for all deployments.
|
|
31
|
+
* const exampleCustomized = new vercel.ProjectDeploymentRetention("exampleCustomized", {
|
|
32
|
+
* projectId: example.id,
|
|
33
|
+
* teamId: example.teamId,
|
|
34
|
+
* expirationPreview: "3m",
|
|
35
|
+
* expirationProduction: "1y",
|
|
36
|
+
* expirationCanceled: "1m",
|
|
37
|
+
* expirationErrored: "2m",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* You can import via the team_id and project_id.
|
|
44
|
+
*
|
|
45
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
46
|
+
*
|
|
47
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectDeploymentRetentionState, opts?: pulumi.CustomResourceOptions): ProjectDeploymentRetention;
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of ProjectDeploymentRetention. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj: any): obj is ProjectDeploymentRetention;
|
|
69
|
+
/**
|
|
70
|
+
* The retention period for canceled deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
71
|
+
*/
|
|
72
|
+
readonly expirationCanceled: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The retention period for errored deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
75
|
+
*/
|
|
76
|
+
readonly expirationErrored: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The retention period for preview deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
79
|
+
*/
|
|
80
|
+
readonly expirationPreview: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The retention period for production deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
83
|
+
*/
|
|
84
|
+
readonly expirationProduction: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the Project for the retention policy
|
|
87
|
+
*/
|
|
88
|
+
readonly projectId: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the Vercel team.
|
|
91
|
+
*/
|
|
92
|
+
readonly teamId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a ProjectDeploymentRetention resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: ProjectDeploymentRetentionArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering ProjectDeploymentRetention resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface ProjectDeploymentRetentionState {
|
|
106
|
+
/**
|
|
107
|
+
* The retention period for canceled deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
108
|
+
*/
|
|
109
|
+
expirationCanceled?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The retention period for errored deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
112
|
+
*/
|
|
113
|
+
expirationErrored?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The retention period for preview deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
116
|
+
*/
|
|
117
|
+
expirationPreview?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The retention period for production deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
120
|
+
*/
|
|
121
|
+
expirationProduction?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The ID of the Project for the retention policy
|
|
124
|
+
*/
|
|
125
|
+
projectId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the Vercel team.
|
|
128
|
+
*/
|
|
129
|
+
teamId?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a ProjectDeploymentRetention resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface ProjectDeploymentRetentionArgs {
|
|
135
|
+
/**
|
|
136
|
+
* The retention period for canceled deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
137
|
+
*/
|
|
138
|
+
expirationCanceled?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The retention period for errored deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
141
|
+
*/
|
|
142
|
+
expirationErrored?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The retention period for preview deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
145
|
+
*/
|
|
146
|
+
expirationPreview?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The retention period for production deployments. Should be one of '1m', '2m', '3m', '6m', '1y', 'unlimited'.
|
|
149
|
+
*/
|
|
150
|
+
expirationProduction?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The ID of the Project for the retention policy
|
|
153
|
+
*/
|
|
154
|
+
projectId: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The ID of the Vercel team.
|
|
157
|
+
*/
|
|
158
|
+
teamId?: pulumi.Input<string>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.ProjectDeploymentRetention = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Project Deployment Retention resource.
|
|
10
|
+
*
|
|
11
|
+
* A Project Deployment Retention resource defines an Deployment Retention on a Vercel Project.
|
|
12
|
+
*
|
|
13
|
+
* For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/security/deployment-retention).
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
20
|
+
*
|
|
21
|
+
* const example = new vercel.Project("example", {gitRepository: {
|
|
22
|
+
* type: "github",
|
|
23
|
+
* repo: "vercel/some-repo",
|
|
24
|
+
* }});
|
|
25
|
+
* // An unlimited deployment retention policy that will be created
|
|
26
|
+
* // for this project for all deployments.
|
|
27
|
+
* const exampleUnlimited = new vercel.ProjectDeploymentRetention("exampleUnlimited", {
|
|
28
|
+
* projectId: example.id,
|
|
29
|
+
* teamId: example.teamId,
|
|
30
|
+
* expirationPreview: "unlimited",
|
|
31
|
+
* expirationProduction: "unlimited",
|
|
32
|
+
* expirationCanceled: "unlimited",
|
|
33
|
+
* expirationErrored: "unlimited",
|
|
34
|
+
* });
|
|
35
|
+
* // A customized deployment retention policy that will be created
|
|
36
|
+
* // for this project for all deployments.
|
|
37
|
+
* const exampleCustomized = new vercel.ProjectDeploymentRetention("exampleCustomized", {
|
|
38
|
+
* projectId: example.id,
|
|
39
|
+
* teamId: example.teamId,
|
|
40
|
+
* expirationPreview: "3m",
|
|
41
|
+
* expirationProduction: "1y",
|
|
42
|
+
* expirationCanceled: "1m",
|
|
43
|
+
* expirationErrored: "2m",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* You can import via the team_id and project_id.
|
|
50
|
+
*
|
|
51
|
+
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
52
|
+
*
|
|
53
|
+
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
54
|
+
*
|
|
55
|
+
* ```sh
|
|
56
|
+
* $ pulumi import vercel:index/projectDeploymentRetention:ProjectDeploymentRetention example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
class ProjectDeploymentRetention extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing ProjectDeploymentRetention resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name, id, state, opts) {
|
|
70
|
+
return new ProjectDeploymentRetention(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of ProjectDeploymentRetention. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === ProjectDeploymentRetention.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
constructor(name, argsOrState, opts) {
|
|
83
|
+
let resourceInputs = {};
|
|
84
|
+
opts = opts || {};
|
|
85
|
+
if (opts.id) {
|
|
86
|
+
const state = argsOrState;
|
|
87
|
+
resourceInputs["expirationCanceled"] = state ? state.expirationCanceled : undefined;
|
|
88
|
+
resourceInputs["expirationErrored"] = state ? state.expirationErrored : undefined;
|
|
89
|
+
resourceInputs["expirationPreview"] = state ? state.expirationPreview : undefined;
|
|
90
|
+
resourceInputs["expirationProduction"] = state ? state.expirationProduction : undefined;
|
|
91
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
92
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
const args = argsOrState;
|
|
96
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'projectId'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["expirationCanceled"] = args ? args.expirationCanceled : undefined;
|
|
100
|
+
resourceInputs["expirationErrored"] = args ? args.expirationErrored : undefined;
|
|
101
|
+
resourceInputs["expirationPreview"] = args ? args.expirationPreview : undefined;
|
|
102
|
+
resourceInputs["expirationProduction"] = args ? args.expirationProduction : undefined;
|
|
103
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
104
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(ProjectDeploymentRetention.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ProjectDeploymentRetention = ProjectDeploymentRetention;
|
|
111
|
+
/** @internal */
|
|
112
|
+
ProjectDeploymentRetention.__pulumiType = 'vercel:index/projectDeploymentRetention:ProjectDeploymentRetention';
|
|
113
|
+
//# sourceMappingURL=projectDeploymentRetention.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectDeploymentRetention.js","sourceRoot":"","sources":["../projectDeploymentRetention.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;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ANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > This resource has been deprecated and no longer works. Please use the `vercel.Project` resource and its `resourceConfig` attribute instead.
|
|
4
|
+
*
|
|
3
5
|
* Provides a Function CPU resource for a Project.
|
|
4
6
|
*
|
|
5
7
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
package/projectFunctionCpu.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.ProjectFunctionCpu = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > This resource has been deprecated and no longer works. Please use the `vercel.Project` resource and its `resourceConfig` attribute instead.
|
|
10
|
+
*
|
|
9
11
|
* Provides a Function CPU resource for a Project.
|
|
10
12
|
*
|
|
11
13
|
* This controls the maximum amount of CPU utilization your Serverless Functions can use while executing. Standard is optimal for most frontend workloads. You can override this per function using the vercel.json file.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectFunctionCpu.js","sourceRoot":"","sources":["../projectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectFunctionCpu.js","sourceRoot":"","sources":["../projectFunctionCpu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,E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G,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvEL,gDAwEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -112,6 +112,12 @@ export interface ProjectGitRepositoryDeployHook {
|
|
|
112
112
|
*/
|
|
113
113
|
url?: pulumi.Input<string>;
|
|
114
114
|
}
|
|
115
|
+
export interface ProjectOidcTokenConfig {
|
|
116
|
+
/**
|
|
117
|
+
* 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.
|
|
118
|
+
*/
|
|
119
|
+
enabled: pulumi.Input<boolean>;
|
|
120
|
+
}
|
|
115
121
|
export interface ProjectOptionsAllowlist {
|
|
116
122
|
/**
|
|
117
123
|
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
@@ -134,6 +140,16 @@ export interface ProjectPasswordProtection {
|
|
|
134
140
|
*/
|
|
135
141
|
password: pulumi.Input<string>;
|
|
136
142
|
}
|
|
143
|
+
export interface ProjectResourceConfig {
|
|
144
|
+
/**
|
|
145
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
146
|
+
*/
|
|
147
|
+
functionDefaultCpuType?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The default timeout for Serverless Functions.
|
|
150
|
+
*/
|
|
151
|
+
functionDefaultTimeout?: pulumi.Input<number>;
|
|
152
|
+
}
|
|
137
153
|
export interface ProjectTrustedIps {
|
|
138
154
|
/**
|
|
139
155
|
* The allowed IP addressses and CIDR ranges with optional descriptions.
|
package/types/output.d.ts
CHANGED
|
@@ -111,6 +111,12 @@ export interface GetProjectGitRepositoryDeployHook {
|
|
|
111
111
|
*/
|
|
112
112
|
url: string;
|
|
113
113
|
}
|
|
114
|
+
export interface GetProjectOidcTokenConfig {
|
|
115
|
+
/**
|
|
116
|
+
* 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.
|
|
117
|
+
*/
|
|
118
|
+
enabled: boolean;
|
|
119
|
+
}
|
|
114
120
|
export interface GetProjectOptionsAllowlist {
|
|
115
121
|
/**
|
|
116
122
|
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
@@ -126,6 +132,16 @@ export interface GetProjectPasswordProtection {
|
|
|
126
132
|
*/
|
|
127
133
|
deploymentType: string;
|
|
128
134
|
}
|
|
135
|
+
export interface GetProjectResourceConfig {
|
|
136
|
+
/**
|
|
137
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
138
|
+
*/
|
|
139
|
+
functionDefaultCpuType: string;
|
|
140
|
+
/**
|
|
141
|
+
* The default timeout for Serverless Functions.
|
|
142
|
+
*/
|
|
143
|
+
functionDefaultTimeout: number;
|
|
144
|
+
}
|
|
129
145
|
export interface GetProjectTrustedIps {
|
|
130
146
|
/**
|
|
131
147
|
* The allowed IP addressses and CIDR ranges with optional descriptions.
|
|
@@ -222,6 +238,12 @@ export interface ProjectGitRepositoryDeployHook {
|
|
|
222
238
|
*/
|
|
223
239
|
url: string;
|
|
224
240
|
}
|
|
241
|
+
export interface ProjectOidcTokenConfig {
|
|
242
|
+
/**
|
|
243
|
+
* 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.
|
|
244
|
+
*/
|
|
245
|
+
enabled: boolean;
|
|
246
|
+
}
|
|
225
247
|
export interface ProjectOptionsAllowlist {
|
|
226
248
|
/**
|
|
227
249
|
* The allowed paths for the OPTIONS Allowlist. Incoming requests will bypass Deployment Protection if they have the method `OPTIONS` and **start with** one of the path values.
|
|
@@ -244,6 +266,16 @@ export interface ProjectPasswordProtection {
|
|
|
244
266
|
*/
|
|
245
267
|
password: string;
|
|
246
268
|
}
|
|
269
|
+
export interface ProjectResourceConfig {
|
|
270
|
+
/**
|
|
271
|
+
* The amount of CPU available to your Serverless Functions. Should be one of 'standard_legacy' (0.6vCPU), 'standard' (1vCPU) or 'performance' (1.7vCPUs).
|
|
272
|
+
*/
|
|
273
|
+
functionDefaultCpuType: string;
|
|
274
|
+
/**
|
|
275
|
+
* The default timeout for Serverless Functions.
|
|
276
|
+
*/
|
|
277
|
+
functionDefaultTimeout: number;
|
|
278
|
+
}
|
|
247
279
|
export interface ProjectTrustedIps {
|
|
248
280
|
/**
|
|
249
281
|
* The allowed IP addressses and CIDR ranges with optional descriptions.
|