@pulumiverse/vercel 0.15.0

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.
Files changed (65) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +55 -0
  3. package/alias.d.ts +77 -0
  4. package/alias.js +64 -0
  5. package/alias.js.map +1 -0
  6. package/config/index.d.ts +1 -0
  7. package/config/index.js +21 -0
  8. package/config/index.js.map +1 -0
  9. package/config/vars.d.ts +10 -0
  10. package/config/vars.js +19 -0
  11. package/config/vars.js.map +1 -0
  12. package/deployment.d.ts +177 -0
  13. package/deployment.js +72 -0
  14. package/deployment.js.map +1 -0
  15. package/dnsRecord.d.ts +240 -0
  16. package/dnsRecord.js +154 -0
  17. package/dnsRecord.js.map +1 -0
  18. package/getAlias.d.ts +60 -0
  19. package/getAlias.js +30 -0
  20. package/getAlias.js.map +1 -0
  21. package/getFile.d.ts +79 -0
  22. package/getFile.js +67 -0
  23. package/getFile.js.map +1 -0
  24. package/getPrebuiltProject.d.ts +31 -0
  25. package/getPrebuiltProject.js +19 -0
  26. package/getPrebuiltProject.js.map +1 -0
  27. package/getProject.d.ts +146 -0
  28. package/getProject.js +59 -0
  29. package/getProject.js.map +1 -0
  30. package/getProjectDirectory.d.ts +31 -0
  31. package/getProjectDirectory.js +19 -0
  32. package/getProjectDirectory.js.map +1 -0
  33. package/index.d.ts +42 -0
  34. package/index.js +83 -0
  35. package/index.js.map +1 -0
  36. package/package.json +28 -0
  37. package/package.json.bak +28 -0
  38. package/project.d.ts +275 -0
  39. package/project.js +118 -0
  40. package/project.js.map +1 -0
  41. package/projectDomain.d.ts +152 -0
  42. package/projectDomain.js +109 -0
  43. package/projectDomain.js.map +1 -0
  44. package/projectEnvironmentVariable.d.ts +152 -0
  45. package/projectEnvironmentVariable.js +117 -0
  46. package/projectEnvironmentVariable.js.map +1 -0
  47. package/provider.d.ts +47 -0
  48. package/provider.js +48 -0
  49. package/provider.js.map +1 -0
  50. package/scripts/install-pulumi-plugin.js +26 -0
  51. package/sharedEnvironmentVariable.d.ts +131 -0
  52. package/sharedEnvironmentVariable.js +106 -0
  53. package/sharedEnvironmentVariable.js.map +1 -0
  54. package/types/index.d.ts +3 -0
  55. package/types/index.js +11 -0
  56. package/types/index.js.map +1 -0
  57. package/types/input.d.ts +105 -0
  58. package/types/input.js +5 -0
  59. package/types/input.js.map +1 -0
  60. package/types/output.d.ts +140 -0
  61. package/types/output.js +5 -0
  62. package/types/output.js.map +1 -0
  63. package/utilities.d.ts +4 -0
  64. package/utilities.js +69 -0
  65. package/utilities.js.map +1 -0
package/getFile.js ADDED
@@ -0,0 +1,67 @@
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.getFileOutput = exports.getFile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about a file on disk.
10
+ *
11
+ * This will read a single file, providing metadata for use with a `vercel.Deployment`.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as vercel from "@pulumi/vercel";
18
+ * import * as vercel from "@pulumiverse/vercel";
19
+ *
20
+ * const exampleFile = vercel.getFile({
21
+ * path: "index.html",
22
+ * });
23
+ * const exampleProject = vercel.getProject({
24
+ * name: "my-project",
25
+ * });
26
+ * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
27
+ * projectId: exampleProject.then(exampleProject => exampleProject.id),
28
+ * files: exampleFile.then(exampleFile => exampleFile.file),
29
+ * });
30
+ * ```
31
+ */
32
+ function getFile(args, opts) {
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invoke("vercel:index/getFile:getFile", {
35
+ "path": args.path,
36
+ }, opts);
37
+ }
38
+ exports.getFile = getFile;
39
+ /**
40
+ * Provides information about a file on disk.
41
+ *
42
+ * This will read a single file, providing metadata for use with a `vercel.Deployment`.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as vercel from "@pulumi/vercel";
49
+ * import * as vercel from "@pulumiverse/vercel";
50
+ *
51
+ * const exampleFile = vercel.getFile({
52
+ * path: "index.html",
53
+ * });
54
+ * const exampleProject = vercel.getProject({
55
+ * name: "my-project",
56
+ * });
57
+ * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
58
+ * projectId: exampleProject.then(exampleProject => exampleProject.id),
59
+ * files: exampleFile.then(exampleFile => exampleFile.file),
60
+ * });
61
+ * ```
62
+ */
63
+ function getFileOutput(args, opts) {
64
+ return pulumi.output(args).apply((a) => getFile(a, opts));
65
+ }
66
+ exports.getFileOutput = getFileOutput;
67
+ //# sourceMappingURL=getFile.js.map
package/getFile.js.map ADDED
@@ -0,0 +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;IAElE,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;AAND,0BAMC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getPrebuiltProject(args: GetPrebuiltProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetPrebuiltProjectResult>;
3
+ /**
4
+ * A collection of arguments for invoking getPrebuiltProject.
5
+ */
6
+ export interface GetPrebuiltProjectArgs {
7
+ path: string;
8
+ }
9
+ /**
10
+ * A collection of values returned by getPrebuiltProject.
11
+ */
12
+ export interface GetPrebuiltProjectResult {
13
+ /**
14
+ * The ID of this resource.
15
+ */
16
+ readonly id: string;
17
+ /**
18
+ * A map of output file to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
19
+ */
20
+ readonly output: {
21
+ [key: string]: string;
22
+ };
23
+ readonly path: string;
24
+ }
25
+ export declare function getPrebuiltProjectOutput(args: GetPrebuiltProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrebuiltProjectResult>;
26
+ /**
27
+ * A collection of arguments for invoking getPrebuiltProject.
28
+ */
29
+ export interface GetPrebuiltProjectOutputArgs {
30
+ path: pulumi.Input<string>;
31
+ }
@@ -0,0 +1,19 @@
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.getPrebuiltProjectOutput = exports.getPrebuiltProject = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getPrebuiltProject(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("vercel:index/getPrebuiltProject:getPrebuiltProject", {
11
+ "path": args.path,
12
+ }, opts);
13
+ }
14
+ exports.getPrebuiltProject = getPrebuiltProject;
15
+ function getPrebuiltProjectOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getPrebuiltProject(a, opts));
17
+ }
18
+ exports.getPrebuiltProjectOutput = getPrebuiltProjectOutput;
19
+ //# sourceMappingURL=getPrebuiltProject.js.map
@@ -0,0 +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;IAExF,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;AAND,gDAMC;AAuBD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Provides information about an existing project within Vercel.
6
+ *
7
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
8
+ *
9
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as vercel from "@pulumi/vercel";
16
+ *
17
+ * const foo = vercel.getProject({
18
+ * name: "my-existing-project",
19
+ * });
20
+ * export const projectId = foo.then(foo => foo.id);
21
+ * ```
22
+ */
23
+ export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
24
+ /**
25
+ * A collection of arguments for invoking getProject.
26
+ */
27
+ export interface GetProjectArgs {
28
+ /**
29
+ * The name of the project.
30
+ */
31
+ name: string;
32
+ /**
33
+ * Ensures visitors of your Preview Deployments must enter a password in order to gain access.
34
+ */
35
+ passwordProtection?: inputs.GetProjectPasswordProtection;
36
+ /**
37
+ * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
38
+ */
39
+ teamId?: string;
40
+ }
41
+ /**
42
+ * A collection of values returned by getProject.
43
+ */
44
+ export interface GetProjectResult {
45
+ /**
46
+ * The build command for this project. If omitted, this value will be automatically detected.
47
+ */
48
+ readonly buildCommand: string;
49
+ /**
50
+ * The dev command for this project. If omitted, this value will be automatically detected.
51
+ */
52
+ readonly devCommand: string;
53
+ /**
54
+ * A list of environment variables that should be configured for the project.
55
+ */
56
+ readonly environments: outputs.GetProjectEnvironment[];
57
+ /**
58
+ * The framework that is being used for this project. If omitted, no framework is selected.
59
+ */
60
+ readonly framework: string;
61
+ /**
62
+ * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed. This requires the corresponding Vercel for [Github](https://vercel.com/docs/concepts/git/vercel-for-github), [Gitlab](https://vercel.com/docs/concepts/git/vercel-for-gitlab) or [Bitbucket](https://vercel.com/docs/concepts/git/vercel-for-bitbucket) plugins to be installed.
63
+ */
64
+ readonly gitRepository: outputs.GetProjectGitRepository;
65
+ /**
66
+ * The ID of this resource.
67
+ */
68
+ readonly id: string;
69
+ /**
70
+ * When a commit is pushed to the Git repository that is connected with your Project, its SHA will determine if a new Build has to be issued. If the SHA was deployed before, no new Build will be issued. You can customize this behavior with a command that exits with code 1 (new Build needed) or code 0.
71
+ */
72
+ readonly ignoreCommand: string;
73
+ /**
74
+ * The install command for this project. If omitted, this value will be automatically detected.
75
+ */
76
+ readonly installCommand: string;
77
+ /**
78
+ * The name of the project.
79
+ */
80
+ readonly name: string;
81
+ /**
82
+ * The output directory of the project. When null is used this value will be automatically detected.
83
+ */
84
+ readonly outputDirectory: string;
85
+ /**
86
+ * Ensures visitors of your Preview Deployments must enter a password in order to gain access.
87
+ */
88
+ readonly passwordProtection?: outputs.GetProjectPasswordProtection;
89
+ /**
90
+ * Specifies whether the source code and logs of the deployments for this project should be public or not.
91
+ */
92
+ readonly publicSource: boolean;
93
+ /**
94
+ * 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.
95
+ */
96
+ readonly rootDirectory: string;
97
+ /**
98
+ * The region on Vercel's network to which your Serverless Functions are deployed. It should be close to any data source your Serverless Function might depend on. A new Deployment is required for your changes to take effect. Please see [Vercel's documentation](https://vercel.com/docs/concepts/edge-network/regions) for a full list of regions.
99
+ */
100
+ readonly serverlessFunctionRegion: string;
101
+ /**
102
+ * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
103
+ */
104
+ readonly teamId: string;
105
+ /**
106
+ * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team.
107
+ */
108
+ readonly vercelAuthentication: outputs.GetProjectVercelAuthentication;
109
+ }
110
+ /**
111
+ * Provides information about an existing project within Vercel.
112
+ *
113
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
114
+ *
115
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
116
+ *
117
+ * ## Example Usage
118
+ *
119
+ * ```typescript
120
+ * import * as pulumi from "@pulumi/pulumi";
121
+ * import * as vercel from "@pulumi/vercel";
122
+ *
123
+ * const foo = vercel.getProject({
124
+ * name: "my-existing-project",
125
+ * });
126
+ * export const projectId = foo.then(foo => foo.id);
127
+ * ```
128
+ */
129
+ export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectResult>;
130
+ /**
131
+ * A collection of arguments for invoking getProject.
132
+ */
133
+ export interface GetProjectOutputArgs {
134
+ /**
135
+ * The name of the project.
136
+ */
137
+ name: pulumi.Input<string>;
138
+ /**
139
+ * Ensures visitors of your Preview Deployments must enter a password in order to gain access.
140
+ */
141
+ passwordProtection?: pulumi.Input<inputs.GetProjectPasswordProtectionArgs>;
142
+ /**
143
+ * The team ID the project exists beneath. Required when configuring a team resource if a default team has not been set in the provider.
144
+ */
145
+ teamId?: pulumi.Input<string>;
146
+ }
package/getProject.js ADDED
@@ -0,0 +1,59 @@
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.getProjectOutput = exports.getProject = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides information about an existing project within Vercel.
10
+ *
11
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
12
+ *
13
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vercel from "@pulumi/vercel";
20
+ *
21
+ * const foo = vercel.getProject({
22
+ * name: "my-existing-project",
23
+ * });
24
+ * export const projectId = foo.then(foo => foo.id);
25
+ * ```
26
+ */
27
+ function getProject(args, opts) {
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
29
+ return pulumi.runtime.invoke("vercel:index/getProject:getProject", {
30
+ "name": args.name,
31
+ "passwordProtection": args.passwordProtection,
32
+ "teamId": args.teamId,
33
+ }, opts);
34
+ }
35
+ exports.getProject = getProject;
36
+ /**
37
+ * Provides information about an existing project within Vercel.
38
+ *
39
+ * A Project groups deployments and custom domains. To deploy on Vercel, you need a Project.
40
+ *
41
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/overview).
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as vercel from "@pulumi/vercel";
48
+ *
49
+ * const foo = vercel.getProject({
50
+ * name: "my-existing-project",
51
+ * });
52
+ * export const projectId = foo.then(foo => foo.id);
53
+ * ```
54
+ */
55
+ function getProjectOutput(args, opts) {
56
+ return pulumi.output(args).apply((a) => getProject(a, opts));
57
+ }
58
+ exports.getProjectOutput = getProjectOutput;
59
+ //# sourceMappingURL=getProject.js.map
@@ -0,0 +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;IAExE,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,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAyFD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,31 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getProjectDirectory(args: GetProjectDirectoryArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectDirectoryResult>;
3
+ /**
4
+ * A collection of arguments for invoking getProjectDirectory.
5
+ */
6
+ export interface GetProjectDirectoryArgs {
7
+ path: string;
8
+ }
9
+ /**
10
+ * A collection of values returned by getProjectDirectory.
11
+ */
12
+ export interface GetProjectDirectoryResult {
13
+ /**
14
+ * A map of filename to metadata about the file. The metadata contains the file size and hash, and allows a deployment to be created if the file changes.
15
+ */
16
+ readonly files: {
17
+ [key: string]: string;
18
+ };
19
+ /**
20
+ * The ID of this resource.
21
+ */
22
+ readonly id: string;
23
+ readonly path: string;
24
+ }
25
+ export declare function getProjectDirectoryOutput(args: GetProjectDirectoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectDirectoryResult>;
26
+ /**
27
+ * A collection of arguments for invoking getProjectDirectory.
28
+ */
29
+ export interface GetProjectDirectoryOutputArgs {
30
+ path: pulumi.Input<string>;
31
+ }
@@ -0,0 +1,19 @@
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.getProjectDirectoryOutput = exports.getProjectDirectory = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getProjectDirectory(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("vercel:index/getProjectDirectory:getProjectDirectory", {
11
+ "path": args.path,
12
+ }, opts);
13
+ }
14
+ exports.getProjectDirectory = getProjectDirectory;
15
+ function getProjectDirectoryOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getProjectDirectory(a, opts));
17
+ }
18
+ exports.getProjectDirectoryOutput = getProjectDirectoryOutput;
19
+ //# sourceMappingURL=getProjectDirectory.js.map
@@ -0,0 +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;IAE1F,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;AAND,kDAMC;AAuBD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
package/index.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ export { AliasArgs, AliasState } from "./alias";
2
+ export type Alias = import("./alias").Alias;
3
+ export declare const Alias: typeof import("./alias").Alias;
4
+ export { DeploymentArgs, DeploymentState } from "./deployment";
5
+ export type Deployment = import("./deployment").Deployment;
6
+ export declare const Deployment: typeof import("./deployment").Deployment;
7
+ export { DnsRecordArgs, DnsRecordState } from "./dnsRecord";
8
+ export type DnsRecord = import("./dnsRecord").DnsRecord;
9
+ export declare const DnsRecord: typeof import("./dnsRecord").DnsRecord;
10
+ export { GetAliasArgs, GetAliasResult, GetAliasOutputArgs } from "./getAlias";
11
+ export declare const getAlias: typeof import("./getAlias").getAlias;
12
+ export declare const getAliasOutput: typeof import("./getAlias").getAliasOutput;
13
+ export { GetFileArgs, GetFileResult, GetFileOutputArgs } from "./getFile";
14
+ export declare const getFile: typeof import("./getFile").getFile;
15
+ export declare const getFileOutput: typeof import("./getFile").getFileOutput;
16
+ export { GetPrebuiltProjectArgs, GetPrebuiltProjectResult, GetPrebuiltProjectOutputArgs } from "./getPrebuiltProject";
17
+ export declare const getPrebuiltProject: typeof import("./getPrebuiltProject").getPrebuiltProject;
18
+ export declare const getPrebuiltProjectOutput: typeof import("./getPrebuiltProject").getPrebuiltProjectOutput;
19
+ export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
20
+ export declare const getProject: typeof import("./getProject").getProject;
21
+ export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
22
+ export { GetProjectDirectoryArgs, GetProjectDirectoryResult, GetProjectDirectoryOutputArgs } from "./getProjectDirectory";
23
+ export declare const getProjectDirectory: typeof import("./getProjectDirectory").getProjectDirectory;
24
+ export declare const getProjectDirectoryOutput: typeof import("./getProjectDirectory").getProjectDirectoryOutput;
25
+ export { ProjectArgs, ProjectState } from "./project";
26
+ export type Project = import("./project").Project;
27
+ export declare const Project: typeof import("./project").Project;
28
+ export { ProjectDomainArgs, ProjectDomainState } from "./projectDomain";
29
+ export type ProjectDomain = import("./projectDomain").ProjectDomain;
30
+ export declare const ProjectDomain: typeof import("./projectDomain").ProjectDomain;
31
+ export { ProjectEnvironmentVariableArgs, ProjectEnvironmentVariableState } from "./projectEnvironmentVariable";
32
+ export type ProjectEnvironmentVariable = import("./projectEnvironmentVariable").ProjectEnvironmentVariable;
33
+ export declare const ProjectEnvironmentVariable: typeof import("./projectEnvironmentVariable").ProjectEnvironmentVariable;
34
+ export { ProviderArgs } from "./provider";
35
+ export type Provider = import("./provider").Provider;
36
+ export declare const Provider: typeof import("./provider").Provider;
37
+ export { SharedEnvironmentVariableArgs, SharedEnvironmentVariableState } from "./sharedEnvironmentVariable";
38
+ export type SharedEnvironmentVariable = import("./sharedEnvironmentVariable").SharedEnvironmentVariable;
39
+ export declare const SharedEnvironmentVariable: typeof import("./sharedEnvironmentVariable").SharedEnvironmentVariable;
40
+ import * as config from "./config";
41
+ import * as types from "./types";
42
+ export { config, types, };
package/index.js ADDED
@@ -0,0 +1,83 @@
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.types = exports.config = exports.SharedEnvironmentVariable = exports.Provider = exports.ProjectEnvironmentVariable = exports.ProjectDomain = exports.Project = exports.getProjectDirectoryOutput = exports.getProjectDirectory = exports.getProjectOutput = exports.getProject = exports.getPrebuiltProjectOutput = exports.getPrebuiltProject = exports.getFileOutput = exports.getFile = exports.getAliasOutput = exports.getAlias = exports.DnsRecord = exports.Deployment = exports.Alias = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ exports.Alias = null;
9
+ utilities.lazyLoad(exports, ["Alias"], () => require("./alias"));
10
+ exports.Deployment = null;
11
+ utilities.lazyLoad(exports, ["Deployment"], () => require("./deployment"));
12
+ exports.DnsRecord = null;
13
+ utilities.lazyLoad(exports, ["DnsRecord"], () => require("./dnsRecord"));
14
+ exports.getAlias = null;
15
+ exports.getAliasOutput = null;
16
+ utilities.lazyLoad(exports, ["getAlias", "getAliasOutput"], () => require("./getAlias"));
17
+ exports.getFile = null;
18
+ exports.getFileOutput = null;
19
+ utilities.lazyLoad(exports, ["getFile", "getFileOutput"], () => require("./getFile"));
20
+ exports.getPrebuiltProject = null;
21
+ exports.getPrebuiltProjectOutput = null;
22
+ utilities.lazyLoad(exports, ["getPrebuiltProject", "getPrebuiltProjectOutput"], () => require("./getPrebuiltProject"));
23
+ exports.getProject = null;
24
+ exports.getProjectOutput = null;
25
+ utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
26
+ exports.getProjectDirectory = null;
27
+ exports.getProjectDirectoryOutput = null;
28
+ utilities.lazyLoad(exports, ["getProjectDirectory", "getProjectDirectoryOutput"], () => require("./getProjectDirectory"));
29
+ exports.Project = null;
30
+ utilities.lazyLoad(exports, ["Project"], () => require("./project"));
31
+ exports.ProjectDomain = null;
32
+ utilities.lazyLoad(exports, ["ProjectDomain"], () => require("./projectDomain"));
33
+ exports.ProjectEnvironmentVariable = null;
34
+ utilities.lazyLoad(exports, ["ProjectEnvironmentVariable"], () => require("./projectEnvironmentVariable"));
35
+ exports.Provider = null;
36
+ utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
37
+ exports.SharedEnvironmentVariable = null;
38
+ utilities.lazyLoad(exports, ["SharedEnvironmentVariable"], () => require("./sharedEnvironmentVariable"));
39
+ // Export sub-modules:
40
+ const config = require("./config");
41
+ exports.config = config;
42
+ const types = require("./types");
43
+ exports.types = types;
44
+ const _module = {
45
+ version: utilities.getVersion(),
46
+ construct: (name, type, urn) => {
47
+ switch (type) {
48
+ case "vercel:index/alias:Alias":
49
+ return new exports.Alias(name, undefined, { urn });
50
+ case "vercel:index/deployment:Deployment":
51
+ return new exports.Deployment(name, undefined, { urn });
52
+ case "vercel:index/dnsRecord:DnsRecord":
53
+ return new exports.DnsRecord(name, undefined, { urn });
54
+ case "vercel:index/project:Project":
55
+ return new exports.Project(name, undefined, { urn });
56
+ case "vercel:index/projectDomain:ProjectDomain":
57
+ return new exports.ProjectDomain(name, undefined, { urn });
58
+ case "vercel:index/projectEnvironmentVariable:ProjectEnvironmentVariable":
59
+ return new exports.ProjectEnvironmentVariable(name, undefined, { urn });
60
+ case "vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable":
61
+ return new exports.SharedEnvironmentVariable(name, undefined, { urn });
62
+ default:
63
+ throw new Error(`unknown resource type ${type}`);
64
+ }
65
+ },
66
+ };
67
+ pulumi.runtime.registerResourceModule("vercel", "index/alias", _module);
68
+ pulumi.runtime.registerResourceModule("vercel", "index/deployment", _module);
69
+ pulumi.runtime.registerResourceModule("vercel", "index/dnsRecord", _module);
70
+ pulumi.runtime.registerResourceModule("vercel", "index/project", _module);
71
+ pulumi.runtime.registerResourceModule("vercel", "index/projectDomain", _module);
72
+ pulumi.runtime.registerResourceModule("vercel", "index/projectEnvironmentVariable", _module);
73
+ pulumi.runtime.registerResourceModule("vercel", "index/sharedEnvironmentVariable", _module);
74
+ pulumi.runtime.registerResourcePackage("vercel", {
75
+ version: utilities.getVersion(),
76
+ constructProvider: (name, type, urn) => {
77
+ if (type !== "pulumi:providers:vercel") {
78
+ throw new Error(`unknown provider type ${type}`);
79
+ }
80
+ return new exports.Provider(name, undefined, { urn });
81
+ },
82
+ });
83
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +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,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,O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,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@pulumiverse/vercel",
3
+ "version": "v0.15.0",
4
+ "keywords": [
5
+ "pulumi",
6
+ "vercel",
7
+ "category/cloud"
8
+ ],
9
+ "repository": "https://github.com/pulumiverse/pulumi-vercel",
10
+ "license": "Apache-2.0",
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "install": "node scripts/install-pulumi-plugin.js resource vercel v0.15.0"
14
+ },
15
+ "dependencies": {
16
+ "@pulumi/pulumi": "^3.0.0"
17
+ },
18
+ "devDependencies": {
19
+ "@types/mime": "^2.0.0",
20
+ "@types/node": "^10.0.0",
21
+ "typescript": "^4.3.5"
22
+ },
23
+ "pulumi": {
24
+ "resource": true,
25
+ "name": "vercel",
26
+ "server": "github://api.github.com/pulumiverse"
27
+ }
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@pulumiverse/vercel",
3
+ "version": "${VERSION}",
4
+ "keywords": [
5
+ "pulumi",
6
+ "vercel",
7
+ "category/cloud"
8
+ ],
9
+ "repository": "https://github.com/pulumiverse/pulumi-vercel",
10
+ "license": "Apache-2.0",
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "install": "node scripts/install-pulumi-plugin.js resource vercel ${VERSION}"
14
+ },
15
+ "dependencies": {
16
+ "@pulumi/pulumi": "^3.0.0"
17
+ },
18
+ "devDependencies": {
19
+ "@types/mime": "^2.0.0",
20
+ "@types/node": "^10.0.0",
21
+ "typescript": "^4.3.5"
22
+ },
23
+ "pulumi": {
24
+ "resource": true,
25
+ "name": "vercel",
26
+ "server": "github://api.github.com/pulumiverse"
27
+ }
28
+ }