@tag1consulting/pulumi-lagoon 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +106 -1
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/vars.d.ts +1 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +25 -2
- package/bin/config/vars.js.map +1 -1
- package/bin/index.d.ts +2 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +34 -5
- package/bin/index.js.map +1 -1
- package/bin/lagoon/deployTarget.d.ts +8 -7
- package/bin/lagoon/deployTarget.d.ts.map +1 -0
- package/bin/lagoon/deployTarget.js +27 -4
- package/bin/lagoon/deployTarget.js.map +1 -1
- package/bin/lagoon/deployTargetConfig.d.ts +5 -4
- package/bin/lagoon/deployTargetConfig.d.ts.map +1 -0
- package/bin/lagoon/deployTargetConfig.js +27 -4
- package/bin/lagoon/deployTargetConfig.js.map +1 -1
- package/bin/lagoon/environment.d.ts +6 -5
- package/bin/lagoon/environment.d.ts.map +1 -0
- package/bin/lagoon/environment.js +27 -4
- package/bin/lagoon/environment.js.map +1 -1
- package/bin/lagoon/environmentAutogeneratedRouteConfig.d.ts +8 -7
- package/bin/lagoon/environmentAutogeneratedRouteConfig.d.ts.map +1 -0
- package/bin/lagoon/environmentAutogeneratedRouteConfig.js +27 -4
- package/bin/lagoon/environmentAutogeneratedRouteConfig.js.map +1 -1
- package/bin/lagoon/group.d.ts +2 -1
- package/bin/lagoon/group.d.ts.map +1 -0
- package/bin/lagoon/group.js +27 -4
- package/bin/lagoon/group.js.map +1 -1
- package/bin/lagoon/index.d.ts +10 -0
- package/bin/lagoon/index.d.ts.map +1 -0
- package/bin/lagoon/index.js +38 -3
- package/bin/lagoon/index.js.map +1 -1
- package/bin/lagoon/notificationEmail.d.ts +1 -0
- package/bin/lagoon/notificationEmail.d.ts.map +1 -0
- package/bin/lagoon/notificationEmail.js +27 -4
- package/bin/lagoon/notificationEmail.js.map +1 -1
- package/bin/lagoon/notificationMicrosoftTeams.d.ts +1 -0
- package/bin/lagoon/notificationMicrosoftTeams.d.ts.map +1 -0
- package/bin/lagoon/notificationMicrosoftTeams.js +27 -4
- package/bin/lagoon/notificationMicrosoftTeams.js.map +1 -1
- package/bin/lagoon/notificationRocketChat.d.ts +1 -0
- package/bin/lagoon/notificationRocketChat.d.ts.map +1 -0
- package/bin/lagoon/notificationRocketChat.js +27 -4
- package/bin/lagoon/notificationRocketChat.js.map +1 -1
- package/bin/lagoon/notificationSlack.d.ts +1 -0
- package/bin/lagoon/notificationSlack.d.ts.map +1 -0
- package/bin/lagoon/notificationSlack.js +27 -4
- package/bin/lagoon/notificationSlack.js.map +1 -1
- package/bin/lagoon/project.d.ts +7 -6
- package/bin/lagoon/project.d.ts.map +1 -0
- package/bin/lagoon/project.js +27 -4
- package/bin/lagoon/project.js.map +1 -1
- package/bin/lagoon/projectAutogeneratedRouteConfig.d.ts +8 -7
- package/bin/lagoon/projectAutogeneratedRouteConfig.d.ts.map +1 -0
- package/bin/lagoon/projectAutogeneratedRouteConfig.js +27 -4
- package/bin/lagoon/projectAutogeneratedRouteConfig.js.map +1 -1
- package/bin/lagoon/projectNotification.d.ts +1 -0
- package/bin/lagoon/projectNotification.d.ts.map +1 -0
- package/bin/lagoon/projectNotification.js +27 -4
- package/bin/lagoon/projectNotification.js.map +1 -1
- package/bin/lagoon/route.d.ts +16 -15
- package/bin/lagoon/route.d.ts.map +1 -0
- package/bin/lagoon/route.js +27 -4
- package/bin/lagoon/route.js.map +1 -1
- package/bin/lagoon/task.d.ts +11 -10
- package/bin/lagoon/task.d.ts.map +1 -0
- package/bin/lagoon/task.js +27 -4
- package/bin/lagoon/task.js.map +1 -1
- package/bin/lagoon/user.d.ts +70 -0
- package/bin/lagoon/user.d.ts.map +1 -0
- package/bin/lagoon/user.js +90 -0
- package/bin/lagoon/user.js.map +1 -0
- package/bin/lagoon/userGroupAssignment.d.ts +58 -0
- package/bin/lagoon/userGroupAssignment.d.ts.map +1 -0
- package/bin/lagoon/userGroupAssignment.js +92 -0
- package/bin/lagoon/userGroupAssignment.js.map +1 -0
- package/bin/lagoon/userPlatformRole.d.ts +50 -0
- package/bin/lagoon/userPlatformRole.d.ts.map +1 -0
- package/bin/lagoon/userPlatformRole.js +87 -0
- package/bin/lagoon/userPlatformRole.js.map +1 -0
- package/bin/lagoon/variable.d.ts +2 -1
- package/bin/lagoon/variable.d.ts.map +1 -0
- package/bin/lagoon/variable.js +27 -4
- package/bin/lagoon/variable.js.map +1 -1
- package/bin/provider.d.ts +6 -5
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +27 -4
- package/bin/provider.js.map +1 -1
- package/bin/types/index.d.ts +1 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +25 -2
- package/bin/types/index.js.map +1 -1
- package/bin/types/input.d.ts +31 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/output.d.ts +31 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/utilities.d.ts +1 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +24 -1
- package/bin/utilities.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.User = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a Lagoon user.
|
|
33
|
+
*/
|
|
34
|
+
class User extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new User(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:User';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a User resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.email === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'email'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["comment"] = args?.comment;
|
|
73
|
+
resourceInputs["email"] = args?.email;
|
|
74
|
+
resourceInputs["firstName"] = args?.firstName;
|
|
75
|
+
resourceInputs["lastName"] = args?.lastName;
|
|
76
|
+
resourceInputs["lagoonId"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
resourceInputs["comment"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["email"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["firstName"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["lagoonId"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["lastName"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(User.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.User = User;
|
|
90
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../lagoon/user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;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Ac,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AA5EL,oBA6EC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Assigns a Lagoon user to a group with a specific role.
|
|
4
|
+
*/
|
|
5
|
+
export declare class UserGroupAssignment extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing UserGroupAssignment 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): UserGroupAssignment;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of UserGroupAssignment. 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 UserGroupAssignment;
|
|
20
|
+
/**
|
|
21
|
+
* The group name.
|
|
22
|
+
*/
|
|
23
|
+
readonly groupName: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The role within the group: GUEST, REPORTER, DEVELOPER, MAINTAINER, or OWNER.
|
|
26
|
+
*/
|
|
27
|
+
readonly role: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The user's email address.
|
|
30
|
+
*/
|
|
31
|
+
readonly userEmail: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Create a UserGroupAssignment resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: UserGroupAssignmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a UserGroupAssignment resource.
|
|
43
|
+
*/
|
|
44
|
+
export interface UserGroupAssignmentArgs {
|
|
45
|
+
/**
|
|
46
|
+
* The group name.
|
|
47
|
+
*/
|
|
48
|
+
groupName: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The role within the group: GUEST, REPORTER, DEVELOPER, MAINTAINER, or OWNER.
|
|
51
|
+
*/
|
|
52
|
+
role: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The user's email address.
|
|
55
|
+
*/
|
|
56
|
+
userEmail: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=userGroupAssignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupAssignment.d.ts","sourceRoot":"","sources":["../../lagoon/userGroupAssignment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOtH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEzD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwB/F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.UserGroupAssignment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Assigns a Lagoon user to a group with a specific role.
|
|
33
|
+
*/
|
|
34
|
+
class UserGroupAssignment extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing UserGroupAssignment resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new UserGroupAssignment(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:UserGroupAssignment';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of UserGroupAssignment. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === UserGroupAssignment.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a UserGroupAssignment resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.groupName === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'groupName'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.role === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'role'");
|
|
74
|
+
}
|
|
75
|
+
if (args?.userEmail === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'userEmail'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["groupName"] = args?.groupName;
|
|
79
|
+
resourceInputs["role"] = args?.role;
|
|
80
|
+
resourceInputs["userEmail"] = args?.userEmail;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
resourceInputs["groupName"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["role"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["userEmail"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(UserGroupAssignment.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.UserGroupAssignment = UserGroupAssignment;
|
|
92
|
+
//# sourceMappingURL=userGroupAssignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userGroupAssignment.js","sourceRoot":"","sources":["../../lagoon/userGroupAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;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;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mCAAmC,CAAC;IAE1E;;;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;IAeD;;;;;;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,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;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;;AAtEL,kDAuEC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Assigns a platform-level role (OWNER or VIEWER) to a Lagoon user.
|
|
4
|
+
*/
|
|
5
|
+
export declare class UserPlatformRole extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing UserPlatformRole 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): UserPlatformRole;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of UserPlatformRole. 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 UserPlatformRole;
|
|
20
|
+
/**
|
|
21
|
+
* The platform role: OWNER or VIEWER.
|
|
22
|
+
*/
|
|
23
|
+
readonly role: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The user's email address.
|
|
26
|
+
*/
|
|
27
|
+
readonly userEmail: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a UserPlatformRole resource with the given unique name, arguments, and options.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resource.
|
|
32
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
33
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
34
|
+
*/
|
|
35
|
+
constructor(name: string, args: UserPlatformRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The set of arguments for constructing a UserPlatformRole resource.
|
|
39
|
+
*/
|
|
40
|
+
export interface UserPlatformRoleArgs {
|
|
41
|
+
/**
|
|
42
|
+
* The platform role: OWNER or VIEWER.
|
|
43
|
+
*/
|
|
44
|
+
role: pulumi.Input<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The user's email address.
|
|
47
|
+
*/
|
|
48
|
+
userEmail: pulumi.Input<string>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=userPlatformRole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userPlatformRole.d.ts","sourceRoot":"","sources":["../../lagoon/userPlatformRole.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOnH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEzD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB5F;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.UserPlatformRole = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Assigns a platform-level role (OWNER or VIEWER) to a Lagoon user.
|
|
33
|
+
*/
|
|
34
|
+
class UserPlatformRole extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing UserPlatformRole resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new UserPlatformRole(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:UserPlatformRole';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of UserPlatformRole. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === UserPlatformRole.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a UserPlatformRole resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.role === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'role'");
|
|
71
|
+
}
|
|
72
|
+
if (args?.userEmail === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'userEmail'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["role"] = args?.role;
|
|
76
|
+
resourceInputs["userEmail"] = args?.userEmail;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
resourceInputs["role"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["userEmail"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(UserPlatformRole.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.UserPlatformRole = UserPlatformRole;
|
|
87
|
+
//# sourceMappingURL=userPlatformRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userPlatformRole.js","sourceRoot":"","sources":["../../lagoon/userPlatformRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;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O,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7DL,4CA8DC"}
|
package/bin/lagoon/variable.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface VariableArgs {
|
|
|
57
57
|
/**
|
|
58
58
|
* Environment ID (omit for project-level variables).
|
|
59
59
|
*/
|
|
60
|
-
environmentId?: pulumi.Input<number>;
|
|
60
|
+
environmentId?: pulumi.Input<number | undefined>;
|
|
61
61
|
/**
|
|
62
62
|
* The variable name.
|
|
63
63
|
*/
|
|
@@ -75,3 +75,4 @@ export interface VariableArgs {
|
|
|
75
75
|
*/
|
|
76
76
|
value: pulumi.Input<string>;
|
|
77
77
|
}
|
|
78
|
+
//# sourceMappingURL=variable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../lagoon/variable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,QAAQ;IAO3G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAErD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmCpF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/bin/lagoon/variable.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Variable = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Manages a Lagoon environment or project-level variable.
|
|
10
33
|
*/
|
|
@@ -20,6 +43,8 @@ class Variable extends pulumi.CustomResource {
|
|
|
20
43
|
static get(name, id, opts) {
|
|
21
44
|
return new Variable(name, undefined, { ...opts, id: id });
|
|
22
45
|
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'lagoon:lagoon:Variable';
|
|
23
48
|
/**
|
|
24
49
|
* Returns true if the given object is an instance of Variable. This is designed to work even
|
|
25
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -75,6 +100,4 @@ class Variable extends pulumi.CustomResource {
|
|
|
75
100
|
}
|
|
76
101
|
}
|
|
77
102
|
exports.Variable = Variable;
|
|
78
|
-
/** @internal */
|
|
79
|
-
Variable.__pulumiType = 'lagoon:lagoon:Variable';
|
|
80
103
|
//# sourceMappingURL=variable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../lagoon/variable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../lagoon/variable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wBAAwB,CAAC;IAE/D;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EA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,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7FL,4BA8FC"}
|
package/bin/provider.d.ts
CHANGED
|
@@ -37,21 +37,22 @@ export interface ProviderArgs {
|
|
|
37
37
|
/**
|
|
38
38
|
* The Lagoon GraphQL API endpoint URL.
|
|
39
39
|
*/
|
|
40
|
-
apiUrl?: pulumi.Input<string>;
|
|
40
|
+
apiUrl?: pulumi.Input<string | undefined>;
|
|
41
41
|
/**
|
|
42
42
|
* Disable SSL certificate verification when connecting to the Lagoon API.
|
|
43
43
|
*/
|
|
44
|
-
insecure?: pulumi.Input<boolean>;
|
|
44
|
+
insecure?: pulumi.Input<boolean | undefined>;
|
|
45
45
|
/**
|
|
46
46
|
* The audience claim for generated JWT tokens. Defaults to 'api.dev'.
|
|
47
47
|
*/
|
|
48
|
-
jwtAudience?: pulumi.Input<string>;
|
|
48
|
+
jwtAudience?: pulumi.Input<string | undefined>;
|
|
49
49
|
/**
|
|
50
50
|
* The Lagoon core JWTSECRET. Used to generate admin tokens on-the-fly.
|
|
51
51
|
*/
|
|
52
|
-
jwtSecret?: pulumi.Input<string>;
|
|
52
|
+
jwtSecret?: pulumi.Input<string | undefined>;
|
|
53
53
|
/**
|
|
54
54
|
* A pre-configured JWT authentication token for the Lagoon API.
|
|
55
55
|
*/
|
|
56
|
-
token?: pulumi.Input<string>;
|
|
56
|
+
token?: pulumi.Input<string | undefined>;
|
|
57
57
|
}
|
|
58
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;CAe/E;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
package/bin/provider.js
CHANGED
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Provider = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
class Provider extends pulumi.ProviderResource {
|
|
32
|
+
/** @internal */
|
|
33
|
+
static __pulumiType = 'lagoon';
|
|
9
34
|
/**
|
|
10
35
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
36
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -40,6 +65,4 @@ class Provider extends pulumi.ProviderResource {
|
|
|
40
65
|
}
|
|
41
66
|
}
|
|
42
67
|
exports.Provider = Provider;
|
|
43
|
-
/** @internal */
|
|
44
|
-
Provider.__pulumiType = 'lagoon';
|
|
45
68
|
//# sourceMappingURL=provider.js.map
|
package/bin/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,QAAQ,CAAC;IAE/C;;;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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EAAE,CAAC;QACjF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArDL,4BAsDC"}
|
package/bin/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,MAAM,GACT,CAAC"}
|
package/bin/types/index.js
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.output = exports.input = void 0;
|
|
6
29
|
// Export sub-modules:
|
|
7
|
-
const input = require("./input");
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
8
31
|
exports.input = input;
|
|
9
|
-
const output = require("./output");
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
10
33
|
exports.output = output;
|
|
11
34
|
//# sourceMappingURL=index.js.map
|
package/bin/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|