@pulumi/dbtcloud 0.1.2 → 0.1.3
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/environment.d.ts +3 -3
- package/environment.js +3 -3
- package/extendedAttributes.d.ts +1 -1
- package/extendedAttributes.js +1 -1
- package/getEnvironment.d.ts +4 -4
- package/getGroup.d.ts +15 -8
- package/getGroup.js +6 -0
- package/getGroup.js.map +1 -1
- package/group.d.ts +17 -20
- package/group.js +0 -2
- package/group.js.map +1 -1
- package/groupPartialPermissions.d.ts +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +19 -3
- package/types/output.d.ts +42 -8
package/environment.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
8
|
*
|
|
9
9
|
* const ciEnvironment = new dbtcloud.Environment("ci_environment", {
|
|
10
|
-
* dbtVersion: "
|
|
10
|
+
* dbtVersion: "versionless",
|
|
11
11
|
* name: "CI",
|
|
12
12
|
* projectId: dbtProject.id,
|
|
13
13
|
* type: "deployment",
|
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* });
|
|
16
16
|
* // we can also set a deployment environment as being the production one
|
|
17
17
|
* const prodEnvironment = new dbtcloud.Environment("prod_environment", {
|
|
18
|
-
* dbtVersion: "1.
|
|
18
|
+
* dbtVersion: "1.7.0-latest",
|
|
19
19
|
* name: "Prod",
|
|
20
20
|
* projectId: dbtProject.id,
|
|
21
21
|
* type: "deployment",
|
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* });
|
|
25
25
|
* // Creating a development environment
|
|
26
26
|
* const devEnvironment = new dbtcloud.Environment("dev_environment", {
|
|
27
|
-
* dbtVersion: "
|
|
27
|
+
* dbtVersion: "versionless",
|
|
28
28
|
* name: "Dev",
|
|
29
29
|
* projectId: dbtProject.id,
|
|
30
30
|
* type: "development",
|
package/environment.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
14
|
*
|
|
15
15
|
* const ciEnvironment = new dbtcloud.Environment("ci_environment", {
|
|
16
|
-
* dbtVersion: "
|
|
16
|
+
* dbtVersion: "versionless",
|
|
17
17
|
* name: "CI",
|
|
18
18
|
* projectId: dbtProject.id,
|
|
19
19
|
* type: "deployment",
|
|
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* });
|
|
22
22
|
* // we can also set a deployment environment as being the production one
|
|
23
23
|
* const prodEnvironment = new dbtcloud.Environment("prod_environment", {
|
|
24
|
-
* dbtVersion: "1.
|
|
24
|
+
* dbtVersion: "1.7.0-latest",
|
|
25
25
|
* name: "Prod",
|
|
26
26
|
* projectId: dbtProject.id,
|
|
27
27
|
* type: "deployment",
|
|
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* });
|
|
31
31
|
* // Creating a development environment
|
|
32
32
|
* const devEnvironment = new dbtcloud.Environment("dev_environment", {
|
|
33
|
-
* dbtVersion: "
|
|
33
|
+
* dbtVersion: "versionless",
|
|
34
34
|
* name: "Dev",
|
|
35
35
|
* projectId: dbtProject.id,
|
|
36
36
|
* type: "development",
|
package/extendedAttributes.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* projectId: dbtProject.id,
|
|
23
23
|
* });
|
|
24
24
|
* const issueDepl = new dbtcloud.Environment("issue_depl", {
|
|
25
|
-
* dbtVersion: "
|
|
25
|
+
* dbtVersion: "versionless",
|
|
26
26
|
* name: "My environment",
|
|
27
27
|
* projectId: dbtProject.id,
|
|
28
28
|
* type: "deployment",
|
package/extendedAttributes.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("./utilities");
|
|
|
28
28
|
* projectId: dbtProject.id,
|
|
29
29
|
* });
|
|
30
30
|
* const issueDepl = new dbtcloud.Environment("issue_depl", {
|
|
31
|
-
* dbtVersion: "
|
|
31
|
+
* dbtVersion: "versionless",
|
|
32
32
|
* name: "My environment",
|
|
33
33
|
* projectId: dbtProject.id,
|
|
34
34
|
* type: "deployment",
|
package/getEnvironment.d.ts
CHANGED
|
@@ -25,15 +25,15 @@ export interface GetEnvironmentResult {
|
|
|
25
25
|
*/
|
|
26
26
|
readonly credentialsId: number;
|
|
27
27
|
/**
|
|
28
|
-
* The
|
|
28
|
+
* The custom branch name to use
|
|
29
29
|
*/
|
|
30
30
|
readonly customBranch: string;
|
|
31
31
|
/**
|
|
32
|
-
* Version number of dbt to use in this environment
|
|
32
|
+
* Version number of dbt to use in this environment.
|
|
33
33
|
*/
|
|
34
34
|
readonly dbtVersion: string;
|
|
35
35
|
/**
|
|
36
|
-
* The
|
|
36
|
+
* The type of deployment environment (currently 'production', 'staging' or empty)
|
|
37
37
|
*/
|
|
38
38
|
readonly deploymentType: string;
|
|
39
39
|
/**
|
|
@@ -57,7 +57,7 @@ export interface GetEnvironmentResult {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly projectId: number;
|
|
59
59
|
/**
|
|
60
|
-
* The
|
|
60
|
+
* The type of environment (must be either development or deployment)
|
|
61
61
|
*/
|
|
62
62
|
readonly type: string;
|
|
63
63
|
/**
|
package/getGroup.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Retrieve group details
|
|
5
|
+
*/
|
|
2
6
|
export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
3
7
|
/**
|
|
4
8
|
* A collection of arguments for invoking getGroup.
|
|
5
9
|
*/
|
|
6
10
|
export interface GetGroupArgs {
|
|
7
11
|
/**
|
|
8
|
-
* ID of the group
|
|
12
|
+
* The ID of the group
|
|
9
13
|
*/
|
|
10
14
|
groupId: number;
|
|
11
15
|
}
|
|
@@ -14,21 +18,21 @@ export interface GetGroupArgs {
|
|
|
14
18
|
*/
|
|
15
19
|
export interface GetGroupResult {
|
|
16
20
|
/**
|
|
17
|
-
* Whether
|
|
21
|
+
* Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
|
|
18
22
|
*/
|
|
19
23
|
readonly assignByDefault: boolean;
|
|
20
24
|
/**
|
|
21
|
-
* ID of the group
|
|
25
|
+
* The ID of the group
|
|
22
26
|
*/
|
|
23
27
|
readonly groupId: number;
|
|
24
28
|
/**
|
|
25
|
-
*
|
|
29
|
+
* Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
|
|
26
30
|
*/
|
|
27
|
-
readonly
|
|
31
|
+
readonly groupPermissions: outputs.GetGroupGroupPermission[];
|
|
28
32
|
/**
|
|
29
|
-
*
|
|
33
|
+
* The ID of this resource
|
|
30
34
|
*/
|
|
31
|
-
readonly
|
|
35
|
+
readonly id: number;
|
|
32
36
|
/**
|
|
33
37
|
* Group name
|
|
34
38
|
*/
|
|
@@ -38,13 +42,16 @@ export interface GetGroupResult {
|
|
|
38
42
|
*/
|
|
39
43
|
readonly ssoMappingGroups: string[];
|
|
40
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Retrieve group details
|
|
47
|
+
*/
|
|
41
48
|
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
42
49
|
/**
|
|
43
50
|
* A collection of arguments for invoking getGroup.
|
|
44
51
|
*/
|
|
45
52
|
export interface GetGroupOutputArgs {
|
|
46
53
|
/**
|
|
47
|
-
* ID of the group
|
|
54
|
+
* The ID of the group
|
|
48
55
|
*/
|
|
49
56
|
groupId: pulumi.Input<number>;
|
|
50
57
|
}
|
package/getGroup.js
CHANGED
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getGroupOutput = exports.getGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve group details
|
|
10
|
+
*/
|
|
8
11
|
function getGroup(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("dbtcloud:index/getGroup:getGroup", {
|
|
@@ -12,6 +15,9 @@ function getGroup(args, opts) {
|
|
|
12
15
|
}, opts);
|
|
13
16
|
}
|
|
14
17
|
exports.getGroup = getGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve group details
|
|
20
|
+
*/
|
|
15
21
|
function getGroupOutput(args, opts) {
|
|
16
22
|
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
|
17
23
|
}
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAyCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/group.d.ts
CHANGED
|
@@ -71,22 +71,21 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
static isInstance(obj: any): obj is Group;
|
|
73
73
|
/**
|
|
74
|
-
* Whether
|
|
74
|
+
* Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
|
|
75
75
|
*/
|
|
76
|
-
readonly assignByDefault: pulumi.Output<boolean
|
|
77
|
-
readonly groupPermissions: pulumi.Output<outputs.GroupGroupPermission[] | undefined>;
|
|
76
|
+
readonly assignByDefault: pulumi.Output<boolean>;
|
|
78
77
|
/**
|
|
79
|
-
*
|
|
78
|
+
* Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
|
|
80
79
|
*/
|
|
81
|
-
readonly
|
|
80
|
+
readonly groupPermissions: pulumi.Output<outputs.GroupGroupPermission[] | undefined>;
|
|
82
81
|
/**
|
|
83
|
-
*
|
|
82
|
+
* The name of the group. This is used to identify an existing group
|
|
84
83
|
*/
|
|
85
84
|
readonly name: pulumi.Output<string>;
|
|
86
85
|
/**
|
|
87
|
-
*
|
|
86
|
+
* Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
|
|
88
87
|
*/
|
|
89
|
-
readonly ssoMappingGroups: pulumi.Output<string[]
|
|
88
|
+
readonly ssoMappingGroups: pulumi.Output<string[]>;
|
|
90
89
|
/**
|
|
91
90
|
* Create a Group resource with the given unique name, arguments, and options.
|
|
92
91
|
*
|
|
@@ -101,20 +100,19 @@ export declare class Group extends pulumi.CustomResource {
|
|
|
101
100
|
*/
|
|
102
101
|
export interface GroupState {
|
|
103
102
|
/**
|
|
104
|
-
* Whether
|
|
103
|
+
* Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
|
|
105
104
|
*/
|
|
106
105
|
assignByDefault?: pulumi.Input<boolean>;
|
|
107
|
-
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
108
106
|
/**
|
|
109
|
-
*
|
|
107
|
+
* Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
|
|
110
108
|
*/
|
|
111
|
-
|
|
109
|
+
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
112
110
|
/**
|
|
113
|
-
*
|
|
111
|
+
* The name of the group. This is used to identify an existing group
|
|
114
112
|
*/
|
|
115
113
|
name?: pulumi.Input<string>;
|
|
116
114
|
/**
|
|
117
|
-
*
|
|
115
|
+
* Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
|
|
118
116
|
*/
|
|
119
117
|
ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
118
|
}
|
|
@@ -123,20 +121,19 @@ export interface GroupState {
|
|
|
123
121
|
*/
|
|
124
122
|
export interface GroupArgs {
|
|
125
123
|
/**
|
|
126
|
-
* Whether
|
|
124
|
+
* Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
|
|
127
125
|
*/
|
|
128
126
|
assignByDefault?: pulumi.Input<boolean>;
|
|
129
|
-
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
130
127
|
/**
|
|
131
|
-
*
|
|
128
|
+
* Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
|
|
132
129
|
*/
|
|
133
|
-
|
|
130
|
+
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
134
131
|
/**
|
|
135
|
-
*
|
|
132
|
+
* The name of the group. This is used to identify an existing group
|
|
136
133
|
*/
|
|
137
134
|
name?: pulumi.Input<string>;
|
|
138
135
|
/**
|
|
139
|
-
*
|
|
136
|
+
* Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
|
|
140
137
|
*/
|
|
141
138
|
ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
139
|
}
|
package/group.js
CHANGED
|
@@ -88,7 +88,6 @@ class Group extends pulumi.CustomResource {
|
|
|
88
88
|
const state = argsOrState;
|
|
89
89
|
resourceInputs["assignByDefault"] = state ? state.assignByDefault : undefined;
|
|
90
90
|
resourceInputs["groupPermissions"] = state ? state.groupPermissions : undefined;
|
|
91
|
-
resourceInputs["isActive"] = state ? state.isActive : undefined;
|
|
92
91
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
93
92
|
resourceInputs["ssoMappingGroups"] = state ? state.ssoMappingGroups : undefined;
|
|
94
93
|
}
|
|
@@ -96,7 +95,6 @@ class Group extends pulumi.CustomResource {
|
|
|
96
95
|
const args = argsOrState;
|
|
97
96
|
resourceInputs["assignByDefault"] = args ? args.assignByDefault : undefined;
|
|
98
97
|
resourceInputs["groupPermissions"] = args ? args.groupPermissions : undefined;
|
|
99
|
-
resourceInputs["isActive"] = args ? args.isActive : undefined;
|
|
100
98
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
101
99
|
resourceInputs["ssoMappingGroups"] = args ? args.ssoMappingGroups : undefined;
|
|
102
100
|
}
|
package/group.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;
|
|
1
|
+
{"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;aAAM;YACH,MAAM,IAAI,GAAG,WAAoC,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAvEL,sBAwEC;AA1DG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -35,7 +35,7 @@ export declare class GroupPartialPermissions extends pulumi.CustomResource {
|
|
|
35
35
|
/**
|
|
36
36
|
* Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
|
|
37
37
|
*/
|
|
38
|
-
readonly ssoMappingGroups: pulumi.Output<string[]
|
|
38
|
+
readonly ssoMappingGroups: pulumi.Output<string[]>;
|
|
39
39
|
/**
|
|
40
40
|
* Create a GroupPartialPermissions resource with the given unique name, arguments, and options.
|
|
41
41
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/dbtcloud",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A Pulumi package for creating and managing dbt Cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"pulumi": {
|
|
27
27
|
"resource": true,
|
|
28
28
|
"name": "dbtcloud",
|
|
29
|
-
"version": "0.1.
|
|
29
|
+
"version": "0.1.3",
|
|
30
30
|
"server": "github://api.github.com/pulumi/pulumi-dbtcloud"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
export interface GroupGroupPermission {
|
|
3
3
|
/**
|
|
4
|
-
* Whether
|
|
4
|
+
* Whether access should be provided for all projects or not.
|
|
5
5
|
*/
|
|
6
6
|
allProjects: pulumi.Input<boolean>;
|
|
7
7
|
/**
|
|
8
|
-
* Set of permissions to apply
|
|
8
|
+
* Set of permissions to apply. The permissions allowed are the same as the ones for the `dbtcloud.Group` resource.
|
|
9
9
|
*/
|
|
10
10
|
permissionSet: pulumi.Input<string>;
|
|
11
11
|
/**
|
|
12
|
-
* Project ID to apply this permission to for this group
|
|
12
|
+
* Project ID to apply this permission to for this group.
|
|
13
13
|
*/
|
|
14
14
|
projectId?: pulumi.Input<number>;
|
|
15
|
+
/**
|
|
16
|
+
* What types of environments to apply Write permissions to.
|
|
17
|
+
* Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
|
|
18
|
+
* The values allowed are `all`, `development`, `staging`, `production` and `other`.
|
|
19
|
+
* Not setting a value is the same as selecting `all`.
|
|
20
|
+
* Not all permission sets support environment level write settings, only `analyst`, `databaseAdmin`, `developer`, `gitAdmin` and `teamAdmin`.
|
|
21
|
+
*/
|
|
22
|
+
writableEnvironmentCategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
15
23
|
}
|
|
16
24
|
export interface GroupPartialPermissionsGroupPermission {
|
|
17
25
|
/**
|
|
@@ -26,6 +34,14 @@ export interface GroupPartialPermissionsGroupPermission {
|
|
|
26
34
|
* Project ID to apply this permission to for this group.
|
|
27
35
|
*/
|
|
28
36
|
projectId?: pulumi.Input<number>;
|
|
37
|
+
/**
|
|
38
|
+
* What types of environments to apply Write permissions to.
|
|
39
|
+
* Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
|
|
40
|
+
* The values allowed are `all`, `development`, `staging`, `production` and `other`.
|
|
41
|
+
* Not setting a value is the same as selecting `all`.
|
|
42
|
+
* Not all permission sets support environment level write settings, only `analyst`, `databaseAdmin`, `developer`, `gitAdmin` and `teamAdmin`.
|
|
43
|
+
*/
|
|
44
|
+
writableEnvironmentCategories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
29
45
|
}
|
|
30
46
|
export interface JobJobCompletionTriggerCondition {
|
|
31
47
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export interface GetEnvironmentsEnvironment {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Credential ID to create the environment with. A credential is not required for development environments but is required for deployment environments
|
|
4
4
|
*/
|
|
5
5
|
credentialsId: number;
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
7
|
+
* The custom branch name to use
|
|
8
8
|
*/
|
|
9
9
|
customBranch: string;
|
|
10
10
|
/**
|
|
11
|
-
* Version number of dbt to use in this environment
|
|
11
|
+
* Version number of dbt to use in this environment.
|
|
12
12
|
*/
|
|
13
13
|
dbtVersion: string;
|
|
14
14
|
/**
|
|
15
|
-
* The
|
|
15
|
+
* The type of deployment environment (currently 'production', 'staging' or empty)
|
|
16
16
|
*/
|
|
17
17
|
deploymentType: string;
|
|
18
18
|
/**
|
|
@@ -32,7 +32,7 @@ export interface GetEnvironmentsEnvironment {
|
|
|
32
32
|
*/
|
|
33
33
|
projectId: number;
|
|
34
34
|
/**
|
|
35
|
-
* The
|
|
35
|
+
* The type of environment (must be either development or deployment)
|
|
36
36
|
*/
|
|
37
37
|
type: string;
|
|
38
38
|
/**
|
|
@@ -40,6 +40,24 @@ export interface GetEnvironmentsEnvironment {
|
|
|
40
40
|
*/
|
|
41
41
|
useCustomBranch: boolean;
|
|
42
42
|
}
|
|
43
|
+
export interface GetGroupGroupPermission {
|
|
44
|
+
/**
|
|
45
|
+
* Whether access should be provided for all projects or not.
|
|
46
|
+
*/
|
|
47
|
+
allProjects: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Set of permissions to apply. The permissions allowed are the same as the ones for the `dbtcloud.Group` resource.
|
|
50
|
+
*/
|
|
51
|
+
permissionSet: string;
|
|
52
|
+
/**
|
|
53
|
+
* Project ID to apply this permission to for this group.
|
|
54
|
+
*/
|
|
55
|
+
projectId: number;
|
|
56
|
+
/**
|
|
57
|
+
* What types of environments to apply Write permissions to.
|
|
58
|
+
*/
|
|
59
|
+
writableEnvironmentCategories: string[];
|
|
60
|
+
}
|
|
43
61
|
export interface GetGroupUsersUser {
|
|
44
62
|
email: string;
|
|
45
63
|
id: number;
|
|
@@ -74,17 +92,25 @@ export interface GetServiceTokenServiceTokenPermission {
|
|
|
74
92
|
}
|
|
75
93
|
export interface GroupGroupPermission {
|
|
76
94
|
/**
|
|
77
|
-
* Whether
|
|
95
|
+
* Whether access should be provided for all projects or not.
|
|
78
96
|
*/
|
|
79
97
|
allProjects: boolean;
|
|
80
98
|
/**
|
|
81
|
-
* Set of permissions to apply
|
|
99
|
+
* Set of permissions to apply. The permissions allowed are the same as the ones for the `dbtcloud.Group` resource.
|
|
82
100
|
*/
|
|
83
101
|
permissionSet: string;
|
|
84
102
|
/**
|
|
85
|
-
* Project ID to apply this permission to for this group
|
|
103
|
+
* Project ID to apply this permission to for this group.
|
|
86
104
|
*/
|
|
87
105
|
projectId?: number;
|
|
106
|
+
/**
|
|
107
|
+
* What types of environments to apply Write permissions to.
|
|
108
|
+
* Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
|
|
109
|
+
* The values allowed are `all`, `development`, `staging`, `production` and `other`.
|
|
110
|
+
* Not setting a value is the same as selecting `all`.
|
|
111
|
+
* Not all permission sets support environment level write settings, only `analyst`, `databaseAdmin`, `developer`, `gitAdmin` and `teamAdmin`.
|
|
112
|
+
*/
|
|
113
|
+
writableEnvironmentCategories: string[];
|
|
88
114
|
}
|
|
89
115
|
export interface GroupPartialPermissionsGroupPermission {
|
|
90
116
|
/**
|
|
@@ -99,6 +125,14 @@ export interface GroupPartialPermissionsGroupPermission {
|
|
|
99
125
|
* Project ID to apply this permission to for this group.
|
|
100
126
|
*/
|
|
101
127
|
projectId?: number;
|
|
128
|
+
/**
|
|
129
|
+
* What types of environments to apply Write permissions to.
|
|
130
|
+
* Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
|
|
131
|
+
* The values allowed are `all`, `development`, `staging`, `production` and `other`.
|
|
132
|
+
* Not setting a value is the same as selecting `all`.
|
|
133
|
+
* Not all permission sets support environment level write settings, only `analyst`, `databaseAdmin`, `developer`, `gitAdmin` and `teamAdmin`.
|
|
134
|
+
*/
|
|
135
|
+
writableEnvironmentCategories?: string[];
|
|
102
136
|
}
|
|
103
137
|
export interface JobJobCompletionTriggerCondition {
|
|
104
138
|
/**
|