@pulumiverse/vercel 1.14.3 → 2.9.0-alpha.1747136220
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 +92 -0
- package/accessGroup.js +83 -0
- package/accessGroup.js.map +1 -0
- package/accessGroupProject.d.ts +122 -0
- package/accessGroupProject.js +102 -0
- package/accessGroupProject.js.map +1 -0
- package/customEnvironment.d.ts +150 -0
- package/customEnvironment.js +112 -0
- package/customEnvironment.js.map +1 -0
- package/edgeConfigItem.d.ts +131 -0
- package/edgeConfigItem.js +111 -0
- package/edgeConfigItem.js.map +1 -0
- package/getAccessGroup.d.ts +78 -0
- package/getAccessGroup.js +56 -0
- package/getAccessGroup.js.map +1 -0
- package/getAccessGroupProject.d.ts +102 -0
- package/getAccessGroupProject.js +66 -0
- package/getAccessGroupProject.js.map +1 -0
- package/getCustomEnvironment.d.ts +107 -0
- package/getCustomEnvironment.js +66 -0
- package/getCustomEnvironment.js.map +1 -0
- package/getEdgeConfigItem.d.ts +102 -0
- package/getEdgeConfigItem.js +70 -0
- package/getEdgeConfigItem.js.map +1 -0
- package/getProject.d.ts +7 -5
- package/getProject.js +2 -4
- package/getProject.js.map +1 -1
- package/getProjectMembers.d.ts +85 -0
- package/getProjectMembers.js +58 -0
- package/getProjectMembers.js.map +1 -0
- package/getSharedEnvironmentVariable.d.ts +4 -0
- package/getSharedEnvironmentVariable.js.map +1 -1
- package/getTeamConfig.d.ts +111 -0
- package/getTeamConfig.js +50 -0
- package/getTeamConfig.js.map +1 -0
- package/getTeamMember.d.ts +89 -0
- package/getTeamMember.js +54 -0
- package/getTeamMember.js.map +1 -0
- package/index.d.ts +45 -6
- package/index.js +63 -9
- package/index.js.map +1 -1
- package/logDrain.d.ts +2 -2
- package/logDrain.js +2 -2
- package/package.json +3 -2
- package/project.d.ts +9 -5
- package/project.js +3 -1
- package/project.js.map +1 -1
- package/projectDomain.d.ts +12 -0
- package/projectDomain.js +2 -0
- package/projectDomain.js.map +1 -1
- package/projectEnvironmentVariable.d.ts +31 -4
- package/projectEnvironmentVariable.js +7 -3
- package/projectEnvironmentVariable.js.map +1 -1
- package/projectEnvironmentVariables.d.ts +77 -0
- package/projectEnvironmentVariables.js +62 -0
- package/projectEnvironmentVariables.js.map +1 -0
- package/projectMembers.d.ts +97 -0
- package/{projectFunctionCpu.js → projectMembers.js} +25 -36
- package/projectMembers.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +13 -0
- package/sharedEnvironmentVariable.js +3 -0
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +211 -0
- package/teamConfig.js +78 -0
- package/teamConfig.js.map +1 -0
- package/teamMember.d.ts +122 -0
- package/teamMember.js +90 -0
- package/teamMember.js.map +1 -0
- package/types/input.d.ts +108 -8
- package/types/output.d.ts +179 -7
- package/getProjectFunctionCpu.d.ts +0 -92
- package/getProjectFunctionCpu.js +0 -66
- package/getProjectFunctionCpu.js.map +0 -1
- package/package.json.bak +0 -27
- package/projectFunctionCpu.d.ts +0 -106
- package/projectFunctionCpu.js.map +0 -1
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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|
|
67
67
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
68
|
*/
|
|
69
69
|
static isInstance(obj: any): obj is ProjectDomain;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the Custom Environment to link to the Project Domain. Deployments from this custom environment will be assigned the domain name.
|
|
72
|
+
*/
|
|
73
|
+
readonly customEnvironmentId: pulumi.Output<string | undefined>;
|
|
70
74
|
/**
|
|
71
75
|
* The domain name to associate with the project.
|
|
72
76
|
*/
|
|
@@ -104,6 +108,10 @@ export declare class ProjectDomain extends pulumi.CustomResource {
|
|
|
104
108
|
* Input properties used for looking up and filtering ProjectDomain resources.
|
|
105
109
|
*/
|
|
106
110
|
export interface ProjectDomainState {
|
|
111
|
+
/**
|
|
112
|
+
* The name of the Custom Environment to link to the Project Domain. Deployments from this custom environment will be assigned the domain name.
|
|
113
|
+
*/
|
|
114
|
+
customEnvironmentId?: pulumi.Input<string>;
|
|
107
115
|
/**
|
|
108
116
|
* The domain name to associate with the project.
|
|
109
117
|
*/
|
|
@@ -133,6 +141,10 @@ export interface ProjectDomainState {
|
|
|
133
141
|
* The set of arguments for constructing a ProjectDomain resource.
|
|
134
142
|
*/
|
|
135
143
|
export interface ProjectDomainArgs {
|
|
144
|
+
/**
|
|
145
|
+
* The name of the Custom Environment to link to the Project Domain. Deployments from this custom environment will be assigned the domain name.
|
|
146
|
+
*/
|
|
147
|
+
customEnvironmentId?: pulumi.Input<string>;
|
|
136
148
|
/**
|
|
137
149
|
* The domain name to associate with the project.
|
|
138
150
|
*/
|
package/projectDomain.js
CHANGED
|
@@ -85,6 +85,7 @@ class ProjectDomain extends pulumi.CustomResource {
|
|
|
85
85
|
opts = opts || {};
|
|
86
86
|
if (opts.id) {
|
|
87
87
|
const state = argsOrState;
|
|
88
|
+
resourceInputs["customEnvironmentId"] = state ? state.customEnvironmentId : undefined;
|
|
88
89
|
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
89
90
|
resourceInputs["gitBranch"] = state ? state.gitBranch : undefined;
|
|
90
91
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
@@ -100,6 +101,7 @@ class ProjectDomain extends pulumi.CustomResource {
|
|
|
100
101
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
101
102
|
throw new Error("Missing required property 'projectId'");
|
|
102
103
|
}
|
|
104
|
+
resourceInputs["customEnvironmentId"] = args ? args.customEnvironmentId : undefined;
|
|
103
105
|
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
104
106
|
resourceInputs["gitBranch"] = args ? args.gitBranch : undefined;
|
|
105
107
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
package/projectDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;
|
|
1
|
+
{"version":3,"file":"projectDomain.js","sourceRoot":"","sources":["../projectDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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;YAC9D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA/FL,sCAgGC;AAlFG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -17,6 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* key: "foo",
|
|
18
18
|
* value: "bar",
|
|
19
19
|
* targets: ["production"],
|
|
20
|
+
* comment: "a production secret",
|
|
20
21
|
* });
|
|
21
22
|
* // An environment variable that will be created
|
|
22
23
|
* // for this project for the "preview" environment when the branch is "staging".
|
|
@@ -26,6 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
27
|
* value: "bar-staging",
|
|
27
28
|
* targets: ["preview"],
|
|
28
29
|
* gitBranch: "staging",
|
|
30
|
+
* comment: "a staging secret",
|
|
29
31
|
* });
|
|
30
32
|
* // A sensitive environment variable that will be created
|
|
31
33
|
* // for this project for the "production" environment.
|
|
@@ -35,6 +37,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
37
|
* value: "bar-production",
|
|
36
38
|
* targets: ["production"],
|
|
37
39
|
* sensitive: true,
|
|
40
|
+
* comment: "a sensitive production secret",
|
|
38
41
|
* });
|
|
39
42
|
* ```
|
|
40
43
|
*
|
|
@@ -94,6 +97,14 @@ export declare class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
94
97
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
98
|
*/
|
|
96
99
|
static isInstance(obj: any): obj is ProjectEnvironmentVariable;
|
|
100
|
+
/**
|
|
101
|
+
* A comment explaining what the environment variable is for.
|
|
102
|
+
*/
|
|
103
|
+
readonly comment: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
|
|
106
|
+
*/
|
|
107
|
+
readonly customEnvironmentIds: pulumi.Output<string[]>;
|
|
97
108
|
/**
|
|
98
109
|
* The git branch of the Environment Variable.
|
|
99
110
|
*/
|
|
@@ -111,7 +122,7 @@ export declare class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
111
122
|
*/
|
|
112
123
|
readonly sensitive: pulumi.Output<boolean>;
|
|
113
124
|
/**
|
|
114
|
-
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
125
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
|
|
115
126
|
*/
|
|
116
127
|
readonly targets: pulumi.Output<string[]>;
|
|
117
128
|
/**
|
|
@@ -135,6 +146,14 @@ export declare class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
135
146
|
* Input properties used for looking up and filtering ProjectEnvironmentVariable resources.
|
|
136
147
|
*/
|
|
137
148
|
export interface ProjectEnvironmentVariableState {
|
|
149
|
+
/**
|
|
150
|
+
* A comment explaining what the environment variable is for.
|
|
151
|
+
*/
|
|
152
|
+
comment?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
|
|
155
|
+
*/
|
|
156
|
+
customEnvironmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
157
|
/**
|
|
139
158
|
* The git branch of the Environment Variable.
|
|
140
159
|
*/
|
|
@@ -152,7 +171,7 @@ export interface ProjectEnvironmentVariableState {
|
|
|
152
171
|
*/
|
|
153
172
|
sensitive?: pulumi.Input<boolean>;
|
|
154
173
|
/**
|
|
155
|
-
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
174
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
|
|
156
175
|
*/
|
|
157
176
|
targets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
158
177
|
/**
|
|
@@ -168,6 +187,14 @@ export interface ProjectEnvironmentVariableState {
|
|
|
168
187
|
* The set of arguments for constructing a ProjectEnvironmentVariable resource.
|
|
169
188
|
*/
|
|
170
189
|
export interface ProjectEnvironmentVariableArgs {
|
|
190
|
+
/**
|
|
191
|
+
* A comment explaining what the environment variable is for.
|
|
192
|
+
*/
|
|
193
|
+
comment?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* The IDs of Custom Environments that the Environment Variable should be present on. At least one of `target` or `customEnvironmentIds` must be set.
|
|
196
|
+
*/
|
|
197
|
+
customEnvironmentIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
198
|
/**
|
|
172
199
|
* The git branch of the Environment Variable.
|
|
173
200
|
*/
|
|
@@ -185,9 +212,9 @@ export interface ProjectEnvironmentVariableArgs {
|
|
|
185
212
|
*/
|
|
186
213
|
sensitive?: pulumi.Input<boolean>;
|
|
187
214
|
/**
|
|
188
|
-
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
|
|
215
|
+
* The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`. At least one of `target` or `customEnvironmentIds` must be set.
|
|
189
216
|
*/
|
|
190
|
-
targets
|
|
217
|
+
targets?: pulumi.Input<pulumi.Input<string>[]>;
|
|
191
218
|
/**
|
|
192
219
|
* The ID of the Vercel team.Required when configuring a team resource if a default team has not been set in the provider.
|
|
193
220
|
*/
|
|
@@ -23,6 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* key: "foo",
|
|
24
24
|
* value: "bar",
|
|
25
25
|
* targets: ["production"],
|
|
26
|
+
* comment: "a production secret",
|
|
26
27
|
* });
|
|
27
28
|
* // An environment variable that will be created
|
|
28
29
|
* // for this project for the "preview" environment when the branch is "staging".
|
|
@@ -32,6 +33,7 @@ const utilities = require("./utilities");
|
|
|
32
33
|
* value: "bar-staging",
|
|
33
34
|
* targets: ["preview"],
|
|
34
35
|
* gitBranch: "staging",
|
|
36
|
+
* comment: "a staging secret",
|
|
35
37
|
* });
|
|
36
38
|
* // A sensitive environment variable that will be created
|
|
37
39
|
* // for this project for the "production" environment.
|
|
@@ -41,6 +43,7 @@ const utilities = require("./utilities");
|
|
|
41
43
|
* value: "bar-production",
|
|
42
44
|
* targets: ["production"],
|
|
43
45
|
* sensitive: true,
|
|
46
|
+
* comment: "a sensitive production secret",
|
|
44
47
|
* });
|
|
45
48
|
* ```
|
|
46
49
|
*
|
|
@@ -112,6 +115,8 @@ class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
112
115
|
opts = opts || {};
|
|
113
116
|
if (opts.id) {
|
|
114
117
|
const state = argsOrState;
|
|
118
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
119
|
+
resourceInputs["customEnvironmentIds"] = state ? state.customEnvironmentIds : undefined;
|
|
115
120
|
resourceInputs["gitBranch"] = state ? state.gitBranch : undefined;
|
|
116
121
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
117
122
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
@@ -128,12 +133,11 @@ class ProjectEnvironmentVariable extends pulumi.CustomResource {
|
|
|
128
133
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
129
134
|
throw new Error("Missing required property 'projectId'");
|
|
130
135
|
}
|
|
131
|
-
if ((!args || args.targets === undefined) && !opts.urn) {
|
|
132
|
-
throw new Error("Missing required property 'targets'");
|
|
133
|
-
}
|
|
134
136
|
if ((!args || args.value === undefined) && !opts.urn) {
|
|
135
137
|
throw new Error("Missing required property 'value'");
|
|
136
138
|
}
|
|
139
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
140
|
+
resourceInputs["customEnvironmentIds"] = args ? args.customEnvironmentIds : undefined;
|
|
137
141
|
resourceInputs["gitBranch"] = args ? args.gitBranch : undefined;
|
|
138
142
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
139
143
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectEnvironmentVariable.js","sourceRoot":"","sources":["../projectEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;IA+CD,YAAY,IA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AAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAhHL,gEAiHC;AAnGG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*/
|
|
7
|
+
export declare class ProjectEnvironmentVariables extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ProjectEnvironmentVariables resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectEnvironmentVariablesState, opts?: pulumi.CustomResourceOptions): ProjectEnvironmentVariables;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of ProjectEnvironmentVariables. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is ProjectEnvironmentVariables;
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the Vercel project.
|
|
25
|
+
*/
|
|
26
|
+
readonly projectId: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
|
|
29
|
+
*/
|
|
30
|
+
readonly teamId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* A set of Environment Variables that should be configured for the project.
|
|
33
|
+
*/
|
|
34
|
+
readonly variables: pulumi.Output<outputs.ProjectEnvironmentVariablesVariable[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Create a ProjectEnvironmentVariables resource with the given unique name, arguments, and options.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resource.
|
|
39
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
40
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
41
|
+
*/
|
|
42
|
+
constructor(name: string, args: ProjectEnvironmentVariablesArgs, opts?: pulumi.CustomResourceOptions);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Input properties used for looking up and filtering ProjectEnvironmentVariables resources.
|
|
46
|
+
*/
|
|
47
|
+
export interface ProjectEnvironmentVariablesState {
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the Vercel project.
|
|
50
|
+
*/
|
|
51
|
+
projectId?: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
|
|
54
|
+
*/
|
|
55
|
+
teamId?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* A set of Environment Variables that should be configured for the project.
|
|
58
|
+
*/
|
|
59
|
+
variables?: pulumi.Input<pulumi.Input<inputs.ProjectEnvironmentVariablesVariable>[]>;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The set of arguments for constructing a ProjectEnvironmentVariables resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface ProjectEnvironmentVariablesArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The ID of the Vercel project.
|
|
67
|
+
*/
|
|
68
|
+
projectId: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
|
|
71
|
+
*/
|
|
72
|
+
teamId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* A set of Environment Variables that should be configured for the project.
|
|
75
|
+
*/
|
|
76
|
+
variables: pulumi.Input<pulumi.Input<inputs.ProjectEnvironmentVariablesVariable>[]>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ProjectEnvironmentVariables = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*/
|
|
11
|
+
class ProjectEnvironmentVariables extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ProjectEnvironmentVariables resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new ProjectEnvironmentVariables(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ProjectEnvironmentVariables. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === ProjectEnvironmentVariables.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
40
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
41
|
+
resourceInputs["variables"] = state ? state.variables : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'projectId'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.variables === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'variables'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
52
|
+
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
53
|
+
resourceInputs["variables"] = args ? args.variables : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(ProjectEnvironmentVariables.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ProjectEnvironmentVariables = ProjectEnvironmentVariables;
|
|
60
|
+
/** @internal */
|
|
61
|
+
ProjectEnvironmentVariables.__pulumiType = 'vercel:index/projectEnvironmentVariables:ProjectEnvironmentVariables';
|
|
62
|
+
//# sourceMappingURL=projectEnvironmentVariables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectEnvironmentVariables.js","sourceRoot":"","sources":["../projectEnvironmentVariables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,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+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
10
|
+
*
|
|
11
|
+
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
12
|
+
* const exampleProjectMembers = new vercel.ProjectMembers("exampleProjectMembers", {
|
|
13
|
+
* projectId: exampleProject.id,
|
|
14
|
+
* members: [
|
|
15
|
+
* {
|
|
16
|
+
* email: "user@example.com",
|
|
17
|
+
* role: "PROJECT_VIEWER",
|
|
18
|
+
* },
|
|
19
|
+
* {
|
|
20
|
+
* username: "some-example-user",
|
|
21
|
+
* role: "PROJECT_DEVELOPER",
|
|
22
|
+
* },
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class ProjectMembers extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing ProjectMembers resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectMembersState, opts?: pulumi.CustomResourceOptions): ProjectMembers;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of ProjectMembers. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is ProjectMembers;
|
|
43
|
+
/**
|
|
44
|
+
* The set of members to manage for this project.
|
|
45
|
+
*/
|
|
46
|
+
readonly members: pulumi.Output<outputs.ProjectMembersMember[]>;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the existing Vercel Project.
|
|
49
|
+
*/
|
|
50
|
+
readonly projectId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
53
|
+
*/
|
|
54
|
+
readonly teamId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a ProjectMembers resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: ProjectMembersArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input properties used for looking up and filtering ProjectMembers resources.
|
|
66
|
+
*/
|
|
67
|
+
export interface ProjectMembersState {
|
|
68
|
+
/**
|
|
69
|
+
* The set of members to manage for this project.
|
|
70
|
+
*/
|
|
71
|
+
members?: pulumi.Input<pulumi.Input<inputs.ProjectMembersMember>[]>;
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the existing Vercel Project.
|
|
74
|
+
*/
|
|
75
|
+
projectId?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
78
|
+
*/
|
|
79
|
+
teamId?: pulumi.Input<string>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The set of arguments for constructing a ProjectMembers resource.
|
|
83
|
+
*/
|
|
84
|
+
export interface ProjectMembersArgs {
|
|
85
|
+
/**
|
|
86
|
+
* The set of members to manage for this project.
|
|
87
|
+
*/
|
|
88
|
+
members: pulumi.Input<pulumi.Input<inputs.ProjectMembersMember>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the existing Vercel Project.
|
|
91
|
+
*/
|
|
92
|
+
projectId: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The team ID to add the project to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
95
|
+
*/
|
|
96
|
+
teamId?: pulumi.Input<string>;
|
|
97
|
+
}
|
|
@@ -2,18 +2,10 @@
|
|
|
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.
|
|
5
|
+
exports.ProjectMembers = 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
|
-
*
|
|
11
|
-
* Provides a Function CPU resource for a Project.
|
|
12
|
-
*
|
|
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.
|
|
14
|
-
*
|
|
15
|
-
* A new Deployment is required for your changes to take effect.
|
|
16
|
-
*
|
|
17
9
|
* ## Example Usage
|
|
18
10
|
*
|
|
19
11
|
* ```typescript
|
|
@@ -21,27 +13,24 @@ const utilities = require("./utilities");
|
|
|
21
13
|
* import * as vercel from "@pulumiverse/vercel";
|
|
22
14
|
*
|
|
23
15
|
* const exampleProject = new vercel.Project("exampleProject", {});
|
|
24
|
-
* const
|
|
16
|
+
* const exampleProjectMembers = new vercel.ProjectMembers("exampleProjectMembers", {
|
|
25
17
|
* projectId: exampleProject.id,
|
|
26
|
-
*
|
|
18
|
+
* members: [
|
|
19
|
+
* {
|
|
20
|
+
* email: "user@example.com",
|
|
21
|
+
* role: "PROJECT_VIEWER",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* username: "some-example-user",
|
|
25
|
+
* role: "PROJECT_DEVELOPER",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
29
|
-
*
|
|
30
|
-
* ## Import
|
|
31
|
-
*
|
|
32
|
-
* You can import via the team_id and project_id.
|
|
33
|
-
*
|
|
34
|
-
* - team_id can be found in the team `settings` tab in the Vercel UI.
|
|
35
|
-
*
|
|
36
|
-
* - project_id can be found in the project `settings` tab in the Vercel UI.
|
|
37
|
-
*
|
|
38
|
-
* ```sh
|
|
39
|
-
* $ pulumi import vercel:index/projectFunctionCpu:ProjectFunctionCpu example team_xxxxxxxxxxxxxxxxxxxxxxxx/prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
40
|
-
* ```
|
|
41
30
|
*/
|
|
42
|
-
class
|
|
31
|
+
class ProjectMembers extends pulumi.CustomResource {
|
|
43
32
|
/**
|
|
44
|
-
* Get an existing
|
|
33
|
+
* Get an existing ProjectMembers resource's state with the given name, ID, and optional extra
|
|
45
34
|
* properties used to qualify the lookup.
|
|
46
35
|
*
|
|
47
36
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -50,44 +39,44 @@ class ProjectFunctionCpu extends pulumi.CustomResource {
|
|
|
50
39
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
40
|
*/
|
|
52
41
|
static get(name, id, state, opts) {
|
|
53
|
-
return new
|
|
42
|
+
return new ProjectMembers(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
43
|
}
|
|
55
44
|
/**
|
|
56
|
-
* Returns true if the given object is an instance of
|
|
45
|
+
* Returns true if the given object is an instance of ProjectMembers. This is designed to work even
|
|
57
46
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
47
|
*/
|
|
59
48
|
static isInstance(obj) {
|
|
60
49
|
if (obj === undefined || obj === null) {
|
|
61
50
|
return false;
|
|
62
51
|
}
|
|
63
|
-
return obj['__pulumiType'] ===
|
|
52
|
+
return obj['__pulumiType'] === ProjectMembers.__pulumiType;
|
|
64
53
|
}
|
|
65
54
|
constructor(name, argsOrState, opts) {
|
|
66
55
|
let resourceInputs = {};
|
|
67
56
|
opts = opts || {};
|
|
68
57
|
if (opts.id) {
|
|
69
58
|
const state = argsOrState;
|
|
70
|
-
resourceInputs["
|
|
59
|
+
resourceInputs["members"] = state ? state.members : undefined;
|
|
71
60
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
72
61
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
73
62
|
}
|
|
74
63
|
else {
|
|
75
64
|
const args = argsOrState;
|
|
76
|
-
if ((!args || args.
|
|
77
|
-
throw new Error("Missing required property '
|
|
65
|
+
if ((!args || args.members === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'members'");
|
|
78
67
|
}
|
|
79
68
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
80
69
|
throw new Error("Missing required property 'projectId'");
|
|
81
70
|
}
|
|
82
|
-
resourceInputs["
|
|
71
|
+
resourceInputs["members"] = args ? args.members : undefined;
|
|
83
72
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
84
73
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
85
74
|
}
|
|
86
75
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
-
super(
|
|
76
|
+
super(ProjectMembers.__pulumiType, name, resourceInputs, opts);
|
|
88
77
|
}
|
|
89
78
|
}
|
|
90
|
-
exports.
|
|
79
|
+
exports.ProjectMembers = ProjectMembers;
|
|
91
80
|
/** @internal */
|
|
92
|
-
|
|
93
|
-
//# sourceMappingURL=
|
|
81
|
+
ProjectMembers.__pulumiType = 'vercel:index/projectMembers:ProjectMembers';
|
|
82
|
+
//# sourceMappingURL=projectMembers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectMembers.js","sourceRoot":"","sources":["../projectMembers.ts"],"names":[],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