@pulumiverse/vercel 2.9.0-alpha.1747136220 → 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 (58) hide show
  1. package/accessGroup.d.ts +1 -1
  2. package/accessGroup.js +1 -1
  3. package/accessGroupProject.d.ts +4 -4
  4. package/accessGroupProject.js +4 -4
  5. package/attackChallengeMode.d.ts +3 -3
  6. package/attackChallengeMode.js +3 -3
  7. package/customEnvironment.d.ts +4 -3
  8. package/customEnvironment.js +4 -3
  9. package/customEnvironment.js.map +1 -1
  10. package/dnsRecord.d.ts +20 -12
  11. package/dnsRecord.js +20 -12
  12. package/dnsRecord.js.map +1 -1
  13. package/edgeConfig.d.ts +5 -5
  14. package/edgeConfig.js +5 -5
  15. package/edgeConfigItem.d.ts +3 -3
  16. package/edgeConfigItem.js +3 -3
  17. package/edgeConfigToken.d.ts +5 -5
  18. package/edgeConfigToken.js +5 -5
  19. package/getAccessGroupProject.d.ts +6 -6
  20. package/getAccessGroupProject.js +6 -6
  21. package/getAttackChallengeMode.d.ts +2 -2
  22. package/getAttackChallengeMode.js +2 -2
  23. package/getCustomEnvironment.d.ts +6 -6
  24. package/getCustomEnvironment.js +6 -6
  25. package/getFile.d.ts +14 -10
  26. package/getFile.js +14 -10
  27. package/getFile.js.map +1 -1
  28. package/getProjectMembers.d.ts +6 -6
  29. package/getProjectMembers.js +6 -6
  30. package/getSharedEnvironmentVariable.d.ts +8 -0
  31. package/getSharedEnvironmentVariable.js +8 -0
  32. package/getSharedEnvironmentVariable.js.map +1 -1
  33. package/getTeamMember.d.ts +2 -2
  34. package/getTeamMember.js +2 -2
  35. package/logDrain.d.ts +5 -3
  36. package/logDrain.js +5 -3
  37. package/logDrain.js.map +1 -1
  38. package/package.json +2 -2
  39. package/project.d.ts +7 -3
  40. package/project.js +7 -3
  41. package/project.js.map +1 -1
  42. package/projectDeploymentRetention.d.ts +9 -6
  43. package/projectDeploymentRetention.js +9 -6
  44. package/projectDeploymentRetention.js.map +1 -1
  45. package/projectDomain.d.ts +5 -5
  46. package/projectDomain.js +5 -5
  47. package/projectEnvironmentVariable.d.ts +13 -10
  48. package/projectEnvironmentVariable.js +13 -10
  49. package/projectEnvironmentVariable.js.map +1 -1
  50. package/projectMembers.d.ts +3 -3
  51. package/projectMembers.js +3 -3
  52. package/sharedEnvironmentVariable.d.ts +9 -6
  53. package/sharedEnvironmentVariable.js +9 -6
  54. package/sharedEnvironmentVariable.js.map +1 -1
  55. package/teamMember.d.ts +1 -1
  56. package/teamMember.js +1 -1
  57. package/webhook.d.ts +4 -4
  58. package/webhook.js +4 -4
package/accessGroup.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as vercel from "@pulumiverse/vercel";
14
14
  *
15
- * const example = new vercel.AccessGroup("example", {});
15
+ * const example = new vercel.AccessGroup("example", {name: "example-access-group"});
16
16
  * ```
17
17
  *
18
18
  * ## Import
package/accessGroup.js CHANGED
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as vercel from "@pulumiverse/vercel";
20
20
  *
21
- * const example = new vercel.AccessGroup("example", {});
21
+ * const example = new vercel.AccessGroup("example", {name: "example-access-group"});
22
22
  * ```
23
23
  *
24
24
  * ## Import
@@ -12,10 +12,10 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as vercel from "@pulumiverse/vercel";
14
14
  *
15
- * const exampleProject = new vercel.Project("exampleProject", {});
16
- * const exampleAccessGroup = new vercel.AccessGroup("exampleAccessGroup", {});
17
- * const exampleAccessGroupProject = new vercel.AccessGroupProject("exampleAccessGroupProject", {
18
- * projectId: exampleProject.id,
15
+ * const example = new vercel.Project("example", {name: "example-project"});
16
+ * const exampleAccessGroup = new vercel.AccessGroup("example", {name: "example-access-group"});
17
+ * const exampleAccessGroupProject = new vercel.AccessGroupProject("example", {
18
+ * projectId: example.id,
19
19
  * accessGroupId: exampleAccessGroup.id,
20
20
  * role: "ADMIN",
21
21
  * });
@@ -18,10 +18,10 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as vercel from "@pulumiverse/vercel";
20
20
  *
21
- * const exampleProject = new vercel.Project("exampleProject", {});
22
- * const exampleAccessGroup = new vercel.AccessGroup("exampleAccessGroup", {});
23
- * const exampleAccessGroupProject = new vercel.AccessGroupProject("exampleAccessGroupProject", {
24
- * projectId: exampleProject.id,
21
+ * const example = new vercel.Project("example", {name: "example-project"});
22
+ * const exampleAccessGroup = new vercel.AccessGroup("example", {name: "example-access-group"});
23
+ * const exampleAccessGroupProject = new vercel.AccessGroupProject("example", {
24
+ * projectId: example.id,
25
25
  * accessGroupId: exampleAccessGroup.id,
26
26
  * role: "ADMIN",
27
27
  * });
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as vercel from "@pulumiverse/vercel";
12
12
  *
13
- * const exampleProject = new vercel.Project("exampleProject", {});
14
- * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
15
- * projectId: exampleProject.id,
13
+ * const example = new vercel.Project("example", {name: "example-project"});
14
+ * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("example", {
15
+ * projectId: example.id,
16
16
  * enabled: true,
17
17
  * });
18
18
  * ```
@@ -16,9 +16,9 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumiverse/vercel";
18
18
  *
19
- * const exampleProject = new vercel.Project("exampleProject", {});
20
- * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("exampleAttackChallengeMode", {
21
- * projectId: exampleProject.id,
19
+ * const example = new vercel.Project("example", {name: "example-project"});
20
+ * const exampleAttackChallengeMode = new vercel.AttackChallengeMode("example", {
21
+ * projectId: example.id,
22
22
  * enabled: true,
23
23
  * });
24
24
  * ```
@@ -16,9 +16,10 @@ import * as outputs from "./types/output";
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumiverse/vercel";
18
18
  *
19
- * const exampleProject = new vercel.Project("exampleProject", {});
20
- * const exampleCustomEnvironment = new vercel.CustomEnvironment("exampleCustomEnvironment", {
21
- * projectId: exampleProject.id,
19
+ * const example = new vercel.Project("example", {name: "example-project-with-custom-env"});
20
+ * const exampleCustomEnvironment = new vercel.CustomEnvironment("example", {
21
+ * projectId: example.id,
22
+ * name: "example-custom-env",
22
23
  * description: "A description of the custom environment",
23
24
  * branchTracking: {
24
25
  * pattern: "staging-",
@@ -20,9 +20,10 @@ const utilities = require("./utilities");
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as vercel from "@pulumiverse/vercel";
22
22
  *
23
- * const exampleProject = new vercel.Project("exampleProject", {});
24
- * const exampleCustomEnvironment = new vercel.CustomEnvironment("exampleCustomEnvironment", {
25
- * projectId: exampleProject.id,
23
+ * const example = new vercel.Project("example", {name: "example-project-with-custom-env"});
24
+ * const exampleCustomEnvironment = new vercel.CustomEnvironment("example", {
25
+ * projectId: example.id,
26
+ * name: "example-custom-env",
26
27
  * description: "A description of the custom environment",
27
28
  * branchTracking: {
28
29
  * pattern: "staging-",
@@ -1 +1 @@
1
- {"version":3,"file":"customEnvironment.js","sourceRoot":"","sources":["../customEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,I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;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
package/dnsRecord.d.ts CHANGED
@@ -16,58 +16,66 @@ import * as outputs from "./types/output";
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumiverse/vercel";
18
18
  *
19
- * const dnsRecord = new vercel.DnsRecord("dnsRecord", {
19
+ * const a = new vercel.DnsRecord("a", {
20
20
  * domain: "example.com",
21
- * ttl: 60,
21
+ * name: "subdomain",
22
22
  * type: "A",
23
+ * ttl: 60,
23
24
  * value: "192.168.0.1",
24
25
  * });
25
26
  * const aaaa = new vercel.DnsRecord("aaaa", {
26
27
  * domain: "example.com",
27
- * ttl: 60,
28
+ * name: "subdomain",
28
29
  * type: "AAAA",
30
+ * ttl: 60,
29
31
  * value: "::0",
30
32
  * });
31
33
  * const alias = new vercel.DnsRecord("alias", {
32
34
  * domain: "example.com",
33
- * ttl: 60,
35
+ * name: "subdomain",
34
36
  * type: "ALIAS",
37
+ * ttl: 60,
35
38
  * value: "example2.com.",
36
39
  * });
37
40
  * const caa = new vercel.DnsRecord("caa", {
38
41
  * domain: "example.com",
39
- * ttl: 60,
42
+ * name: "subdomain",
40
43
  * type: "CAA",
44
+ * ttl: 60,
41
45
  * value: "1 issue \"letsencrypt.org\"",
42
46
  * });
43
47
  * const cname = new vercel.DnsRecord("cname", {
44
48
  * domain: "example.com",
45
- * ttl: 60,
49
+ * name: "subdomain",
46
50
  * type: "CNAME",
51
+ * ttl: 60,
47
52
  * value: "example2.com.",
48
53
  * });
49
54
  * const mx = new vercel.DnsRecord("mx", {
50
55
  * domain: "example.com",
51
- * mxPriority: 333,
52
- * ttl: 60,
56
+ * name: "subdomain",
53
57
  * type: "MX",
58
+ * ttl: 60,
59
+ * mxPriority: 333,
54
60
  * value: "example2.com.",
55
61
  * });
56
62
  * const srv = new vercel.DnsRecord("srv", {
57
63
  * domain: "example.com",
64
+ * name: "subdomain",
65
+ * type: "SRV",
66
+ * ttl: 60,
58
67
  * srv: {
59
68
  * port: 6000,
69
+ * weight: 60,
60
70
  * priority: 127,
61
71
  * target: "example2.com.",
62
- * weight: 60,
63
72
  * },
64
- * ttl: 60,
65
- * type: "SRV",
66
73
  * });
67
74
  * const txt = new vercel.DnsRecord("txt", {
68
75
  * domain: "example.com",
69
- * ttl: 60,
76
+ * name: "subdomain",
70
77
  * type: "TXT",
78
+ * ttl: 60,
71
79
  * value: "some text value",
72
80
  * });
73
81
  * ```
package/dnsRecord.js CHANGED
@@ -20,58 +20,66 @@ const utilities = require("./utilities");
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as vercel from "@pulumiverse/vercel";
22
22
  *
23
- * const dnsRecord = new vercel.DnsRecord("dnsRecord", {
23
+ * const a = new vercel.DnsRecord("a", {
24
24
  * domain: "example.com",
25
- * ttl: 60,
25
+ * name: "subdomain",
26
26
  * type: "A",
27
+ * ttl: 60,
27
28
  * value: "192.168.0.1",
28
29
  * });
29
30
  * const aaaa = new vercel.DnsRecord("aaaa", {
30
31
  * domain: "example.com",
31
- * ttl: 60,
32
+ * name: "subdomain",
32
33
  * type: "AAAA",
34
+ * ttl: 60,
33
35
  * value: "::0",
34
36
  * });
35
37
  * const alias = new vercel.DnsRecord("alias", {
36
38
  * domain: "example.com",
37
- * ttl: 60,
39
+ * name: "subdomain",
38
40
  * type: "ALIAS",
41
+ * ttl: 60,
39
42
  * value: "example2.com.",
40
43
  * });
41
44
  * const caa = new vercel.DnsRecord("caa", {
42
45
  * domain: "example.com",
43
- * ttl: 60,
46
+ * name: "subdomain",
44
47
  * type: "CAA",
48
+ * ttl: 60,
45
49
  * value: "1 issue \"letsencrypt.org\"",
46
50
  * });
47
51
  * const cname = new vercel.DnsRecord("cname", {
48
52
  * domain: "example.com",
49
- * ttl: 60,
53
+ * name: "subdomain",
50
54
  * type: "CNAME",
55
+ * ttl: 60,
51
56
  * value: "example2.com.",
52
57
  * });
53
58
  * const mx = new vercel.DnsRecord("mx", {
54
59
  * domain: "example.com",
55
- * mxPriority: 333,
56
- * ttl: 60,
60
+ * name: "subdomain",
57
61
  * type: "MX",
62
+ * ttl: 60,
63
+ * mxPriority: 333,
58
64
  * value: "example2.com.",
59
65
  * });
60
66
  * const srv = new vercel.DnsRecord("srv", {
61
67
  * domain: "example.com",
68
+ * name: "subdomain",
69
+ * type: "SRV",
70
+ * ttl: 60,
62
71
  * srv: {
63
72
  * port: 6000,
73
+ * weight: 60,
64
74
  * priority: 127,
65
75
  * target: "example2.com.",
66
- * weight: 60,
67
76
  * },
68
- * ttl: 60,
69
- * type: "SRV",
70
77
  * });
71
78
  * const txt = new vercel.DnsRecord("txt", {
72
79
  * domain: "example.com",
73
- * ttl: 60,
80
+ * name: "subdomain",
74
81
  * type: "TXT",
82
+ * ttl: 60,
75
83
  * value: "some text value",
76
84
  * });
77
85
  * ```
package/dnsRecord.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dnsRecord.js","sourceRoot":"","sources":["../dnsRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAsDD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CA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AC,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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAlHL,8BAmHC;AArGG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
package/edgeConfig.d.ts CHANGED
@@ -10,13 +10,13 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as vercel from "@pulumiverse/vercel";
12
12
  *
13
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
14
- * const exampleProject = new vercel.Project("exampleProject", {});
15
- * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
16
- * edgeConfigId: exampleEdgeConfig.id,
13
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
14
+ * const exampleProject = new vercel.Project("example", {name: "edge-config-example"});
15
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("example", {
16
+ * edgeConfigId: example.id,
17
17
  * label: "example token",
18
18
  * });
19
- * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
19
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("example", {
20
20
  * projectId: exampleProject.id,
21
21
  * targets: [
22
22
  * "production",
package/edgeConfig.js CHANGED
@@ -16,13 +16,13 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumiverse/vercel";
18
18
  *
19
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
20
- * const exampleProject = new vercel.Project("exampleProject", {});
21
- * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
22
- * edgeConfigId: exampleEdgeConfig.id,
19
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
20
+ * const exampleProject = new vercel.Project("example", {name: "edge-config-example"});
21
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("example", {
22
+ * edgeConfigId: example.id,
23
23
  * label: "example token",
24
24
  * });
25
- * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
25
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("example", {
26
26
  * projectId: exampleProject.id,
27
27
  * targets: [
28
28
  * "production",
@@ -12,9 +12,9 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as vercel from "@pulumiverse/vercel";
14
14
  *
15
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
16
- * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("exampleEdgeConfigItem", {
17
- * edgeConfigId: exampleEdgeConfig.id,
15
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
16
+ * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("example", {
17
+ * edgeConfigId: example.id,
18
18
  * key: "foobar",
19
19
  * value: "baz",
20
20
  * });
package/edgeConfigItem.js CHANGED
@@ -18,9 +18,9 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as vercel from "@pulumiverse/vercel";
20
20
  *
21
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
22
- * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("exampleEdgeConfigItem", {
23
- * edgeConfigId: exampleEdgeConfig.id,
21
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
22
+ * const exampleEdgeConfigItem = new vercel.EdgeConfigItem("example", {
23
+ * edgeConfigId: example.id,
24
24
  * key: "foobar",
25
25
  * value: "baz",
26
26
  * });
@@ -12,13 +12,13 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as vercel from "@pulumiverse/vercel";
14
14
  *
15
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
16
- * const exampleProject = new vercel.Project("exampleProject", {});
17
- * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
18
- * edgeConfigId: exampleEdgeConfig.id,
15
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
16
+ * const exampleProject = new vercel.Project("example", {name: "edge-config-example"});
17
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("example", {
18
+ * edgeConfigId: example.id,
19
19
  * label: "example token",
20
20
  * });
21
- * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
21
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("example", {
22
22
  * projectId: exampleProject.id,
23
23
  * targets: [
24
24
  * "production",
@@ -18,13 +18,13 @@ const utilities = require("./utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as vercel from "@pulumiverse/vercel";
20
20
  *
21
- * const exampleEdgeConfig = new vercel.EdgeConfig("exampleEdgeConfig", {});
22
- * const exampleProject = new vercel.Project("exampleProject", {});
23
- * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("exampleEdgeConfigToken", {
24
- * edgeConfigId: exampleEdgeConfig.id,
21
+ * const example = new vercel.EdgeConfig("example", {name: "example"});
22
+ * const exampleProject = new vercel.Project("example", {name: "edge-config-example"});
23
+ * const exampleEdgeConfigToken = new vercel.EdgeConfigToken("example", {
24
+ * edgeConfigId: example.id,
25
25
  * label: "example token",
26
26
  * });
27
- * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("exampleProjectEnvironmentVariable", {
27
+ * const exampleProjectEnvironmentVariable = new vercel.ProjectEnvironmentVariable("example", {
28
28
  * projectId: exampleProject.id,
29
29
  * targets: [
30
30
  * "production",
@@ -10,12 +10,12 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as vercel from "@pulumi/vercel";
12
12
  *
13
- * const exampleProject = vercel.getProject({
13
+ * const example = vercel.getProject({
14
14
  * name: "my-existing-project",
15
15
  * });
16
- * const exampleAccessGroupProject = vercel.getAccessGroupProject({
16
+ * const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
17
17
  * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
18
- * projectId: vercel_project.example.id,
18
+ * projectId: exampleVercelProject.id,
19
19
  * });
20
20
  * ```
21
21
  */
@@ -73,12 +73,12 @@ export interface GetAccessGroupProjectResult {
73
73
  * import * as pulumi from "@pulumi/pulumi";
74
74
  * import * as vercel from "@pulumi/vercel";
75
75
  *
76
- * const exampleProject = vercel.getProject({
76
+ * const example = vercel.getProject({
77
77
  * name: "my-existing-project",
78
78
  * });
79
- * const exampleAccessGroupProject = vercel.getAccessGroupProject({
79
+ * const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
80
80
  * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
81
- * projectId: vercel_project.example.id,
81
+ * projectId: exampleVercelProject.id,
82
82
  * });
83
83
  * ```
84
84
  */
@@ -16,12 +16,12 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumi/vercel";
18
18
  *
19
- * const exampleProject = vercel.getProject({
19
+ * const example = vercel.getProject({
20
20
  * name: "my-existing-project",
21
21
  * });
22
- * const exampleAccessGroupProject = vercel.getAccessGroupProject({
22
+ * const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
23
23
  * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
24
- * projectId: vercel_project.example.id,
24
+ * projectId: exampleVercelProject.id,
25
25
  * });
26
26
  * ```
27
27
  */
@@ -45,12 +45,12 @@ exports.getAccessGroupProject = getAccessGroupProject;
45
45
  * import * as pulumi from "@pulumi/pulumi";
46
46
  * import * as vercel from "@pulumi/vercel";
47
47
  *
48
- * const exampleProject = vercel.getProject({
48
+ * const example = vercel.getProject({
49
49
  * name: "my-existing-project",
50
50
  * });
51
- * const exampleAccessGroupProject = vercel.getAccessGroupProject({
51
+ * const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
52
52
  * accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
53
- * projectId: vercel_project.example.id,
53
+ * projectId: exampleVercelProject.id,
54
54
  * });
55
55
  * ```
56
56
  */
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as vercel from "@pulumi/vercel";
12
12
  *
13
13
  * const example = vercel.getAttackChallengeMode({
14
- * projectId: vercel_project.example.id,
14
+ * projectId: exampleVercelProject.id,
15
15
  * });
16
16
  * ```
17
17
  */
@@ -62,7 +62,7 @@ export interface GetAttackChallengeModeResult {
62
62
  * import * as vercel from "@pulumi/vercel";
63
63
  *
64
64
  * const example = vercel.getAttackChallengeMode({
65
- * projectId: vercel_project.example.id,
65
+ * projectId: exampleVercelProject.id,
66
66
  * });
67
67
  * ```
68
68
  */
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
17
17
  * import * as vercel from "@pulumi/vercel";
18
18
  *
19
19
  * const example = vercel.getAttackChallengeMode({
20
- * projectId: vercel_project.example.id,
20
+ * projectId: exampleVercelProject.id,
21
21
  * });
22
22
  * ```
23
23
  */
@@ -41,7 +41,7 @@ exports.getAttackChallengeMode = getAttackChallengeMode;
41
41
  * import * as vercel from "@pulumi/vercel";
42
42
  *
43
43
  * const example = vercel.getAttackChallengeMode({
44
- * projectId: vercel_project.example.id,
44
+ * projectId: exampleVercelProject.id,
45
45
  * });
46
46
  * ```
47
47
  */
@@ -11,11 +11,11 @@ import * as outputs from "./types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as vercel from "@pulumi/vercel";
13
13
  *
14
- * const exampleProject = vercel.getProject({
14
+ * const example = vercel.getProject({
15
15
  * name: "example-project-with-custom-env",
16
16
  * });
17
- * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
18
- * projectId: exampleProject.id,
17
+ * const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
18
+ * projectId: example.id,
19
19
  * name: "example-custom-env",
20
20
  * }));
21
21
  * ```
@@ -78,11 +78,11 @@ export interface GetCustomEnvironmentResult {
78
78
  * import * as pulumi from "@pulumi/pulumi";
79
79
  * import * as vercel from "@pulumi/vercel";
80
80
  *
81
- * const exampleProject = vercel.getProject({
81
+ * const example = vercel.getProject({
82
82
  * name: "example-project-with-custom-env",
83
83
  * });
84
- * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
85
- * projectId: exampleProject.id,
84
+ * const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
85
+ * projectId: example.id,
86
86
  * name: "example-custom-env",
87
87
  * }));
88
88
  * ```
@@ -16,11 +16,11 @@ const utilities = require("./utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as vercel from "@pulumi/vercel";
18
18
  *
19
- * const exampleProject = vercel.getProject({
19
+ * const example = vercel.getProject({
20
20
  * name: "example-project-with-custom-env",
21
21
  * });
22
- * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
23
- * projectId: exampleProject.id,
22
+ * const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
23
+ * projectId: example.id,
24
24
  * name: "example-custom-env",
25
25
  * }));
26
26
  * ```
@@ -45,11 +45,11 @@ exports.getCustomEnvironment = getCustomEnvironment;
45
45
  * import * as pulumi from "@pulumi/pulumi";
46
46
  * import * as vercel from "@pulumi/vercel";
47
47
  *
48
- * const exampleProject = vercel.getProject({
48
+ * const example = vercel.getProject({
49
49
  * name: "example-project-with-custom-env",
50
50
  * });
51
- * const exampleCustomEnvironment = exampleProject.then(exampleProject => vercel.getCustomEnvironment({
52
- * projectId: exampleProject.id,
51
+ * const exampleGetCustomEnvironment = example.then(example => vercel.getCustomEnvironment({
52
+ * projectId: example.id,
53
53
  * name: "example-custom-env",
54
54
  * }));
55
55
  * ```
package/getFile.d.ts CHANGED
@@ -11,15 +11,17 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as vercel from "@pulumi/vercel";
12
12
  * import * as vercel from "@pulumiverse/vercel";
13
13
  *
14
- * const exampleFile = vercel.getFile({
14
+ * // In this example, we are assuming that a single index.html file
15
+ * // is being deployed. This file lives directly next to the terraform file.
16
+ * const example = vercel.getFile({
15
17
  * path: "index.html",
16
18
  * });
17
- * const exampleProject = vercel.getProject({
19
+ * const exampleGetProject = vercel.getProject({
18
20
  * name: "my-project",
19
21
  * });
20
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
21
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
22
- * files: exampleFile.then(exampleFile => exampleFile.file),
22
+ * const exampleDeployment = new vercel.Deployment("example", {
23
+ * projectId: exampleGetProject.then(exampleGetProject => exampleGetProject.id),
24
+ * files: example.then(example => example.file),
23
25
  * });
24
26
  * ```
25
27
  */
@@ -58,15 +60,17 @@ export interface GetFileResult {
58
60
  * import * as vercel from "@pulumi/vercel";
59
61
  * import * as vercel from "@pulumiverse/vercel";
60
62
  *
61
- * const exampleFile = vercel.getFile({
63
+ * // In this example, we are assuming that a single index.html file
64
+ * // is being deployed. This file lives directly next to the terraform file.
65
+ * const example = vercel.getFile({
62
66
  * path: "index.html",
63
67
  * });
64
- * const exampleProject = vercel.getProject({
68
+ * const exampleGetProject = vercel.getProject({
65
69
  * name: "my-project",
66
70
  * });
67
- * const exampleDeployment = new vercel.Deployment("exampleDeployment", {
68
- * projectId: exampleProject.then(exampleProject => exampleProject.id),
69
- * files: exampleFile.then(exampleFile => exampleFile.file),
71
+ * const exampleDeployment = new vercel.Deployment("example", {
72
+ * projectId: exampleGetProject.then(exampleGetProject => exampleGetProject.id),
73
+ * files: example.then(example => example.file),
70
74
  * });
71
75
  * ```
72
76
  */