@pulumiverse/vercel 1.15.0 → 2.9.0-alpha.1747137905

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 (133) hide show
  1. package/accessGroup.d.ts +35 -6
  2. package/accessGroup.js +32 -0
  3. package/accessGroup.js.map +1 -1
  4. package/accessGroupProject.d.ts +41 -6
  5. package/accessGroupProject.js +38 -0
  6. package/accessGroupProject.js.map +1 -1
  7. package/alias.d.ts +8 -6
  8. package/alias.js +5 -0
  9. package/alias.js.map +1 -1
  10. package/attackChallengeMode.d.ts +33 -6
  11. package/attackChallengeMode.js +30 -0
  12. package/attackChallengeMode.js.map +1 -1
  13. package/customEnvironment.d.ts +56 -6
  14. package/customEnvironment.js +53 -0
  15. package/customEnvironment.js.map +1 -1
  16. package/deployment.d.ts +17 -34
  17. package/deployment.js.map +1 -1
  18. package/dnsRecord.d.ts +135 -30
  19. package/dnsRecord.js +105 -0
  20. package/dnsRecord.js.map +1 -1
  21. package/edgeConfig.d.ts +54 -6
  22. package/edgeConfig.js +51 -0
  23. package/edgeConfig.js.map +1 -1
  24. package/edgeConfigItem.d.ts +50 -6
  25. package/edgeConfigItem.js +47 -0
  26. package/edgeConfigItem.js.map +1 -1
  27. package/edgeConfigSchema.d.ts +28 -6
  28. package/edgeConfigSchema.js +25 -0
  29. package/edgeConfigSchema.js.map +1 -1
  30. package/edgeConfigToken.d.ts +62 -10
  31. package/edgeConfigToken.js +57 -0
  32. package/edgeConfigToken.js.map +1 -1
  33. package/firewallConfig.d.ts +9 -0
  34. package/firewallConfig.js +9 -0
  35. package/firewallConfig.js.map +1 -1
  36. package/getAccessGroup.d.ts +53 -0
  37. package/getAccessGroup.js +32 -0
  38. package/getAccessGroup.js.map +1 -1
  39. package/getAccessGroupProject.d.ts +70 -0
  40. package/getAccessGroupProject.js +40 -0
  41. package/getAccessGroupProject.js.map +1 -1
  42. package/getAlias.d.ts +34 -0
  43. package/getAlias.js +10 -0
  44. package/getAlias.js.map +1 -1
  45. package/getAttackChallengeMode.d.ts +56 -0
  46. package/getAttackChallengeMode.js +32 -0
  47. package/getAttackChallengeMode.js.map +1 -1
  48. package/getCustomEnvironment.d.ts +76 -0
  49. package/getCustomEnvironment.js +40 -0
  50. package/getCustomEnvironment.js.map +1 -1
  51. package/getDeployment.d.ts +65 -0
  52. package/getDeployment.js +32 -0
  53. package/getDeployment.js.map +1 -1
  54. package/getEdgeConfig.d.ts +53 -0
  55. package/getEdgeConfig.js +32 -0
  56. package/getEdgeConfig.js.map +1 -1
  57. package/getEdgeConfigItem.d.ts +74 -0
  58. package/getEdgeConfigItem.js +44 -0
  59. package/getEdgeConfigItem.js.map +1 -1
  60. package/getEdgeConfigSchema.d.ts +49 -0
  61. package/getEdgeConfigSchema.js +28 -0
  62. package/getEdgeConfigSchema.js.map +1 -1
  63. package/getEdgeConfigToken.d.ts +74 -0
  64. package/getEdgeConfigToken.js +38 -0
  65. package/getEdgeConfigToken.js.map +1 -1
  66. package/getEndpointVerification.d.ts +39 -0
  67. package/getEndpointVerification.js +24 -0
  68. package/getEndpointVerification.js.map +1 -1
  69. package/getFile.d.ts +58 -0
  70. package/getFile.js +52 -0
  71. package/getFile.js.map +1 -1
  72. package/getLogDrain.d.ts +81 -0
  73. package/getLogDrain.js +36 -0
  74. package/getLogDrain.js.map +1 -1
  75. package/getPrebuiltProject.d.ts +6 -0
  76. package/getPrebuiltProject.js.map +1 -1
  77. package/getProject.d.ts +147 -0
  78. package/getProject.js +36 -0
  79. package/getProject.js.map +1 -1
  80. package/getProjectDeploymentRetention.d.ts +47 -0
  81. package/getProjectDeploymentRetention.js +14 -0
  82. package/getProjectDeploymentRetention.js.map +1 -1
  83. package/getProjectDirectory.d.ts +6 -0
  84. package/getProjectDirectory.js.map +1 -1
  85. package/getProjectMembers.d.ts +55 -0
  86. package/getProjectMembers.js +34 -0
  87. package/getProjectMembers.js.map +1 -1
  88. package/getSharedEnvironmentVariable.d.ts +106 -0
  89. package/getSharedEnvironmentVariable.js +58 -0
  90. package/getSharedEnvironmentVariable.js.map +1 -1
  91. package/getTeamConfig.d.ts +76 -0
  92. package/getTeamConfig.js +28 -0
  93. package/getTeamConfig.js.map +1 -1
  94. package/getTeamMember.d.ts +60 -0
  95. package/getTeamMember.js +30 -0
  96. package/getTeamMember.js.map +1 -1
  97. package/logDrain.d.ts +76 -42
  98. package/logDrain.js +58 -0
  99. package/logDrain.js.map +1 -1
  100. package/package.json +3 -2
  101. package/project.d.ts +94 -108
  102. package/project.js +49 -0
  103. package/project.js.map +1 -1
  104. package/projectDeploymentRetention.d.ts +54 -0
  105. package/projectDeploymentRetention.js +54 -0
  106. package/projectDeploymentRetention.js.map +1 -1
  107. package/projectDomain.d.ts +58 -12
  108. package/projectDomain.js +52 -0
  109. package/projectDomain.js.map +1 -1
  110. package/projectEnvironmentVariable.d.ts +94 -18
  111. package/projectEnvironmentVariable.js +85 -0
  112. package/projectEnvironmentVariable.js.map +1 -1
  113. package/projectEnvironmentVariables.d.ts +3 -0
  114. package/projectEnvironmentVariables.js +3 -0
  115. package/projectEnvironmentVariables.js.map +1 -1
  116. package/projectMembers.d.ts +26 -6
  117. package/projectMembers.js +23 -0
  118. package/projectMembers.js.map +1 -1
  119. package/sharedEnvironmentVariable.d.ts +53 -12
  120. package/sharedEnvironmentVariable.js +47 -0
  121. package/sharedEnvironmentVariable.js.map +1 -1
  122. package/teamConfig.d.ts +6 -6
  123. package/teamConfig.js +3 -0
  124. package/teamConfig.js.map +1 -1
  125. package/teamMember.d.ts +33 -18
  126. package/teamMember.js +24 -0
  127. package/teamMember.js.map +1 -1
  128. package/types/input.d.ts +2 -2
  129. package/types/output.d.ts +3 -3
  130. package/webhook.d.ts +43 -18
  131. package/webhook.js +35 -0
  132. package/webhook.js.map +1 -1
  133. package/package.json.bak +0 -27
@@ -1,4 +1,51 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Shared Environment Variable resource.
4
+ *
5
+ * A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
6
+ *
7
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vercel from "@pulumiverse/vercel";
14
+ *
15
+ * const example = new vercel.Project("example", {
16
+ * name: "example",
17
+ * gitRepository: {
18
+ * type: "github",
19
+ * repo: "vercel/some-repo",
20
+ * },
21
+ * });
22
+ * // A shared environment variable that will be created
23
+ * // and associated with the "example" project.
24
+ * const exampleSharedEnvironmentVariable = new vercel.SharedEnvironmentVariable("example", {
25
+ * key: "EXAMPLE",
26
+ * value: "some_value",
27
+ * targets: ["production"],
28
+ * comment: "an example shared variable",
29
+ * projectIds: [example.id],
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * You can import via the team_id and environment variable id.
36
+ *
37
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
38
+ *
39
+ * - environment variable id can be taken from the network tab inside developer tools, while you are on the project page.
40
+ *
41
+ * #
42
+ *
43
+ * Note also, that the value field for sensitive environment variables will be imported as `null`.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
47
+ * ```
48
+ */
2
49
  export declare class SharedEnvironmentVariable extends pulumi.CustomResource {
3
50
  /**
4
51
  * Get an existing SharedEnvironmentVariable resource's state with the given name, ID, and optional extra
@@ -28,13 +75,11 @@ export declare class SharedEnvironmentVariable extends pulumi.CustomResource {
28
75
  */
29
76
  readonly projectIds: pulumi.Output<string[]>;
30
77
  /**
31
- * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable
32
- * policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
78
+ * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
33
79
  */
34
80
  readonly sensitive: pulumi.Output<boolean>;
35
81
  /**
36
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`,
37
- * or `development`.
82
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
38
83
  */
39
84
  readonly targets: pulumi.Output<string[]>;
40
85
  /**
@@ -71,13 +116,11 @@ export interface SharedEnvironmentVariableState {
71
116
  */
72
117
  projectIds?: pulumi.Input<pulumi.Input<string>[]>;
73
118
  /**
74
- * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable
75
- * policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
119
+ * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
76
120
  */
77
121
  sensitive?: pulumi.Input<boolean>;
78
122
  /**
79
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`,
80
- * or `development`.
123
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
81
124
  */
82
125
  targets?: pulumi.Input<pulumi.Input<string>[]>;
83
126
  /**
@@ -106,13 +149,11 @@ export interface SharedEnvironmentVariableArgs {
106
149
  */
107
150
  projectIds: pulumi.Input<pulumi.Input<string>[]>;
108
151
  /**
109
- * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable
110
- * policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
152
+ * Whether the Environment Variable is sensitive or not. (May be affected by a [team-wide environment variable policy](https://vercel.com/docs/projects/environment-variables/sensitive-environment-variables#environment-variables-policy))
111
153
  */
112
154
  sensitive?: pulumi.Input<boolean>;
113
155
  /**
114
- * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`,
115
- * or `development`.
156
+ * The environments that the Environment Variable should be present on. Valid targets are either `production`, `preview`, or `development`.
116
157
  */
117
158
  targets: pulumi.Input<pulumi.Input<string>[]>;
118
159
  /**
@@ -5,6 +5,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.SharedEnvironmentVariable = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Shared Environment Variable resource.
10
+ *
11
+ * A Shared Environment Variable resource defines an Environment Variable that can be shared between multiple Vercel Projects.
12
+ *
13
+ * For more detailed information, please see the [Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables/shared-environment-variables).
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vercel from "@pulumiverse/vercel";
20
+ *
21
+ * const example = new vercel.Project("example", {
22
+ * name: "example",
23
+ * gitRepository: {
24
+ * type: "github",
25
+ * repo: "vercel/some-repo",
26
+ * },
27
+ * });
28
+ * // A shared environment variable that will be created
29
+ * // and associated with the "example" project.
30
+ * const exampleSharedEnvironmentVariable = new vercel.SharedEnvironmentVariable("example", {
31
+ * key: "EXAMPLE",
32
+ * value: "some_value",
33
+ * targets: ["production"],
34
+ * comment: "an example shared variable",
35
+ * projectIds: [example.id],
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * You can import via the team_id and environment variable id.
42
+ *
43
+ * - team_id can be found in the team `settings` tab in the Vercel UI.
44
+ *
45
+ * - environment variable id can be taken from the network tab inside developer tools, while you are on the project page.
46
+ *
47
+ * #
48
+ *
49
+ * Note also, that the value field for sensitive environment variables will be imported as `null`.
50
+ *
51
+ * ```sh
52
+ * $ pulumi import vercel:index/sharedEnvironmentVariable:SharedEnvironmentVariable example team_xxxxxxxxxxxxxxxxxxxxxxxx/env_yyyyyyyyyyyyy
53
+ * ```
54
+ */
8
55
  class SharedEnvironmentVariable extends pulumi.CustomResource {
9
56
  /**
10
57
  * Get an existing SharedEnvironmentVariable resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"sharedEnvironmentVariable.js","sourceRoot":"","sources":["../sharedEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAyCD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,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S,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,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,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAvGL,8DAwGC;AA1FG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
package/teamConfig.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
+ /**
5
+ * Manages the configuration of an existing Vercel Team.
6
+ */
4
7
  export declare class TeamConfig extends pulumi.CustomResource {
5
8
  /**
6
9
  * Get an existing TeamConfig resource's state with the given name, ID, and optional extra
@@ -68,8 +71,7 @@ export declare class TeamConfig extends pulumi.CustomResource {
68
71
  */
69
72
  readonly saml: pulumi.Output<outputs.TeamConfigSaml>;
70
73
  /**
71
- * Ensures that all environment variables created by members of this team will be created as Sensitive Environment
72
- * Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
74
+ * Ensures that all environment variables created by members of this team will be created as Sensitive Environment Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
73
75
  */
74
76
  readonly sensitiveEnvironmentVariablePolicy: pulumi.Output<string>;
75
77
  /**
@@ -140,8 +142,7 @@ export interface TeamConfigState {
140
142
  */
141
143
  saml?: pulumi.Input<inputs.TeamConfigSaml>;
142
144
  /**
143
- * Ensures that all environment variables created by members of this team will be created as Sensitive Environment
144
- * Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
145
+ * Ensures that all environment variables created by members of this team will be created as Sensitive Environment Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
145
146
  */
146
147
  sensitiveEnvironmentVariablePolicy?: pulumi.Input<string>;
147
148
  /**
@@ -200,8 +201,7 @@ export interface TeamConfigArgs {
200
201
  */
201
202
  saml?: pulumi.Input<inputs.TeamConfigSaml>;
202
203
  /**
203
- * Ensures that all environment variables created by members of this team will be created as Sensitive Environment
204
- * Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
204
+ * Ensures that all environment variables created by members of this team will be created as Sensitive Environment Variables which can only be decrypted by Vercel's deployment system.: one of on, off or default.
205
205
  */
206
206
  sensitiveEnvironmentVariablePolicy?: pulumi.Input<string>;
207
207
  /**
package/teamConfig.js CHANGED
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TeamConfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Manages the configuration of an existing Vercel Team.
10
+ */
8
11
  class TeamConfig extends pulumi.CustomResource {
9
12
  /**
10
13
  * Get an existing TeamConfig resource's state with the given name, ID, and optional extra
package/teamConfig.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"teamConfig.js","sourceRoot":"","sources":["../teamConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAoED,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAA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IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,oCAAoC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClH,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AAnIL,gCAoIC;AAtHG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
package/teamMember.d.ts CHANGED
@@ -1,6 +1,30 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
+ /**
5
+ * Provider a resource for managing a team member.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as vercel from "@pulumiverse/vercel";
12
+ *
13
+ * const example = new vercel.TeamMember("example", {
14
+ * teamId: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
15
+ * userId: "uuuuuuuuuuuuuuuuuuuuuuuuuu",
16
+ * role: "MEMBER",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * To import, use the team_id and user_id.
23
+ *
24
+ * ```sh
25
+ * $ pulumi import vercel:index/teamMember:TeamMember example team_xxxxxxxxxxxxxxxxxxxxxxxx/uuuuuuuuuuuuuuuuuuuuuuuuuu
26
+ * ```
27
+ */
4
28
  export declare class TeamMember extends pulumi.CustomResource {
5
29
  /**
6
30
  * Get an existing TeamMember resource's state with the given name, ID, and optional extra
@@ -18,18 +42,15 @@ export declare class TeamMember extends pulumi.CustomResource {
18
42
  */
19
43
  static isInstance(obj: any): obj is TeamMember;
20
44
  /**
21
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
22
- * specified. A set of access groups IDs that the user should be granted access to.
45
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of access groups IDs that the user should be granted access to.
23
46
  */
24
47
  readonly accessGroups: pulumi.Output<string[]>;
25
48
  /**
26
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
27
- * specified. A set of projects that the user should be granted access to, along with their role in each project.
49
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of projects that the user should be granted access to, along with their role in each project.
28
50
  */
29
51
  readonly projects: pulumi.Output<outputs.TeamMemberProject[]>;
30
52
  /**
31
- * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
32
- * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
53
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
33
54
  */
34
55
  readonly role: pulumi.Output<string>;
35
56
  /**
@@ -54,18 +75,15 @@ export declare class TeamMember extends pulumi.CustomResource {
54
75
  */
55
76
  export interface TeamMemberState {
56
77
  /**
57
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
58
- * specified. A set of access groups IDs that the user should be granted access to.
78
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of access groups IDs that the user should be granted access to.
59
79
  */
60
80
  accessGroups?: pulumi.Input<pulumi.Input<string>[]>;
61
81
  /**
62
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
63
- * specified. A set of projects that the user should be granted access to, along with their role in each project.
82
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of projects that the user should be granted access to, along with their role in each project.
64
83
  */
65
84
  projects?: pulumi.Input<pulumi.Input<inputs.TeamMemberProject>[]>;
66
85
  /**
67
- * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
68
- * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
86
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
69
87
  */
70
88
  role?: pulumi.Input<string>;
71
89
  /**
@@ -82,18 +100,15 @@ export interface TeamMemberState {
82
100
  */
83
101
  export interface TeamMemberArgs {
84
102
  /**
85
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
86
- * specified. A set of access groups IDs that the user should be granted access to.
103
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of access groups IDs that the user should be granted access to.
87
104
  */
88
105
  accessGroups?: pulumi.Input<pulumi.Input<string>[]>;
89
106
  /**
90
- * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be
91
- * specified. A set of projects that the user should be granted access to, along with their role in each project.
107
+ * If access groups are enabled on the team, and the user is a CONTRIBUTOR, `projects`, `accessGroups` or both must be specified. A set of projects that the user should be granted access to, along with their role in each project.
92
108
  */
93
109
  projects?: pulumi.Input<pulumi.Input<inputs.TeamMemberProject>[]>;
94
110
  /**
95
- * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or
96
- * 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
111
+ * The role that the user should have in the project. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'. Depending on your Team's plan, some of these roles may be unavailable.
97
112
  */
98
113
  role: pulumi.Input<string>;
99
114
  /**
package/teamMember.js CHANGED
@@ -5,6 +5,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.TeamMember = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Provider a resource for managing a team member.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as vercel from "@pulumiverse/vercel";
16
+ *
17
+ * const example = new vercel.TeamMember("example", {
18
+ * teamId: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
19
+ * userId: "uuuuuuuuuuuuuuuuuuuuuuuuuu",
20
+ * role: "MEMBER",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * To import, use the team_id and user_id.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import vercel:index/teamMember:TeamMember example team_xxxxxxxxxxxxxxxxxxxxxxxx/uuuuuuuuuuuuuuuuuuuuuuuuuu
30
+ * ```
31
+ */
8
32
  class TeamMember extends pulumi.CustomResource {
9
33
  /**
10
34
  * Get an existing TeamMember resource's state with the given name, ID, and optional extra
package/teamMember.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"teamMember.js","sourceRoot":"","sources":["../teamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAkCD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAA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AAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtFL,gCAuFC;AAzEG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
package/types/input.d.ts CHANGED
@@ -187,7 +187,7 @@ export interface FirewallConfigRulesRuleAction {
187
187
  */
188
188
  actionDuration?: pulumi.Input<string>;
189
189
  /**
190
- * Behavior or a rate limiting action. Required if action is rate_limit
190
+ * Behavior or a rate limiting action. Required if action is rate*limit
191
191
  */
192
192
  rateLimit?: pulumi.Input<inputs.FirewallConfigRulesRuleActionRateLimit>;
193
193
  /**
@@ -363,7 +363,7 @@ export interface ProjectMembersMember {
363
363
  */
364
364
  email?: pulumi.Input<string>;
365
365
  /**
366
- * The role that the user should have in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
366
+ * The role that the user should have in the project. One of 'MEMBER', 'PROJECT*DEVELOPER', or 'PROJECT*VIEWER'.
367
367
  */
368
368
  role: pulumi.Input<string>;
369
369
  /**
package/types/output.d.ts CHANGED
@@ -186,7 +186,7 @@ export interface FirewallConfigRulesRuleAction {
186
186
  */
187
187
  actionDuration?: string;
188
188
  /**
189
- * Behavior or a rate limiting action. Required if action is rate_limit
189
+ * Behavior or a rate limiting action. Required if action is rate*limit
190
190
  */
191
191
  rateLimit?: outputs.FirewallConfigRulesRuleActionRateLimit;
192
192
  /**
@@ -338,7 +338,7 @@ export interface GetProjectMembersMember {
338
338
  */
339
339
  email: string;
340
340
  /**
341
- * The role of the user in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
341
+ * The role of the user in the project. One of 'MEMBER', 'PROJECT*DEVELOPER', or 'PROJECT*VIEWER'.
342
342
  */
343
343
  role: string;
344
344
  /**
@@ -561,7 +561,7 @@ export interface ProjectMembersMember {
561
561
  */
562
562
  email: string;
563
563
  /**
564
- * The role that the user should have in the project. One of 'MEMBER', 'PROJECT_DEVELOPER', or 'PROJECT_VIEWER'.
564
+ * The role that the user should have in the project. One of 'MEMBER', 'PROJECT*DEVELOPER', or 'PROJECT*VIEWER'.
565
565
  */
566
566
  role: string;
567
567
  /**
package/webhook.d.ts CHANGED
@@ -1,4 +1,39 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * A webhook is a trigger-based HTTP endpoint configured to receive HTTP POST requests through events.
4
+ *
5
+ * When an event happens, a webhook is sent to a third-party app, which can then take appropriate action.
6
+ *
7
+ * > Only Pro and Enterprise teams are able to configure these webhooks at the account level.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as vercel from "@pulumiverse/vercel";
14
+ *
15
+ * const example = new vercel.Project("example", {name: "example-project"});
16
+ * const example2 = new vercel.Project("example2", {name: "another-example-project"});
17
+ * const withProjectIds = new vercel.Webhook("with_project_ids", {
18
+ * events: [
19
+ * "deployment.created",
20
+ * "deployment.succeeded",
21
+ * ],
22
+ * endpoint: "https://example.com/endpoint",
23
+ * projectIds: [
24
+ * example.id,
25
+ * example2.id,
26
+ * ],
27
+ * });
28
+ * const withoutProjectIds = new vercel.Webhook("without_project_ids", {
29
+ * events: [
30
+ * "deployment.created",
31
+ * "deployment.succeeded",
32
+ * ],
33
+ * endpoint: "https://example.com/endpoint",
34
+ * });
35
+ * ```
36
+ */
2
37
  export declare class Webhook extends pulumi.CustomResource {
3
38
  /**
4
39
  * Get an existing Webhook resource's state with the given name, ID, and optional extra
@@ -24,19 +59,15 @@ export declare class Webhook extends pulumi.CustomResource {
24
59
  */
25
60
  readonly events: pulumi.Output<string[]>;
26
61
  /**
27
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
28
- * endpoint.
62
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
29
63
  */
30
64
  readonly projectIds: pulumi.Output<string[] | undefined>;
31
65
  /**
32
- * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of
33
- * the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further
34
- * details.
66
+ * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further details.
35
67
  */
36
68
  readonly secret: pulumi.Output<string>;
37
69
  /**
38
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
39
- * been set in the provider.
70
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
40
71
  */
41
72
  readonly teamId: pulumi.Output<string>;
42
73
  /**
@@ -61,19 +92,15 @@ export interface WebhookState {
61
92
  */
62
93
  events?: pulumi.Input<pulumi.Input<string>[]>;
63
94
  /**
64
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
65
- * endpoint.
95
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
66
96
  */
67
97
  projectIds?: pulumi.Input<pulumi.Input<string>[]>;
68
98
  /**
69
- * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of
70
- * the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further
71
- * details.
99
+ * A secret value which will be provided in the `x-vercel-signature` header and can be used to verify the authenticity of the webhook. See https://vercel.com/docs/observability/webhooks-overview/webhooks-api#securing-webhooks for further details.
72
100
  */
73
101
  secret?: pulumi.Input<string>;
74
102
  /**
75
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
76
- * been set in the provider.
103
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
77
104
  */
78
105
  teamId?: pulumi.Input<string>;
79
106
  }
@@ -90,13 +117,11 @@ export interface WebhookArgs {
90
117
  */
91
118
  events: pulumi.Input<pulumi.Input<string>[]>;
92
119
  /**
93
- * A list of project IDs that the webhook should be associated with. These projects should send events to the specified
94
- * endpoint.
120
+ * A list of project IDs that the webhook should be associated with. These projects should send events to the specified endpoint.
95
121
  */
96
122
  projectIds?: pulumi.Input<pulumi.Input<string>[]>;
97
123
  /**
98
- * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not
99
- * been set in the provider.
124
+ * The ID of the team the Webhook should exist under. Required when configuring a team resource if a default team has not been set in the provider.
100
125
  */
101
126
  teamId?: pulumi.Input<string>;
102
127
  }
package/webhook.js CHANGED
@@ -5,6 +5,41 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Webhook = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * A webhook is a trigger-based HTTP endpoint configured to receive HTTP POST requests through events.
10
+ *
11
+ * When an event happens, a webhook is sent to a third-party app, which can then take appropriate action.
12
+ *
13
+ * > Only Pro and Enterprise teams are able to configure these webhooks at the account level.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as vercel from "@pulumiverse/vercel";
20
+ *
21
+ * const example = new vercel.Project("example", {name: "example-project"});
22
+ * const example2 = new vercel.Project("example2", {name: "another-example-project"});
23
+ * const withProjectIds = new vercel.Webhook("with_project_ids", {
24
+ * events: [
25
+ * "deployment.created",
26
+ * "deployment.succeeded",
27
+ * ],
28
+ * endpoint: "https://example.com/endpoint",
29
+ * projectIds: [
30
+ * example.id,
31
+ * example2.id,
32
+ * ],
33
+ * });
34
+ * const withoutProjectIds = new vercel.Webhook("without_project_ids", {
35
+ * events: [
36
+ * "deployment.created",
37
+ * "deployment.succeeded",
38
+ * ],
39
+ * endpoint: "https://example.com/endpoint",
40
+ * });
41
+ * ```
42
+ */
8
43
  class Webhook extends pulumi.CustomResource {
9
44
  /**
10
45
  * Get an existing Webhook resource's state with the given name, ID, and optional extra
package/webhook.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../webhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArFL,0BAsFC;AAxEG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
package/package.json.bak DELETED
@@ -1,27 +0,0 @@
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
- },
14
- "dependencies": {
15
- "@pulumi/pulumi": "^3.0.0"
16
- },
17
- "devDependencies": {
18
- "@types/mime": "^2.0.0",
19
- "@types/node": "^10.0.0",
20
- "typescript": "^4.3.5"
21
- },
22
- "pulumi": {
23
- "resource": true,
24
- "name": "vercel",
25
- "server": "github://api.github.com/pulumiverse"
26
- }
27
- }