@pierskarsenbarg/sdm 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account.d.ts +3 -6
- package/account.js.map +1 -1
- package/accountGroup.d.ts +87 -0
- package/accountGroup.js +84 -0
- package/accountGroup.js.map +1 -0
- package/approvalWorkflow.d.ts +6 -0
- package/approvalWorkflow.js +6 -0
- package/approvalWorkflow.js.map +1 -1
- package/getAccount.d.ts +2 -2
- package/getAccountGroup.d.ts +101 -0
- package/getAccountGroup.js +66 -0
- package/getAccountGroup.js.map +1 -0
- package/getGroup.d.ts +127 -0
- package/getGroup.js +72 -0
- package/getGroup.js.map +1 -0
- package/getGroupRole.d.ts +101 -0
- package/getGroupRole.js +66 -0
- package/getGroupRole.js.map +1 -0
- package/getNode.d.ts +2 -2
- package/getResource.d.ts +2 -2
- package/getSecretEngine.d.ts +74 -2
- package/getSecretEngine.js +12 -0
- package/getSecretEngine.js.map +1 -1
- package/getSecretStore.d.ts +2 -2
- package/getWorkflow.d.ts +32 -0
- package/getWorkflow.js +32 -0
- package/getWorkflow.js.map +1 -1
- package/getWorkflowRole.d.ts +10 -4
- package/getWorkflowRole.js +10 -4
- package/getWorkflowRole.js.map +1 -1
- package/group.d.ts +110 -0
- package/group.js +79 -0
- package/group.js.map +1 -0
- package/groupRole.d.ts +87 -0
- package/groupRole.js +84 -0
- package/groupRole.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.js +26 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/resource.d.ts +15 -24
- package/resource.js +2 -0
- package/resource.js.map +1 -1
- package/role.d.ts +37 -0
- package/role.js +37 -0
- package/role.js.map +1 -1
- package/secretEngine.d.ts +9 -15
- package/secretEngine.js +2 -0
- package/secretEngine.js.map +1 -1
- package/secretStore.d.ts +3 -6
- package/secretStore.js.map +1 -1
- package/types/input.d.ts +249 -117
- package/types/output.d.ts +539 -225
- package/workflow.d.ts +42 -0
- package/workflow.js +42 -0
- package/workflow.js.map +1 -1
- package/workflowRole.d.ts +6 -2
- package/workflowRole.js +6 -2
- package/workflowRole.js.map +1 -1
package/account.d.ts
CHANGED
|
@@ -58,8 +58,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
58
58
|
*/
|
|
59
59
|
static isInstance(obj: any): obj is Account;
|
|
60
60
|
/**
|
|
61
|
-
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services
|
|
62
|
-
* are typically automated jobs.
|
|
61
|
+
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
|
|
63
62
|
*/
|
|
64
63
|
readonly service: pulumi.Output<outputs.AccountService | undefined>;
|
|
65
64
|
/**
|
|
@@ -80,8 +79,7 @@ export declare class Account extends pulumi.CustomResource {
|
|
|
80
79
|
*/
|
|
81
80
|
export interface AccountState {
|
|
82
81
|
/**
|
|
83
|
-
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services
|
|
84
|
-
* are typically automated jobs.
|
|
82
|
+
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
|
|
85
83
|
*/
|
|
86
84
|
service?: pulumi.Input<inputs.AccountService>;
|
|
87
85
|
/**
|
|
@@ -94,8 +92,7 @@ export interface AccountState {
|
|
|
94
92
|
*/
|
|
95
93
|
export interface AccountArgs {
|
|
96
94
|
/**
|
|
97
|
-
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services
|
|
98
|
-
* are typically automated jobs.
|
|
95
|
+
* A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
|
|
99
96
|
*/
|
|
100
97
|
service?: pulumi.Input<inputs.AccountService>;
|
|
101
98
|
/**
|
package/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../account.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;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Y,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3DL,0BA4DC;AA9CG,gBAAgB;AACO,oBAAY,GAAG,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
9
|
+
*
|
|
10
|
+
* const securityLeadToSecurityTeam = new sdm.AccountGroup("securityLeadToSecurityTeam", {
|
|
11
|
+
* accountId: sdm_account.security_lead.id,
|
|
12
|
+
* groupId: sdm_group.security_team.id,
|
|
13
|
+
* });
|
|
14
|
+
* const adminUserToAdministrators = new sdm.AccountGroup("adminUserToAdministrators", {
|
|
15
|
+
* accountId: "a-1234567890abcdef",
|
|
16
|
+
* groupId: "group-1234567890abcdef",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* This resource can be imported using the import command.
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* A AccountGroup can be imported using the id, e.g.,
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import sdm:index/accountGroup:AccountGroup example accountgroup-12345678
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class AccountGroup extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AccountGroup resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountGroupState, opts?: pulumi.CustomResourceOptions): AccountGroup;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of AccountGroup. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is AccountGroup;
|
|
45
|
+
/**
|
|
46
|
+
* Unique identifier of the Account.
|
|
47
|
+
*/
|
|
48
|
+
readonly accountId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Unique identifier of the Group.
|
|
51
|
+
*/
|
|
52
|
+
readonly groupId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a AccountGroup resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: AccountGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering AccountGroup resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface AccountGroupState {
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier of the Account.
|
|
68
|
+
*/
|
|
69
|
+
accountId?: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Unique identifier of the Group.
|
|
72
|
+
*/
|
|
73
|
+
groupId?: pulumi.Input<string>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a AccountGroup resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface AccountGroupArgs {
|
|
79
|
+
/**
|
|
80
|
+
* Unique identifier of the Account.
|
|
81
|
+
*/
|
|
82
|
+
accountId: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of the Group.
|
|
85
|
+
*/
|
|
86
|
+
groupId: pulumi.Input<string>;
|
|
87
|
+
}
|
package/accountGroup.js
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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.AccountGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const securityLeadToSecurityTeam = new sdm.AccountGroup("securityLeadToSecurityTeam", {
|
|
17
|
+
* accountId: sdm_account.security_lead.id,
|
|
18
|
+
* groupId: sdm_group.security_team.id,
|
|
19
|
+
* });
|
|
20
|
+
* const adminUserToAdministrators = new sdm.AccountGroup("adminUserToAdministrators", {
|
|
21
|
+
* accountId: "a-1234567890abcdef",
|
|
22
|
+
* groupId: "group-1234567890abcdef",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* This resource can be imported using the import command.
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* A AccountGroup can be imported using the id, e.g.,
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import sdm:index/accountGroup:AccountGroup example accountgroup-12345678
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class AccountGroup extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing AccountGroup resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new AccountGroup(name, state, { ...opts, id: id });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of AccountGroup. 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'] === AccountGroup.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
64
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'accountId'");
|
|
70
|
+
}
|
|
71
|
+
if (args?.groupId === undefined && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'groupId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
75
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(AccountGroup.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.AccountGroup = AccountGroup;
|
|
82
|
+
/** @internal */
|
|
83
|
+
AccountGroup.__pulumiType = 'sdm:index/accountGroup:AccountGroup';
|
|
84
|
+
//# sourceMappingURL=accountGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountGroup.js","sourceRoot":"","sources":["../accountGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;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
|
package/approvalWorkflow.d.ts
CHANGED
|
@@ -19,6 +19,9 @@ import * as outputs from "./types/output";
|
|
|
19
19
|
* accountId: "a-1234abc",
|
|
20
20
|
* },
|
|
21
21
|
* {
|
|
22
|
+
* groupId: "group-1234abc",
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
22
25
|
* reference: "manager-of-requester",
|
|
23
26
|
* },
|
|
24
27
|
* ],
|
|
@@ -34,6 +37,9 @@ import * as outputs from "./types/output";
|
|
|
34
37
|
* accountId: "a-5678def",
|
|
35
38
|
* },
|
|
36
39
|
* {
|
|
40
|
+
* groupId: "group-5678def",
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
37
43
|
* reference: "manager-of-manager-of-requester",
|
|
38
44
|
* },
|
|
39
45
|
* ],
|
package/approvalWorkflow.js
CHANGED
|
@@ -23,6 +23,9 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* accountId: "a-1234abc",
|
|
24
24
|
* },
|
|
25
25
|
* {
|
|
26
|
+
* groupId: "group-1234abc",
|
|
27
|
+
* },
|
|
28
|
+
* {
|
|
26
29
|
* reference: "manager-of-requester",
|
|
27
30
|
* },
|
|
28
31
|
* ],
|
|
@@ -38,6 +41,9 @@ const utilities = require("./utilities");
|
|
|
38
41
|
* accountId: "a-5678def",
|
|
39
42
|
* },
|
|
40
43
|
* {
|
|
44
|
+
* groupId: "group-5678def",
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
41
47
|
* reference: "manager-of-manager-of-requester",
|
|
42
48
|
* },
|
|
43
49
|
* ],
|
package/approvalWorkflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approvalWorkflow.js","sourceRoot":"","sources":["../approvalWorkflow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"approvalWorkflow.js","sourceRoot":"","sources":["../approvalWorkflow.ts"],"names":[],"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AK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;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;;AA1EL,4CA2EC;AA7DG,gBAAgB;AACO,6BAAY,GAAG,6CAA6C,CAAC"}
|
package/getAccount.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export interface GetAccountArgs {
|
|
|
85
85
|
[key: string]: string;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
|
-
* a filter to select all items of a certain subtype. See the [filter documentation](https://
|
|
88
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
89
89
|
*/
|
|
90
90
|
type?: string;
|
|
91
91
|
}
|
|
@@ -239,7 +239,7 @@ export interface GetAccountOutputArgs {
|
|
|
239
239
|
[key: string]: pulumi.Input<string>;
|
|
240
240
|
}>;
|
|
241
241
|
/**
|
|
242
|
-
* a filter to select all items of a certain subtype. See the [filter documentation](https://
|
|
242
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
|
|
243
243
|
*/
|
|
244
244
|
type?: pulumi.Input<string>;
|
|
245
245
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
10
|
+
*
|
|
11
|
+
* const securityLeadGroups = sdm.getAccountGroup({
|
|
12
|
+
* accountId: sdm_account.security_lead.id,
|
|
13
|
+
* });
|
|
14
|
+
* const specificRelationship = sdm.getAccountGroup({
|
|
15
|
+
* id: "accountgroup-1234567890abcdef",
|
|
16
|
+
* });
|
|
17
|
+
* const usersInGroup = sdm.getAccountGroup({
|
|
18
|
+
* groupId: sdm_group.devops_group.id,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAccountGroup(args?: GetAccountGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountGroupResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking getAccountGroup.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetAccountGroupArgs {
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier of the Account.
|
|
29
|
+
*/
|
|
30
|
+
accountId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier of the Group.
|
|
33
|
+
*/
|
|
34
|
+
groupId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the AccountGroup.
|
|
37
|
+
*/
|
|
38
|
+
id?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A collection of values returned by getAccountGroup.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetAccountGroupResult {
|
|
44
|
+
/**
|
|
45
|
+
* Unique identifier of the Account.
|
|
46
|
+
*/
|
|
47
|
+
readonly accountId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* A list where each element has the following attributes:
|
|
50
|
+
*/
|
|
51
|
+
readonly accountsGroups: outputs.GetAccountGroupAccountsGroup[];
|
|
52
|
+
/**
|
|
53
|
+
* Unique identifier of the Group.
|
|
54
|
+
*/
|
|
55
|
+
readonly groupId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier of the AccountGroup.
|
|
58
|
+
*/
|
|
59
|
+
readonly id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* a list of strings of ids of data sources that match the given arguments.
|
|
62
|
+
*/
|
|
63
|
+
readonly ids: string[];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
72
|
+
*
|
|
73
|
+
* const securityLeadGroups = sdm.getAccountGroup({
|
|
74
|
+
* accountId: sdm_account.security_lead.id,
|
|
75
|
+
* });
|
|
76
|
+
* const specificRelationship = sdm.getAccountGroup({
|
|
77
|
+
* id: "accountgroup-1234567890abcdef",
|
|
78
|
+
* });
|
|
79
|
+
* const usersInGroup = sdm.getAccountGroup({
|
|
80
|
+
* groupId: sdm_group.devops_group.id,
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare function getAccountGroupOutput(args?: GetAccountGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountGroupResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getAccountGroup.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetAccountGroupOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* Unique identifier of the Account.
|
|
91
|
+
*/
|
|
92
|
+
accountId?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Unique identifier of the Group.
|
|
95
|
+
*/
|
|
96
|
+
groupId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Unique identifier of the AccountGroup.
|
|
99
|
+
*/
|
|
100
|
+
id?: pulumi.Input<string>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.getAccountGroupOutput = exports.getAccountGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const securityLeadGroups = sdm.getAccountGroup({
|
|
17
|
+
* accountId: sdm_account.security_lead.id,
|
|
18
|
+
* });
|
|
19
|
+
* const specificRelationship = sdm.getAccountGroup({
|
|
20
|
+
* id: "accountgroup-1234567890abcdef",
|
|
21
|
+
* });
|
|
22
|
+
* const usersInGroup = sdm.getAccountGroup({
|
|
23
|
+
* groupId: sdm_group.devops_group.id,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getAccountGroup(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("sdm:index/getAccountGroup:getAccountGroup", {
|
|
31
|
+
"accountId": args.accountId,
|
|
32
|
+
"groupId": args.groupId,
|
|
33
|
+
"id": args.id,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getAccountGroup = getAccountGroup;
|
|
37
|
+
/**
|
|
38
|
+
* An AccountGroup is a link between an Account and a Group.
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
44
|
+
*
|
|
45
|
+
* const securityLeadGroups = sdm.getAccountGroup({
|
|
46
|
+
* accountId: sdm_account.security_lead.id,
|
|
47
|
+
* });
|
|
48
|
+
* const specificRelationship = sdm.getAccountGroup({
|
|
49
|
+
* id: "accountgroup-1234567890abcdef",
|
|
50
|
+
* });
|
|
51
|
+
* const usersInGroup = sdm.getAccountGroup({
|
|
52
|
+
* groupId: sdm_group.devops_group.id,
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getAccountGroupOutput(args, opts) {
|
|
57
|
+
args = args || {};
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
59
|
+
return pulumi.runtime.invokeOutput("sdm:index/getAccountGroup:getAccountGroup", {
|
|
60
|
+
"accountId": args.accountId,
|
|
61
|
+
"groupId": args.groupId,
|
|
62
|
+
"id": args.id,
|
|
63
|
+
}, opts);
|
|
64
|
+
}
|
|
65
|
+
exports.getAccountGroupOutput = getAccountGroupOutput;
|
|
66
|
+
//# sourceMappingURL=getAccountGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountGroup.js","sourceRoot":"","sources":["../getAccountGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
package/getGroup.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* A Group is a named set of principals.
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
10
|
+
*
|
|
11
|
+
* const securityTeam = sdm.getGroup({
|
|
12
|
+
* name: "Security Team",
|
|
13
|
+
* });
|
|
14
|
+
* const administrators = sdm.getGroup({
|
|
15
|
+
* id: "group-1234567890abcdef",
|
|
16
|
+
* });
|
|
17
|
+
* const adminTeams = sdm.getGroup({
|
|
18
|
+
* tags: {
|
|
19
|
+
* admin: "true",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getGroup.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetGroupArgs {
|
|
29
|
+
/**
|
|
30
|
+
* Description of the Group.
|
|
31
|
+
*/
|
|
32
|
+
description?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Unique identifier of the Group.
|
|
35
|
+
*/
|
|
36
|
+
id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique human-readable name of the Group.
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
43
|
+
*/
|
|
44
|
+
tags?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A collection of values returned by getGroup.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetGroupResult {
|
|
52
|
+
/**
|
|
53
|
+
* Description of the Group.
|
|
54
|
+
*/
|
|
55
|
+
readonly description?: string;
|
|
56
|
+
/**
|
|
57
|
+
* A list where each element has the following attributes:
|
|
58
|
+
*/
|
|
59
|
+
readonly groups: outputs.GetGroupGroup[];
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the Group.
|
|
62
|
+
*/
|
|
63
|
+
readonly id?: string;
|
|
64
|
+
/**
|
|
65
|
+
* a list of strings of ids of data sources that match the given arguments.
|
|
66
|
+
*/
|
|
67
|
+
readonly ids: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Unique human-readable name of the Group.
|
|
70
|
+
*/
|
|
71
|
+
readonly name?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
|
|
74
|
+
*/
|
|
75
|
+
readonly source: string;
|
|
76
|
+
/**
|
|
77
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
78
|
+
*/
|
|
79
|
+
readonly tags?: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* A Group is a named set of principals.
|
|
85
|
+
* ## Example Usage
|
|
86
|
+
*
|
|
87
|
+
* ```typescript
|
|
88
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
89
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
90
|
+
*
|
|
91
|
+
* const securityTeam = sdm.getGroup({
|
|
92
|
+
* name: "Security Team",
|
|
93
|
+
* });
|
|
94
|
+
* const administrators = sdm.getGroup({
|
|
95
|
+
* id: "group-1234567890abcdef",
|
|
96
|
+
* });
|
|
97
|
+
* const adminTeams = sdm.getGroup({
|
|
98
|
+
* tags: {
|
|
99
|
+
* admin: "true",
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
|
|
105
|
+
/**
|
|
106
|
+
* A collection of arguments for invoking getGroup.
|
|
107
|
+
*/
|
|
108
|
+
export interface GetGroupOutputArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Description of the Group.
|
|
111
|
+
*/
|
|
112
|
+
description?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Unique identifier of the Group.
|
|
115
|
+
*/
|
|
116
|
+
id?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Unique human-readable name of the Group.
|
|
119
|
+
*/
|
|
120
|
+
name?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Tags is a map of key/value pairs that can be attached to a Group.
|
|
123
|
+
*/
|
|
124
|
+
tags?: pulumi.Input<{
|
|
125
|
+
[key: string]: pulumi.Input<string>;
|
|
126
|
+
}>;
|
|
127
|
+
}
|
package/getGroup.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
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.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A Group is a named set of principals.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const securityTeam = sdm.getGroup({
|
|
17
|
+
* name: "Security Team",
|
|
18
|
+
* });
|
|
19
|
+
* const administrators = sdm.getGroup({
|
|
20
|
+
* id: "group-1234567890abcdef",
|
|
21
|
+
* });
|
|
22
|
+
* const adminTeams = sdm.getGroup({
|
|
23
|
+
* tags: {
|
|
24
|
+
* admin: "true",
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function getGroup(args, opts) {
|
|
30
|
+
args = args || {};
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invoke("sdm:index/getGroup:getGroup", {
|
|
33
|
+
"description": args.description,
|
|
34
|
+
"id": args.id,
|
|
35
|
+
"name": args.name,
|
|
36
|
+
"tags": args.tags,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getGroup = getGroup;
|
|
40
|
+
/**
|
|
41
|
+
* A Group is a named set of principals.
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as sdm from "@pierskarsenbarg/sdm";
|
|
47
|
+
*
|
|
48
|
+
* const securityTeam = sdm.getGroup({
|
|
49
|
+
* name: "Security Team",
|
|
50
|
+
* });
|
|
51
|
+
* const administrators = sdm.getGroup({
|
|
52
|
+
* id: "group-1234567890abcdef",
|
|
53
|
+
* });
|
|
54
|
+
* const adminTeams = sdm.getGroup({
|
|
55
|
+
* tags: {
|
|
56
|
+
* admin: "true",
|
|
57
|
+
* },
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
function getGroupOutput(args, opts) {
|
|
62
|
+
args = args || {};
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
64
|
+
return pulumi.runtime.invokeOutput("sdm:index/getGroup:getGroup", {
|
|
65
|
+
"description": args.description,
|
|
66
|
+
"id": args.id,
|
|
67
|
+
"name": args.name,
|
|
68
|
+
"tags": args.tags,
|
|
69
|
+
}, opts);
|
|
70
|
+
}
|
|
71
|
+
exports.getGroupOutput = getGroupOutput;
|
|
72
|
+
//# sourceMappingURL=getGroup.js.map
|
package/getGroup.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAyDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE;QAC9D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC"}
|