@tag1consulting/pulumi-lagoon 0.2.5

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 (66) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/bin/config/index.d.ts +1 -0
  4. package/bin/config/index.js +21 -0
  5. package/bin/config/index.js.map +1 -0
  6. package/bin/config/vars.d.ts +20 -0
  7. package/bin/config/vars.js +38 -0
  8. package/bin/config/vars.js.map +1 -0
  9. package/bin/index.d.ts +7 -0
  10. package/bin/index.js +26 -0
  11. package/bin/index.js.map +1 -0
  12. package/bin/lagoon/deployTarget.d.ts +107 -0
  13. package/bin/lagoon/deployTarget.js +82 -0
  14. package/bin/lagoon/deployTarget.js.map +1 -0
  15. package/bin/lagoon/deployTargetConfig.d.ts +82 -0
  16. package/bin/lagoon/deployTargetConfig.js +74 -0
  17. package/bin/lagoon/deployTargetConfig.js.map +1 -0
  18. package/bin/lagoon/environment.d.ts +121 -0
  19. package/bin/lagoon/environment.js +92 -0
  20. package/bin/lagoon/environment.js.map +1 -0
  21. package/bin/lagoon/group.d.ts +53 -0
  22. package/bin/lagoon/group.js +63 -0
  23. package/bin/lagoon/group.js.map +1 -0
  24. package/bin/lagoon/index.d.ts +36 -0
  25. package/bin/lagoon/index.js +66 -0
  26. package/bin/lagoon/index.js.map +1 -0
  27. package/bin/lagoon/notificationEmail.d.ts +50 -0
  28. package/bin/lagoon/notificationEmail.js +66 -0
  29. package/bin/lagoon/notificationEmail.js.map +1 -0
  30. package/bin/lagoon/notificationMicrosoftTeams.d.ts +50 -0
  31. package/bin/lagoon/notificationMicrosoftTeams.js +68 -0
  32. package/bin/lagoon/notificationMicrosoftTeams.js.map +1 -0
  33. package/bin/lagoon/notificationRocketChat.d.ts +58 -0
  34. package/bin/lagoon/notificationRocketChat.js +73 -0
  35. package/bin/lagoon/notificationRocketChat.js.map +1 -0
  36. package/bin/lagoon/notificationSlack.d.ts +58 -0
  37. package/bin/lagoon/notificationSlack.js +73 -0
  38. package/bin/lagoon/notificationSlack.js.map +1 -0
  39. package/bin/lagoon/project.d.ts +113 -0
  40. package/bin/lagoon/project.js +85 -0
  41. package/bin/lagoon/project.js.map +1 -0
  42. package/bin/lagoon/projectNotification.d.ts +61 -0
  43. package/bin/lagoon/projectNotification.js +71 -0
  44. package/bin/lagoon/projectNotification.js.map +1 -0
  45. package/bin/lagoon/task.d.ts +141 -0
  46. package/bin/lagoon/task.js +93 -0
  47. package/bin/lagoon/task.js.map +1 -0
  48. package/bin/lagoon/variable.d.ts +77 -0
  49. package/bin/lagoon/variable.js +80 -0
  50. package/bin/lagoon/variable.js.map +1 -0
  51. package/bin/provider.d.ts +57 -0
  52. package/bin/provider.js +45 -0
  53. package/bin/provider.js.map +1 -0
  54. package/bin/types/index.d.ts +3 -0
  55. package/bin/types/index.js +11 -0
  56. package/bin/types/index.js.map +1 -0
  57. package/bin/types/input.d.ts +8 -0
  58. package/bin/types/input.js +5 -0
  59. package/bin/types/input.js.map +1 -0
  60. package/bin/types/output.d.ts +7 -0
  61. package/bin/types/output.js +5 -0
  62. package/bin/types/output.js.map +1 -0
  63. package/bin/utilities.d.ts +4 -0
  64. package/bin/utilities.js +91 -0
  65. package/bin/utilities.js.map +1 -0
  66. package/package.json +33 -0
@@ -0,0 +1,61 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Links a notification to a Lagoon project.
4
+ */
5
+ export declare class ProjectNotification extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing ProjectNotification resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ProjectNotification;
15
+ /**
16
+ * Returns true if the given object is an instance of ProjectNotification. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is ProjectNotification;
20
+ /**
21
+ * Name of the notification to link.
22
+ */
23
+ readonly notificationName: pulumi.Output<string>;
24
+ /**
25
+ * Type of notification: 'slack', 'rocketchat', 'email', or 'microsoftteams'.
26
+ */
27
+ readonly notificationType: pulumi.Output<string>;
28
+ /**
29
+ * The Lagoon project ID.
30
+ */
31
+ readonly projectId: pulumi.Output<number>;
32
+ /**
33
+ * The project name.
34
+ */
35
+ readonly projectName: pulumi.Output<string>;
36
+ /**
37
+ * Create a ProjectNotification resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args: ProjectNotificationArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a ProjectNotification resource.
47
+ */
48
+ export interface ProjectNotificationArgs {
49
+ /**
50
+ * Name of the notification to link.
51
+ */
52
+ notificationName: pulumi.Input<string>;
53
+ /**
54
+ * Type of notification: 'slack', 'rocketchat', 'email', or 'microsoftteams'.
55
+ */
56
+ notificationType: pulumi.Input<string>;
57
+ /**
58
+ * The project name.
59
+ */
60
+ projectName: pulumi.Input<string>;
61
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.ProjectNotification = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Links a notification to a Lagoon project.
10
+ */
11
+ class ProjectNotification extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing ProjectNotification resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new ProjectNotification(name, undefined, { ...opts, id: id });
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of ProjectNotification. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === ProjectNotification.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a ProjectNotification resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if (args?.notificationName === undefined && !opts.urn) {
45
+ throw new Error("Missing required property 'notificationName'");
46
+ }
47
+ if (args?.notificationType === undefined && !opts.urn) {
48
+ throw new Error("Missing required property 'notificationType'");
49
+ }
50
+ if (args?.projectName === undefined && !opts.urn) {
51
+ throw new Error("Missing required property 'projectName'");
52
+ }
53
+ resourceInputs["notificationName"] = args?.notificationName;
54
+ resourceInputs["notificationType"] = args?.notificationType;
55
+ resourceInputs["projectName"] = args?.projectName;
56
+ resourceInputs["projectId"] = undefined /*out*/;
57
+ }
58
+ else {
59
+ resourceInputs["notificationName"] = undefined /*out*/;
60
+ resourceInputs["notificationType"] = undefined /*out*/;
61
+ resourceInputs["projectId"] = undefined /*out*/;
62
+ resourceInputs["projectName"] = undefined /*out*/;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ super(ProjectNotification.__pulumiType, name, resourceInputs, opts);
66
+ }
67
+ }
68
+ exports.ProjectNotification = ProjectNotification;
69
+ /** @internal */
70
+ ProjectNotification.__pulumiType = 'lagoon:lagoon:ProjectNotification';
71
+ //# sourceMappingURL=projectNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectNotification.js","sourceRoot":"","sources":["../../lagoon/projectNotification.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6B,EAAE,IAAmC;QACxF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;aAAM;YACH,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA5EL,kDA6EC;AAhEG,gBAAgB;AACO,gCAAY,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,141 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Lagoon advanced task definition.
6
+ */
7
+ export declare class Task extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Task resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Task;
17
+ /**
18
+ * Returns true if the given object is an instance of Task. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is Task;
22
+ /**
23
+ * List of argument definitions for the task.
24
+ */
25
+ readonly arguments: pulumi.Output<outputs.resources.TaskArgumentInput[] | undefined>;
26
+ /**
27
+ * Command to execute (required for 'command' type).
28
+ */
29
+ readonly command: pulumi.Output<string | undefined>;
30
+ /**
31
+ * Text to display for user confirmation.
32
+ */
33
+ readonly confirmationText: pulumi.Output<string | undefined>;
34
+ readonly created: pulumi.Output<string>;
35
+ /**
36
+ * Task description.
37
+ */
38
+ readonly description: pulumi.Output<string | undefined>;
39
+ /**
40
+ * Environment ID (for environment-scoped tasks).
41
+ */
42
+ readonly environmentId: pulumi.Output<number | undefined>;
43
+ /**
44
+ * Group name (for group-scoped tasks).
45
+ */
46
+ readonly groupName: pulumi.Output<string | undefined>;
47
+ /**
48
+ * Container image to run (required for 'image' type).
49
+ */
50
+ readonly image: pulumi.Output<string | undefined>;
51
+ readonly lagoonId: pulumi.Output<number>;
52
+ /**
53
+ * The task definition name.
54
+ */
55
+ readonly name: pulumi.Output<string>;
56
+ /**
57
+ * Permission level: 'guest', 'developer', or 'maintainer'.
58
+ */
59
+ readonly permission: pulumi.Output<string | undefined>;
60
+ /**
61
+ * Project ID (for project-scoped tasks).
62
+ */
63
+ readonly projectId: pulumi.Output<number | undefined>;
64
+ /**
65
+ * Service container name to run the task in.
66
+ */
67
+ readonly service: pulumi.Output<string>;
68
+ /**
69
+ * If true, task is available system-wide (platform admin only).
70
+ */
71
+ readonly systemWide: pulumi.Output<boolean | undefined>;
72
+ /**
73
+ * Task type: 'command' or 'image'.
74
+ */
75
+ readonly type: pulumi.Output<string>;
76
+ /**
77
+ * Create a Task resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: TaskArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * The set of arguments for constructing a Task resource.
87
+ */
88
+ export interface TaskArgs {
89
+ /**
90
+ * List of argument definitions for the task.
91
+ */
92
+ arguments?: pulumi.Input<pulumi.Input<inputs.resources.TaskArgumentInputArgs>[]>;
93
+ /**
94
+ * Command to execute (required for 'command' type).
95
+ */
96
+ command?: pulumi.Input<string>;
97
+ /**
98
+ * Text to display for user confirmation.
99
+ */
100
+ confirmationText?: pulumi.Input<string>;
101
+ /**
102
+ * Task description.
103
+ */
104
+ description?: pulumi.Input<string>;
105
+ /**
106
+ * Environment ID (for environment-scoped tasks).
107
+ */
108
+ environmentId?: pulumi.Input<number>;
109
+ /**
110
+ * Group name (for group-scoped tasks).
111
+ */
112
+ groupName?: pulumi.Input<string>;
113
+ /**
114
+ * Container image to run (required for 'image' type).
115
+ */
116
+ image?: pulumi.Input<string>;
117
+ /**
118
+ * The task definition name.
119
+ */
120
+ name: pulumi.Input<string>;
121
+ /**
122
+ * Permission level: 'guest', 'developer', or 'maintainer'.
123
+ */
124
+ permission?: pulumi.Input<string>;
125
+ /**
126
+ * Project ID (for project-scoped tasks).
127
+ */
128
+ projectId?: pulumi.Input<number>;
129
+ /**
130
+ * Service container name to run the task in.
131
+ */
132
+ service: pulumi.Input<string>;
133
+ /**
134
+ * If true, task is available system-wide (platform admin only).
135
+ */
136
+ systemWide?: pulumi.Input<boolean>;
137
+ /**
138
+ * Task type: 'command' or 'image'.
139
+ */
140
+ type: pulumi.Input<string>;
141
+ }
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Task = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Lagoon advanced task definition.
10
+ */
11
+ class Task extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Task resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Task(name, undefined, { ...opts, id: id });
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Task. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Task.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Task resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if (args?.name === undefined && !opts.urn) {
45
+ throw new Error("Missing required property 'name'");
46
+ }
47
+ if (args?.service === undefined && !opts.urn) {
48
+ throw new Error("Missing required property 'service'");
49
+ }
50
+ if (args?.type === undefined && !opts.urn) {
51
+ throw new Error("Missing required property 'type'");
52
+ }
53
+ resourceInputs["arguments"] = args?.arguments;
54
+ resourceInputs["command"] = args?.command;
55
+ resourceInputs["confirmationText"] = args?.confirmationText;
56
+ resourceInputs["description"] = args?.description;
57
+ resourceInputs["environmentId"] = args?.environmentId;
58
+ resourceInputs["groupName"] = args?.groupName;
59
+ resourceInputs["image"] = args?.image;
60
+ resourceInputs["name"] = args?.name;
61
+ resourceInputs["permission"] = args?.permission;
62
+ resourceInputs["projectId"] = args?.projectId;
63
+ resourceInputs["service"] = args?.service;
64
+ resourceInputs["systemWide"] = args?.systemWide;
65
+ resourceInputs["type"] = args?.type;
66
+ resourceInputs["created"] = undefined /*out*/;
67
+ resourceInputs["lagoonId"] = undefined /*out*/;
68
+ }
69
+ else {
70
+ resourceInputs["arguments"] = undefined /*out*/;
71
+ resourceInputs["command"] = undefined /*out*/;
72
+ resourceInputs["confirmationText"] = undefined /*out*/;
73
+ resourceInputs["created"] = undefined /*out*/;
74
+ resourceInputs["description"] = undefined /*out*/;
75
+ resourceInputs["environmentId"] = undefined /*out*/;
76
+ resourceInputs["groupName"] = undefined /*out*/;
77
+ resourceInputs["image"] = undefined /*out*/;
78
+ resourceInputs["lagoonId"] = undefined /*out*/;
79
+ resourceInputs["name"] = undefined /*out*/;
80
+ resourceInputs["permission"] = undefined /*out*/;
81
+ resourceInputs["projectId"] = undefined /*out*/;
82
+ resourceInputs["service"] = undefined /*out*/;
83
+ resourceInputs["systemWide"] = undefined /*out*/;
84
+ resourceInputs["type"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(Task.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.Task = Task;
91
+ /** @internal */
92
+ Task.__pulumiType = 'lagoon:lagoon:Task';
93
+ //# sourceMappingURL=task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.js","sourceRoot":"","sources":["../../lagoon/task.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAA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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAxIL,oBAyIC;AA5HG,gBAAgB;AACO,iBAAY,GAAG,oBAAoB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Lagoon environment or project-level variable.
4
+ */
5
+ export declare class Variable extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing Variable resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Variable;
15
+ /**
16
+ * Returns true if the given object is an instance of Variable. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is Variable;
20
+ /**
21
+ * Environment ID (omit for project-level variables).
22
+ */
23
+ readonly environmentId: pulumi.Output<number | undefined>;
24
+ /**
25
+ * The Lagoon-assigned numeric ID of the variable.
26
+ */
27
+ readonly lagoonId: pulumi.Output<number>;
28
+ /**
29
+ * The variable name.
30
+ */
31
+ readonly name: pulumi.Output<string>;
32
+ /**
33
+ * The parent project ID.
34
+ */
35
+ readonly projectId: pulumi.Output<number>;
36
+ /**
37
+ * Variable scope: 'build', 'runtime', 'global', 'container_registry', or 'internal_container_registry'.
38
+ */
39
+ readonly scope: pulumi.Output<string>;
40
+ /**
41
+ * The variable value (stored as secret).
42
+ */
43
+ readonly value: pulumi.Output<string>;
44
+ /**
45
+ * Create a Variable resource with the given unique name, arguments, and options.
46
+ *
47
+ * @param name The _unique_ name of the resource.
48
+ * @param args The arguments to use to populate this resource's properties.
49
+ * @param opts A bag of options that control this resource's behavior.
50
+ */
51
+ constructor(name: string, args: VariableArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a Variable resource.
55
+ */
56
+ export interface VariableArgs {
57
+ /**
58
+ * Environment ID (omit for project-level variables).
59
+ */
60
+ environmentId?: pulumi.Input<number>;
61
+ /**
62
+ * The variable name.
63
+ */
64
+ name: pulumi.Input<string>;
65
+ /**
66
+ * The parent project ID.
67
+ */
68
+ projectId: pulumi.Input<number>;
69
+ /**
70
+ * Variable scope: 'build', 'runtime', 'global', 'container_registry', or 'internal_container_registry'.
71
+ */
72
+ scope: pulumi.Input<string>;
73
+ /**
74
+ * The variable value (stored as secret).
75
+ */
76
+ value: pulumi.Input<string>;
77
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Variable = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Lagoon environment or project-level variable.
10
+ */
11
+ class Variable extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Variable resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Variable(name, undefined, { ...opts, id: id });
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Variable. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Variable.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Variable resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if (args?.name === undefined && !opts.urn) {
45
+ throw new Error("Missing required property 'name'");
46
+ }
47
+ if (args?.projectId === undefined && !opts.urn) {
48
+ throw new Error("Missing required property 'projectId'");
49
+ }
50
+ if (args?.scope === undefined && !opts.urn) {
51
+ throw new Error("Missing required property 'scope'");
52
+ }
53
+ if (args?.value === undefined && !opts.urn) {
54
+ throw new Error("Missing required property 'value'");
55
+ }
56
+ resourceInputs["environmentId"] = args?.environmentId;
57
+ resourceInputs["name"] = args?.name;
58
+ resourceInputs["projectId"] = args?.projectId;
59
+ resourceInputs["scope"] = args?.scope;
60
+ resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
61
+ resourceInputs["lagoonId"] = undefined /*out*/;
62
+ }
63
+ else {
64
+ resourceInputs["environmentId"] = undefined /*out*/;
65
+ resourceInputs["lagoonId"] = undefined /*out*/;
66
+ resourceInputs["name"] = undefined /*out*/;
67
+ resourceInputs["projectId"] = undefined /*out*/;
68
+ resourceInputs["scope"] = undefined /*out*/;
69
+ resourceInputs["value"] = undefined /*out*/;
70
+ }
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
+ const secretOpts = { additionalSecretOutputs: ["value"] };
73
+ opts = pulumi.mergeOptions(opts, secretOpts);
74
+ super(Variable.__pulumiType, name, resourceInputs, opts);
75
+ }
76
+ }
77
+ exports.Variable = Variable;
78
+ /** @internal */
79
+ Variable.__pulumiType = 'lagoon:lagoon:Variable';
80
+ //# s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AK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7FL,4BA8FC;AAjFG,gBAAgB;AACO,qBAAY,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,57 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class Provider extends pulumi.ProviderResource {
3
+ /**
4
+ * Returns true if the given object is an instance of Provider. This is designed to work even
5
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
6
+ */
7
+ static isInstance(obj: any): obj is Provider;
8
+ /**
9
+ * The Lagoon GraphQL API endpoint URL.
10
+ */
11
+ readonly apiUrl: pulumi.Output<string | undefined>;
12
+ /**
13
+ * The audience claim for generated JWT tokens. Defaults to 'api.dev'.
14
+ */
15
+ readonly jwtAudience: pulumi.Output<string | undefined>;
16
+ /**
17
+ * The Lagoon core JWTSECRET. Used to generate admin tokens on-the-fly.
18
+ */
19
+ readonly jwtSecret: pulumi.Output<string | undefined>;
20
+ /**
21
+ * A pre-configured JWT authentication token for the Lagoon API.
22
+ */
23
+ readonly token: pulumi.Output<string | undefined>;
24
+ /**
25
+ * Create a Provider resource with the given unique name, arguments, and options.
26
+ *
27
+ * @param name The _unique_ name of the resource.
28
+ * @param args The arguments to use to populate this resource's properties.
29
+ * @param opts A bag of options that control this resource's behavior.
30
+ */
31
+ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
32
+ }
33
+ /**
34
+ * The set of arguments for constructing a Provider resource.
35
+ */
36
+ export interface ProviderArgs {
37
+ /**
38
+ * The Lagoon GraphQL API endpoint URL.
39
+ */
40
+ apiUrl?: pulumi.Input<string>;
41
+ /**
42
+ * Disable SSL certificate verification when connecting to the Lagoon API.
43
+ */
44
+ insecure?: pulumi.Input<boolean>;
45
+ /**
46
+ * The audience claim for generated JWT tokens. Defaults to 'api.dev'.
47
+ */
48
+ jwtAudience?: pulumi.Input<string>;
49
+ /**
50
+ * The Lagoon core JWTSECRET. Used to generate admin tokens on-the-fly.
51
+ */
52
+ jwtSecret?: pulumi.Input<string>;
53
+ /**
54
+ * A pre-configured JWT authentication token for the Lagoon API.
55
+ */
56
+ token?: pulumi.Input<string>;
57
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Provider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class Provider extends pulumi.ProviderResource {
9
+ /**
10
+ * Returns true if the given object is an instance of Provider. This is designed to work even
11
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
12
+ */
13
+ static isInstance(obj) {
14
+ if (obj === undefined || obj === null) {
15
+ return false;
16
+ }
17
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
18
+ }
19
+ /**
20
+ * Create a Provider resource with the given unique name, arguments, and options.
21
+ *
22
+ * @param name The _unique_ name of the resource.
23
+ * @param args The arguments to use to populate this resource's properties.
24
+ * @param opts A bag of options that control this resource's behavior.
25
+ */
26
+ constructor(name, args, opts) {
27
+ let resourceInputs = {};
28
+ opts = opts || {};
29
+ {
30
+ resourceInputs["apiUrl"] = (args?.apiUrl ? pulumi.secret(args.apiUrl) : undefined) ?? (utilities.getEnv("LAGOON_API_URL") || "https://api.lagoon.sh/graphql");
31
+ resourceInputs["insecure"] = pulumi.output((args?.insecure) ?? (utilities.getEnvBoolean("LAGOON_INSECURE") || false)).apply(JSON.stringify);
32
+ resourceInputs["jwtAudience"] = (args?.jwtAudience) ?? (utilities.getEnv("LAGOON_JWT_AUDIENCE") || "api.dev");
33
+ resourceInputs["jwtSecret"] = (args?.jwtSecret ? pulumi.secret(args.jwtSecret) : undefined) ?? utilities.getEnv("LAGOON_JWT_SECRET");
34
+ resourceInputs["token"] = (args?.token ? pulumi.secret(args.token) : undefined) ?? utilities.getEnv("LAGOON_TOKEN");
35
+ }
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
37
+ const secretOpts = { additionalSecretOutputs: ["apiUrl", "jwtSecret", "token"] };
38
+ opts = pulumi.mergeOptions(opts, secretOpts);
39
+ super(Provider.__pulumiType, name, resourceInputs, opts);
40
+ }
41
+ }
42
+ exports.Provider = Provider;
43
+ /** @internal */
44
+ Provider.__pulumiType = 'lagoon';
45
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,+BAA+B,CAAC,CAAC;YAC9J,cAAc,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,C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