@pulumiverse/vercel 3.3.0-alpha.1757359226 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployment.d.ts +30 -0
- package/deployment.js +4 -0
- package/deployment.js.map +1 -1
- package/edgeConfigItem.d.ts +28 -6
- package/edgeConfigItem.js +14 -5
- package/edgeConfigItem.js.map +1 -1
- package/getDeployment.d.ts +10 -0
- package/getDeployment.js.map +1 -1
- package/getDomainConfig.d.ts +156 -0
- package/getDomainConfig.js +116 -0
- package/getDomainConfig.js.map +1 -0
- package/getDsyncGroups.d.ts +51 -0
- package/getDsyncGroups.js +30 -0
- package/getDsyncGroups.js.map +1 -0
- package/getEdgeConfigItem.d.ts +19 -3
- package/getEdgeConfigItem.js +14 -2
- package/getEdgeConfigItem.js.map +1 -1
- package/getLogDrain.d.ts +1 -1
- package/getProject.d.ts +16 -0
- package/getProject.js +2 -0
- package/getProject.js.map +1 -1
- package/getProjectRollingRelease.d.ts +89 -0
- package/getProjectRollingRelease.js +58 -0
- package/getProjectRollingRelease.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.js +21 -2
- package/index.js.map +1 -1
- package/logDrain.d.ts +3 -3
- package/package.json +2 -2
- package/project.d.ts +31 -1
- package/project.js +4 -0
- package/project.js.map +1 -1
- package/projectCrons.d.ts +117 -0
- package/projectCrons.js +104 -0
- package/projectCrons.js.map +1 -0
- package/projectDeploymentRetention.d.ts +12 -12
- package/projectRollingRelease.d.ts +89 -0
- package/projectRollingRelease.js +67 -0
- package/projectRollingRelease.js.map +1 -0
- package/sharedEnvironmentVariable.d.ts +1 -1
- package/sharedEnvironmentVariable.js +0 -3
- package/sharedEnvironmentVariable.js.map +1 -1
- package/teamConfig.d.ts +10 -0
- package/teamConfig.js +10 -0
- package/teamConfig.js.map +1 -1
- package/teamMember.d.ts +10 -6
- package/teamMember.js +4 -6
- package/teamMember.js.map +1 -1
- package/types/input.d.ts +34 -8
- package/types/output.d.ts +60 -8
package/deployment.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
17
17
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is Deployment;
|
|
20
|
+
/**
|
|
21
|
+
* The ID of the Custom Environment to deploy to. If not specified, the deployment will use the standard environments (production/preview).
|
|
22
|
+
*/
|
|
23
|
+
readonly customEnvironmentId: pulumi.Output<string | undefined>;
|
|
20
24
|
readonly deleteOnDestroy: pulumi.Output<boolean | undefined>;
|
|
21
25
|
/**
|
|
22
26
|
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
@@ -34,6 +38,12 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
34
38
|
readonly files: pulumi.Output<{
|
|
35
39
|
[key: string]: string;
|
|
36
40
|
} | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Arbitrary key/value metadata to attach to the deployment (equivalent to the Vercel CLI --meta flags).
|
|
43
|
+
*/
|
|
44
|
+
readonly meta: pulumi.Output<{
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
}>;
|
|
37
47
|
/**
|
|
38
48
|
* If specified then the `pathPrefix` will be stripped from the start of file paths as they are uploaded to Vercel. If this is omitted, then any leading `../`s will be stripped.
|
|
39
49
|
*/
|
|
@@ -75,6 +85,10 @@ export declare class Deployment extends pulumi.CustomResource {
|
|
|
75
85
|
* Input properties used for looking up and filtering Deployment resources.
|
|
76
86
|
*/
|
|
77
87
|
export interface DeploymentState {
|
|
88
|
+
/**
|
|
89
|
+
* The ID of the Custom Environment to deploy to. If not specified, the deployment will use the standard environments (production/preview).
|
|
90
|
+
*/
|
|
91
|
+
customEnvironmentId?: pulumi.Input<string>;
|
|
78
92
|
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
79
93
|
/**
|
|
80
94
|
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
@@ -92,6 +106,12 @@ export interface DeploymentState {
|
|
|
92
106
|
files?: pulumi.Input<{
|
|
93
107
|
[key: string]: pulumi.Input<string>;
|
|
94
108
|
}>;
|
|
109
|
+
/**
|
|
110
|
+
* Arbitrary key/value metadata to attach to the deployment (equivalent to the Vercel CLI --meta flags).
|
|
111
|
+
*/
|
|
112
|
+
meta?: pulumi.Input<{
|
|
113
|
+
[key: string]: pulumi.Input<string>;
|
|
114
|
+
}>;
|
|
95
115
|
/**
|
|
96
116
|
* If specified then the `pathPrefix` will be stripped from the start of file paths as they are uploaded to Vercel. If this is omitted, then any leading `../`s will be stripped.
|
|
97
117
|
*/
|
|
@@ -125,6 +145,10 @@ export interface DeploymentState {
|
|
|
125
145
|
* The set of arguments for constructing a Deployment resource.
|
|
126
146
|
*/
|
|
127
147
|
export interface DeploymentArgs {
|
|
148
|
+
/**
|
|
149
|
+
* The ID of the Custom Environment to deploy to. If not specified, the deployment will use the standard environments (production/preview).
|
|
150
|
+
*/
|
|
151
|
+
customEnvironmentId?: pulumi.Input<string>;
|
|
128
152
|
deleteOnDestroy?: pulumi.Input<boolean>;
|
|
129
153
|
/**
|
|
130
154
|
* A map of environment variable names to values. These are specific to a Deployment, and can also be configured on the `vercel.Project` resource.
|
|
@@ -138,6 +162,12 @@ export interface DeploymentArgs {
|
|
|
138
162
|
files?: pulumi.Input<{
|
|
139
163
|
[key: string]: pulumi.Input<string>;
|
|
140
164
|
}>;
|
|
165
|
+
/**
|
|
166
|
+
* Arbitrary key/value metadata to attach to the deployment (equivalent to the Vercel CLI --meta flags).
|
|
167
|
+
*/
|
|
168
|
+
meta?: pulumi.Input<{
|
|
169
|
+
[key: string]: pulumi.Input<string>;
|
|
170
|
+
}>;
|
|
141
171
|
/**
|
|
142
172
|
* If specified then the `pathPrefix` will be stripped from the start of file paths as they are uploaded to Vercel. If this is omitted, then any leading `../`s will be stripped.
|
|
143
173
|
*/
|
package/deployment.js
CHANGED
|
@@ -33,10 +33,12 @@ class Deployment extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
+
resourceInputs["customEnvironmentId"] = state ? state.customEnvironmentId : undefined;
|
|
36
37
|
resourceInputs["deleteOnDestroy"] = state ? state.deleteOnDestroy : undefined;
|
|
37
38
|
resourceInputs["domains"] = state ? state.domains : undefined;
|
|
38
39
|
resourceInputs["environment"] = state ? state.environment : undefined;
|
|
39
40
|
resourceInputs["files"] = state ? state.files : undefined;
|
|
41
|
+
resourceInputs["meta"] = state ? state.meta : undefined;
|
|
40
42
|
resourceInputs["pathPrefix"] = state ? state.pathPrefix : undefined;
|
|
41
43
|
resourceInputs["production"] = state ? state.production : undefined;
|
|
42
44
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
@@ -50,9 +52,11 @@ class Deployment extends pulumi.CustomResource {
|
|
|
50
52
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
51
53
|
throw new Error("Missing required property 'projectId'");
|
|
52
54
|
}
|
|
55
|
+
resourceInputs["customEnvironmentId"] = args ? args.customEnvironmentId : undefined;
|
|
53
56
|
resourceInputs["deleteOnDestroy"] = args ? args.deleteOnDestroy : undefined;
|
|
54
57
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
55
58
|
resourceInputs["files"] = args ? args.files : undefined;
|
|
59
|
+
resourceInputs["meta"] = args ? args.meta : undefined;
|
|
56
60
|
resourceInputs["pathPrefix"] = args ? args.pathPrefix : undefined;
|
|
57
61
|
resourceInputs["production"] = args ? args.production : undefined;
|
|
58
62
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
package/deployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment.js","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,C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CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA7HL,gCA8HC;AAhHG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/edgeConfigItem.d.ts
CHANGED
|
@@ -15,8 +15,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* const example = new vercel.EdgeConfig("example", {name: "example"});
|
|
16
16
|
* const exampleEdgeConfigItem = new vercel.EdgeConfigItem("example", {
|
|
17
17
|
* edgeConfigId: example.id,
|
|
18
|
-
* key: "
|
|
19
|
-
*
|
|
18
|
+
* key: "flags",
|
|
19
|
+
* valueJson: {
|
|
20
|
+
* featureA: true,
|
|
21
|
+
* nested: {
|
|
22
|
+
* a: 1,
|
|
23
|
+
* b: [
|
|
24
|
+
* 1,
|
|
25
|
+
* 2,
|
|
26
|
+
* 3,
|
|
27
|
+
* ],
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
20
30
|
* });
|
|
21
31
|
* ```
|
|
22
32
|
*
|
|
@@ -75,9 +85,13 @@ export declare class EdgeConfigItem extends pulumi.CustomResource {
|
|
|
75
85
|
*/
|
|
76
86
|
readonly teamId: pulumi.Output<string>;
|
|
77
87
|
/**
|
|
78
|
-
* The value you want to assign to the key.
|
|
88
|
+
* The value you want to assign to the key when using a string.
|
|
79
89
|
*/
|
|
80
90
|
readonly value: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Structured JSON value to assign to the key (object/array/number/bool/null).
|
|
93
|
+
*/
|
|
94
|
+
readonly valueJson: pulumi.Output<any>;
|
|
81
95
|
/**
|
|
82
96
|
* Create a EdgeConfigItem resource with the given unique name, arguments, and options.
|
|
83
97
|
*
|
|
@@ -104,9 +118,13 @@ export interface EdgeConfigItemState {
|
|
|
104
118
|
*/
|
|
105
119
|
teamId?: pulumi.Input<string>;
|
|
106
120
|
/**
|
|
107
|
-
* The value you want to assign to the key.
|
|
121
|
+
* The value you want to assign to the key when using a string.
|
|
108
122
|
*/
|
|
109
123
|
value?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Structured JSON value to assign to the key (object/array/number/bool/null).
|
|
126
|
+
*/
|
|
127
|
+
valueJson?: any;
|
|
110
128
|
}
|
|
111
129
|
/**
|
|
112
130
|
* The set of arguments for constructing a EdgeConfigItem resource.
|
|
@@ -125,7 +143,11 @@ export interface EdgeConfigItemArgs {
|
|
|
125
143
|
*/
|
|
126
144
|
teamId?: pulumi.Input<string>;
|
|
127
145
|
/**
|
|
128
|
-
* The value you want to assign to the key.
|
|
146
|
+
* The value you want to assign to the key when using a string.
|
|
147
|
+
*/
|
|
148
|
+
value?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Structured JSON value to assign to the key (object/array/number/bool/null).
|
|
129
151
|
*/
|
|
130
|
-
|
|
152
|
+
valueJson?: any;
|
|
131
153
|
}
|
package/edgeConfigItem.js
CHANGED
|
@@ -21,8 +21,18 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* const example = new vercel.EdgeConfig("example", {name: "example"});
|
|
22
22
|
* const exampleEdgeConfigItem = new vercel.EdgeConfigItem("example", {
|
|
23
23
|
* edgeConfigId: example.id,
|
|
24
|
-
* key: "
|
|
25
|
-
*
|
|
24
|
+
* key: "flags",
|
|
25
|
+
* valueJson: {
|
|
26
|
+
* featureA: true,
|
|
27
|
+
* nested: {
|
|
28
|
+
* a: 1,
|
|
29
|
+
* b: [
|
|
30
|
+
* 1,
|
|
31
|
+
* 2,
|
|
32
|
+
* 3,
|
|
33
|
+
* ],
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
26
36
|
* });
|
|
27
37
|
* ```
|
|
28
38
|
*
|
|
@@ -84,6 +94,7 @@ class EdgeConfigItem extends pulumi.CustomResource {
|
|
|
84
94
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
85
95
|
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
86
96
|
resourceInputs["value"] = state ? state.value : undefined;
|
|
97
|
+
resourceInputs["valueJson"] = state ? state.valueJson : undefined;
|
|
87
98
|
}
|
|
88
99
|
else {
|
|
89
100
|
const args = argsOrState;
|
|
@@ -93,13 +104,11 @@ class EdgeConfigItem extends pulumi.CustomResource {
|
|
|
93
104
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
94
105
|
throw new Error("Missing required property 'key'");
|
|
95
106
|
}
|
|
96
|
-
if ((!args || args.value === undefined) && !opts.urn) {
|
|
97
|
-
throw new Error("Missing required property 'value'");
|
|
98
|
-
}
|
|
99
107
|
resourceInputs["edgeConfigId"] = args ? args.edgeConfigId : undefined;
|
|
100
108
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
101
109
|
resourceInputs["teamId"] = args ? args.teamId : undefined;
|
|
102
110
|
resourceInputs["value"] = args ? args.value : undefined;
|
|
111
|
+
resourceInputs["valueJson"] = args ? args.valueJson : undefined;
|
|
103
112
|
}
|
|
104
113
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
114
|
super(EdgeConfigItem.__pulumiType, name, resourceInputs, opts);
|
package/edgeConfigItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeConfigItem.js","sourceRoot":"","sources":["../edgeConfigItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"edgeConfigItem.js","sourceRoot":"","sources":["../edgeConfigItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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AI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAnFL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/getDeployment.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export interface GetDeploymentArgs {
|
|
|
33
33
|
* A collection of values returned by getDeployment.
|
|
34
34
|
*/
|
|
35
35
|
export interface GetDeploymentResult {
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the Custom Environment that the deployment was deployed to, if any.
|
|
38
|
+
*/
|
|
39
|
+
readonly customEnvironmentId: string;
|
|
36
40
|
/**
|
|
37
41
|
* A list of all the domains (default domains, staging domains and production domains) that were assigned upon deployment creation.
|
|
38
42
|
*/
|
|
@@ -41,6 +45,12 @@ export interface GetDeploymentResult {
|
|
|
41
45
|
* The ID or URL of the Deployment to read.
|
|
42
46
|
*/
|
|
43
47
|
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Arbitrary key/value metadata associated with the deployment.
|
|
50
|
+
*/
|
|
51
|
+
readonly meta: {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
44
54
|
/**
|
|
45
55
|
* true if the deployment is a production deployment, meaning production aliases will be assigned.
|
|
46
56
|
*/
|
package/getDeployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDeployment.js","sourceRoot":"","sources":["../getDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF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AM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides domain configuration information for a Vercel project.
|
|
4
|
+
*
|
|
5
|
+
* This data source returns configuration details for a domain associated with a specific project,
|
|
6
|
+
* including recommended CNAME and IPv4 values.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
* import * as vercel from "@pulumi/vercel";
|
|
14
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
15
|
+
*
|
|
16
|
+
* const myAwesomeProject = new vercel.Project("my_awesome_project", {name: "my-awesome-project"});
|
|
17
|
+
* //
|
|
18
|
+
* // "vercel_domain_config" Usage
|
|
19
|
+
* //
|
|
20
|
+
* const exampleCom = vercel.getDomainConfigOutput({
|
|
21
|
+
* domain: "example.com",
|
|
22
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
23
|
+
* });
|
|
24
|
+
* const wwwExampleCom = vercel.getDomainConfigOutput({
|
|
25
|
+
* domain: "www.example.com",
|
|
26
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
27
|
+
* });
|
|
28
|
+
* //
|
|
29
|
+
* // External DNS provider example
|
|
30
|
+
* //
|
|
31
|
+
* const exampleComA = new aws.index.Route53Record("example_com_a", {
|
|
32
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
33
|
+
* name: exampleCom.domain,
|
|
34
|
+
* type: "A",
|
|
35
|
+
* ttl: 300,
|
|
36
|
+
* records: exampleCom.recommendedIpv4s,
|
|
37
|
+
* });
|
|
38
|
+
* const wwwExampleComCname = new aws.index.Route53Record("www_example_com_cname", {
|
|
39
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
40
|
+
* name: wwwExampleCom.domain,
|
|
41
|
+
* type: "CNAME",
|
|
42
|
+
* ttl: 300,
|
|
43
|
+
* records: [wwwExampleCom.recommendedCname],
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare function getDomainConfig(args: GetDomainConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainConfigResult>;
|
|
48
|
+
/**
|
|
49
|
+
* A collection of arguments for invoking getDomainConfig.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetDomainConfigArgs {
|
|
52
|
+
/**
|
|
53
|
+
* The domain name to get configuration for.
|
|
54
|
+
*/
|
|
55
|
+
domain: string;
|
|
56
|
+
/**
|
|
57
|
+
* The project ID or name associated with the domain.
|
|
58
|
+
*/
|
|
59
|
+
projectIdOrName: string;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the team the domain config exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
62
|
+
*/
|
|
63
|
+
teamId?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A collection of values returned by getDomainConfig.
|
|
67
|
+
*/
|
|
68
|
+
export interface GetDomainConfigResult {
|
|
69
|
+
/**
|
|
70
|
+
* The domain name to get configuration for.
|
|
71
|
+
*/
|
|
72
|
+
readonly domain: string;
|
|
73
|
+
/**
|
|
74
|
+
* The provider-assigned unique ID for this managed resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly id: string;
|
|
77
|
+
/**
|
|
78
|
+
* The project ID or name associated with the domain.
|
|
79
|
+
*/
|
|
80
|
+
readonly projectIdOrName: string;
|
|
81
|
+
/**
|
|
82
|
+
* The recommended CNAME value for the domain.
|
|
83
|
+
*/
|
|
84
|
+
readonly recommendedCname: string;
|
|
85
|
+
/**
|
|
86
|
+
* The recommended IPv4 values for the domain.
|
|
87
|
+
*/
|
|
88
|
+
readonly recommendedIpv4s: string[];
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the team the domain config exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
91
|
+
*/
|
|
92
|
+
readonly teamId: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Provides domain configuration information for a Vercel project.
|
|
96
|
+
*
|
|
97
|
+
* This data source returns configuration details for a domain associated with a specific project,
|
|
98
|
+
* including recommended CNAME and IPv4 values.
|
|
99
|
+
*
|
|
100
|
+
* ## Example Usage
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as aws from "@pulumi/aws";
|
|
105
|
+
* import * as vercel from "@pulumi/vercel";
|
|
106
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
107
|
+
*
|
|
108
|
+
* const myAwesomeProject = new vercel.Project("my_awesome_project", {name: "my-awesome-project"});
|
|
109
|
+
* //
|
|
110
|
+
* // "vercel_domain_config" Usage
|
|
111
|
+
* //
|
|
112
|
+
* const exampleCom = vercel.getDomainConfigOutput({
|
|
113
|
+
* domain: "example.com",
|
|
114
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
115
|
+
* });
|
|
116
|
+
* const wwwExampleCom = vercel.getDomainConfigOutput({
|
|
117
|
+
* domain: "www.example.com",
|
|
118
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
119
|
+
* });
|
|
120
|
+
* //
|
|
121
|
+
* // External DNS provider example
|
|
122
|
+
* //
|
|
123
|
+
* const exampleComA = new aws.index.Route53Record("example_com_a", {
|
|
124
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
125
|
+
* name: exampleCom.domain,
|
|
126
|
+
* type: "A",
|
|
127
|
+
* ttl: 300,
|
|
128
|
+
* records: exampleCom.recommendedIpv4s,
|
|
129
|
+
* });
|
|
130
|
+
* const wwwExampleComCname = new aws.index.Route53Record("www_example_com_cname", {
|
|
131
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
132
|
+
* name: wwwExampleCom.domain,
|
|
133
|
+
* type: "CNAME",
|
|
134
|
+
* ttl: 300,
|
|
135
|
+
* records: [wwwExampleCom.recommendedCname],
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
export declare function getDomainConfigOutput(args: GetDomainConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainConfigResult>;
|
|
140
|
+
/**
|
|
141
|
+
* A collection of arguments for invoking getDomainConfig.
|
|
142
|
+
*/
|
|
143
|
+
export interface GetDomainConfigOutputArgs {
|
|
144
|
+
/**
|
|
145
|
+
* The domain name to get configuration for.
|
|
146
|
+
*/
|
|
147
|
+
domain: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The project ID or name associated with the domain.
|
|
150
|
+
*/
|
|
151
|
+
projectIdOrName: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The ID of the team the domain config exists under. Required when configuring a team resource if a default team has not been set in the provider.
|
|
154
|
+
*/
|
|
155
|
+
teamId?: pulumi.Input<string>;
|
|
156
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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.getDomainConfigOutput = exports.getDomainConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides domain configuration information for a Vercel project.
|
|
10
|
+
*
|
|
11
|
+
* This data source returns configuration details for a domain associated with a specific project,
|
|
12
|
+
* including recommended CNAME and IPv4 values.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
* import * as vercel from "@pulumi/vercel";
|
|
20
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
21
|
+
*
|
|
22
|
+
* const myAwesomeProject = new vercel.Project("my_awesome_project", {name: "my-awesome-project"});
|
|
23
|
+
* //
|
|
24
|
+
* // "vercel_domain_config" Usage
|
|
25
|
+
* //
|
|
26
|
+
* const exampleCom = vercel.getDomainConfigOutput({
|
|
27
|
+
* domain: "example.com",
|
|
28
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
29
|
+
* });
|
|
30
|
+
* const wwwExampleCom = vercel.getDomainConfigOutput({
|
|
31
|
+
* domain: "www.example.com",
|
|
32
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
33
|
+
* });
|
|
34
|
+
* //
|
|
35
|
+
* // External DNS provider example
|
|
36
|
+
* //
|
|
37
|
+
* const exampleComA = new aws.index.Route53Record("example_com_a", {
|
|
38
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
39
|
+
* name: exampleCom.domain,
|
|
40
|
+
* type: "A",
|
|
41
|
+
* ttl: 300,
|
|
42
|
+
* records: exampleCom.recommendedIpv4s,
|
|
43
|
+
* });
|
|
44
|
+
* const wwwExampleComCname = new aws.index.Route53Record("www_example_com_cname", {
|
|
45
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
46
|
+
* name: wwwExampleCom.domain,
|
|
47
|
+
* type: "CNAME",
|
|
48
|
+
* ttl: 300,
|
|
49
|
+
* records: [wwwExampleCom.recommendedCname],
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getDomainConfig(args, opts) {
|
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
55
|
+
return pulumi.runtime.invoke("vercel:index/getDomainConfig:getDomainConfig", {
|
|
56
|
+
"domain": args.domain,
|
|
57
|
+
"projectIdOrName": args.projectIdOrName,
|
|
58
|
+
"teamId": args.teamId,
|
|
59
|
+
}, opts);
|
|
60
|
+
}
|
|
61
|
+
exports.getDomainConfig = getDomainConfig;
|
|
62
|
+
/**
|
|
63
|
+
* Provides domain configuration information for a Vercel project.
|
|
64
|
+
*
|
|
65
|
+
* This data source returns configuration details for a domain associated with a specific project,
|
|
66
|
+
* including recommended CNAME and IPv4 values.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as aws from "@pulumi/aws";
|
|
73
|
+
* import * as vercel from "@pulumi/vercel";
|
|
74
|
+
* import * as vercel from "@pulumiverse/vercel";
|
|
75
|
+
*
|
|
76
|
+
* const myAwesomeProject = new vercel.Project("my_awesome_project", {name: "my-awesome-project"});
|
|
77
|
+
* //
|
|
78
|
+
* // "vercel_domain_config" Usage
|
|
79
|
+
* //
|
|
80
|
+
* const exampleCom = vercel.getDomainConfigOutput({
|
|
81
|
+
* domain: "example.com",
|
|
82
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
83
|
+
* });
|
|
84
|
+
* const wwwExampleCom = vercel.getDomainConfigOutput({
|
|
85
|
+
* domain: "www.example.com",
|
|
86
|
+
* projectIdOrName: myAwesomeProject.id,
|
|
87
|
+
* });
|
|
88
|
+
* //
|
|
89
|
+
* // External DNS provider example
|
|
90
|
+
* //
|
|
91
|
+
* const exampleComA = new aws.index.Route53Record("example_com_a", {
|
|
92
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
93
|
+
* name: exampleCom.domain,
|
|
94
|
+
* type: "A",
|
|
95
|
+
* ttl: 300,
|
|
96
|
+
* records: exampleCom.recommendedIpv4s,
|
|
97
|
+
* });
|
|
98
|
+
* const wwwExampleComCname = new aws.index.Route53Record("www_example_com_cname", {
|
|
99
|
+
* zoneId: "...zone_id_from_somewhere...",
|
|
100
|
+
* name: wwwExampleCom.domain,
|
|
101
|
+
* type: "CNAME",
|
|
102
|
+
* ttl: 300,
|
|
103
|
+
* records: [wwwExampleCom.recommendedCname],
|
|
104
|
+
* });
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
function getDomainConfigOutput(args, opts) {
|
|
108
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
109
|
+
return pulumi.runtime.invokeOutput("vercel:index/getDomainConfig:getDomainConfig", {
|
|
110
|
+
"domain": args.domain,
|
|
111
|
+
"projectIdOrName": args.projectIdOrName,
|
|
112
|
+
"teamId": args.teamId,
|
|
113
|
+
}, opts);
|
|
114
|
+
}
|
|
115
|
+
exports.getDomainConfigOutput = getDomainConfigOutput;
|
|
116
|
+
//# sourceMappingURL=getDomainConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomainConfig.js","sourceRoot":"","sources":["../getDomainConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;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,YAAY,CAAC,8CAA8C,EAAE;QAC/E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides information about DSync groups for a team.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDsyncGroups(args?: GetDsyncGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetDsyncGroupsResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getDsyncGroups.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetDsyncGroupsArgs {
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the team the Dsync Groups are associated to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
13
|
+
*/
|
|
14
|
+
teamId?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getDsyncGroups.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDsyncGroupsResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* A list of DSync groups for the team.
|
|
26
|
+
*/
|
|
27
|
+
readonly lists: outputs.GetDsyncGroupsList[];
|
|
28
|
+
/**
|
|
29
|
+
* A map of Identity Provider group names to their Vercel IDs. This can be used to look up the ID of a group by its name using the lookup function.
|
|
30
|
+
*/
|
|
31
|
+
readonly map: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the team the Dsync Groups are associated to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
36
|
+
*/
|
|
37
|
+
readonly teamId: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Provides information about DSync groups for a team.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getDsyncGroupsOutput(args?: GetDsyncGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDsyncGroupsResult>;
|
|
43
|
+
/**
|
|
44
|
+
* A collection of arguments for invoking getDsyncGroups.
|
|
45
|
+
*/
|
|
46
|
+
export interface GetDsyncGroupsOutputArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the team the Dsync Groups are associated to. Required when configuring a team resource if a default team has not been set in the provider.
|
|
49
|
+
*/
|
|
50
|
+
teamId?: pulumi.Input<string>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.getDsyncGroupsOutput = exports.getDsyncGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about DSync groups for a team.
|
|
10
|
+
*/
|
|
11
|
+
function getDsyncGroups(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("vercel:index/getDsyncGroups:getDsyncGroups", {
|
|
15
|
+
"teamId": args.teamId,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getDsyncGroups = getDsyncGroups;
|
|
19
|
+
/**
|
|
20
|
+
* Provides information about DSync groups for a team.
|
|
21
|
+
*/
|
|
22
|
+
function getDsyncGroupsOutput(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invokeOutput("vercel:index/getDsyncGroups:getDsyncGroups", {
|
|
26
|
+
"teamId": args.teamId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getDsyncGroupsOutput = getDsyncGroupsOutput;
|
|
30
|
+
//# sourceMappingURL=getDsyncGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDsyncGroups.js","sourceRoot":"","sources":["../getDsyncGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,4CAA4C,EAAE;QACvE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAiCD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,4CAA4C,EAAE;QAC7E,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|