@ryan-pip/pulumi_astronomer 0.2.8 → 1.2.3-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/agentToken.d.ts +96 -0
  2. package/agentToken.d.ts.map +1 -0
  3. package/agentToken.js +88 -0
  4. package/agentToken.js.map +1 -0
  5. package/alert.d.ts +190 -0
  6. package/alert.d.ts.map +1 -0
  7. package/alert.js +121 -0
  8. package/alert.js.map +1 -0
  9. package/apiToken.d.ts +7 -0
  10. package/apiToken.d.ts.map +1 -0
  11. package/apiToken.js +50 -27
  12. package/apiToken.js.map +1 -1
  13. package/cluster.d.ts +76 -50
  14. package/cluster.d.ts.map +1 -0
  15. package/cluster.js +76 -88
  16. package/cluster.js.map +1 -1
  17. package/config/index.d.ts +1 -0
  18. package/config/index.d.ts.map +1 -0
  19. package/config/index.js +1 -1
  20. package/config/index.js.map +1 -1
  21. package/config/vars.d.ts +1 -0
  22. package/config/vars.d.ts.map +1 -0
  23. package/config/vars.js +28 -6
  24. package/config/vars.js.map +1 -1
  25. package/customRole.d.ts +162 -0
  26. package/customRole.d.ts.map +1 -0
  27. package/customRole.js +125 -0
  28. package/customRole.js.map +1 -0
  29. package/deployment.d.ts +50 -16
  30. package/deployment.d.ts.map +1 -0
  31. package/deployment.js +114 -87
  32. package/deployment.js.map +1 -1
  33. package/getAlert.d.ts +118 -0
  34. package/getAlert.d.ts.map +1 -0
  35. package/getAlert.js +75 -0
  36. package/getAlert.js.map +1 -0
  37. package/getAlerts.d.ts +102 -0
  38. package/getAlerts.d.ts.map +1 -0
  39. package/getAlerts.js +117 -0
  40. package/getAlerts.js.map +1 -0
  41. package/getApiToken.d.ts +3 -2
  42. package/getApiToken.d.ts.map +1 -0
  43. package/getApiToken.js +28 -5
  44. package/getApiToken.js.map +1 -1
  45. package/getApiTokens.d.ts +3 -2
  46. package/getApiTokens.d.ts.map +1 -0
  47. package/getApiTokens.js +28 -5
  48. package/getApiTokens.js.map +1 -1
  49. package/getCluster.d.ts +28 -3
  50. package/getCluster.d.ts.map +1 -0
  51. package/getCluster.js +28 -5
  52. package/getCluster.js.map +1 -1
  53. package/getClusterOptions.d.ts +12 -2
  54. package/getClusterOptions.d.ts.map +1 -0
  55. package/getClusterOptions.js +28 -5
  56. package/getClusterOptions.js.map +1 -1
  57. package/getClusters.d.ts +12 -2
  58. package/getClusters.d.ts.map +1 -0
  59. package/getClusters.js +28 -5
  60. package/getClusters.js.map +1 -1
  61. package/getCustomRole.d.ts +98 -0
  62. package/getCustomRole.d.ts.map +1 -0
  63. package/getCustomRole.js +75 -0
  64. package/getCustomRole.js.map +1 -0
  65. package/getDeployment.d.ts +10 -5
  66. package/getDeployment.d.ts.map +1 -0
  67. package/getDeployment.js +28 -5
  68. package/getDeployment.js.map +1 -1
  69. package/getDeploymentOptions.d.ts +6 -5
  70. package/getDeploymentOptions.d.ts.map +1 -0
  71. package/getDeploymentOptions.js +28 -5
  72. package/getDeploymentOptions.js.map +1 -1
  73. package/getDeployments.d.ts +3 -2
  74. package/getDeployments.d.ts.map +1 -0
  75. package/getDeployments.js +28 -5
  76. package/getDeployments.js.map +1 -1
  77. package/getNotificationChannel.d.ts +114 -0
  78. package/getNotificationChannel.d.ts.map +1 -0
  79. package/getNotificationChannel.js +75 -0
  80. package/getNotificationChannel.js.map +1 -0
  81. package/getNotificationChannels.d.ts +50 -0
  82. package/getNotificationChannels.d.ts.map +1 -0
  83. package/getNotificationChannels.js +65 -0
  84. package/getNotificationChannels.js.map +1 -0
  85. package/getOrganization.d.ts +3 -2
  86. package/getOrganization.d.ts.map +1 -0
  87. package/getOrganization.js +28 -5
  88. package/getOrganization.js.map +1 -1
  89. package/getTeam.d.ts +11 -2
  90. package/getTeam.d.ts.map +1 -0
  91. package/getTeam.js +28 -5
  92. package/getTeam.js.map +1 -1
  93. package/getTeams.d.ts +27 -18
  94. package/getTeams.d.ts.map +1 -0
  95. package/getTeams.js +52 -21
  96. package/getTeams.js.map +1 -1
  97. package/getUser.d.ts +7 -2
  98. package/getUser.d.ts.map +1 -0
  99. package/getUser.js +28 -5
  100. package/getUser.js.map +1 -1
  101. package/getUsers.d.ts +27 -18
  102. package/getUsers.d.ts.map +1 -0
  103. package/getUsers.js +52 -21
  104. package/getUsers.js.map +1 -1
  105. package/getWorkspace.d.ts +3 -2
  106. package/getWorkspace.d.ts.map +1 -0
  107. package/getWorkspace.js +28 -5
  108. package/getWorkspace.js.map +1 -1
  109. package/getWorkspaces.d.ts +39 -30
  110. package/getWorkspaces.d.ts.map +1 -0
  111. package/getWorkspaces.js +64 -33
  112. package/getWorkspaces.js.map +1 -1
  113. package/hybridClusterWorkspaceAuthorization.d.ts +1 -19
  114. package/hybridClusterWorkspaceAuthorization.d.ts.map +1 -0
  115. package/hybridClusterWorkspaceAuthorization.js +34 -30
  116. package/hybridClusterWorkspaceAuthorization.js.map +1 -1
  117. package/index.d.ts +32 -3
  118. package/index.d.ts.map +1 -0
  119. package/index.js +76 -9
  120. package/index.js.map +1 -1
  121. package/notificationChannel.d.ts +170 -0
  122. package/notificationChannel.d.ts.map +1 -0
  123. package/notificationChannel.js +111 -0
  124. package/notificationChannel.js.map +1 -0
  125. package/package.json +4 -3
  126. package/provider.d.ts +18 -3
  127. package/provider.d.ts.map +1 -0
  128. package/provider.js +39 -12
  129. package/provider.js.map +1 -1
  130. package/team.d.ts +20 -7
  131. package/team.d.ts.map +1 -0
  132. package/team.js +51 -26
  133. package/team.js.map +1 -1
  134. package/teamMembership.d.ts +66 -0
  135. package/teamMembership.d.ts.map +1 -0
  136. package/teamMembership.js +85 -0
  137. package/teamMembership.js.map +1 -0
  138. package/teamRoles.d.ts +20 -7
  139. package/teamRoles.d.ts.map +1 -0
  140. package/teamRoles.js +42 -17
  141. package/teamRoles.js.map +1 -1
  142. package/types/index.d.ts +1 -0
  143. package/types/index.d.ts.map +1 -0
  144. package/types/index.js +26 -3
  145. package/types/index.js.map +1 -1
  146. package/types/input.d.ts +316 -3
  147. package/types/input.d.ts.map +1 -0
  148. package/types/input.js +1 -1
  149. package/types/input.js.map +1 -1
  150. package/types/output.d.ts +944 -11
  151. package/types/output.d.ts.map +1 -0
  152. package/types/output.js +1 -1
  153. package/types/output.js.map +1 -1
  154. package/userInvite.d.ts +2 -1
  155. package/userInvite.d.ts.map +1 -0
  156. package/userInvite.js +41 -18
  157. package/userInvite.js.map +1 -1
  158. package/userRoles.d.ts +20 -7
  159. package/userRoles.d.ts.map +1 -0
  160. package/userRoles.js +42 -17
  161. package/userRoles.js.map +1 -1
  162. package/utilities.d.ts +1 -4
  163. package/utilities.d.ts.map +1 -0
  164. package/utilities.js +43 -30
  165. package/utilities.js.map +1 -1
  166. package/workspace.d.ts +1 -16
  167. package/workspace.d.ts.map +1 -0
  168. package/workspace.js +41 -34
  169. package/workspace.js.map +1 -1
  170. package/package.json.bak +0 -29
package/config/vars.js CHANGED
@@ -1,9 +1,32 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
- const pulumi = require("@pulumi/pulumi");
6
- const utilities = require("../utilities");
28
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
+ const utilities = __importStar(require("../utilities"));
7
30
  const __config = new pulumi.Config("astronomer");
8
31
  Object.defineProperty(exports, "host", {
9
32
  get() {
@@ -13,14 +36,13 @@ Object.defineProperty(exports, "host", {
13
36
  });
14
37
  Object.defineProperty(exports, "organizationId", {
15
38
  get() {
16
- return __config.get("organizationId");
39
+ return __config.get("organizationId") ?? utilities.getEnv("ASTRO_ORGANIZATION_ID");
17
40
  },
18
41
  enumerable: true,
19
42
  });
20
43
  Object.defineProperty(exports, "token", {
21
44
  get() {
22
- var _a;
23
- return (_a = __config.get("token")) !== null && _a !== void 0 ? _a : utilities.getEnv("ASTRO_API_TOKEN");
45
+ return __config.get("token") ?? utilities.getEnv("ASTRO_API_TOKEN");
24
46
  },
25
47
  enumerable: true,
26
48
  });
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAMjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;IACnC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC1C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACxE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAMjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE;IACnC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;IACvF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACxE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -0,0 +1,162 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Custom role resource
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
12
+ *
13
+ * const example = new astronomer.CustomRole("example", {
14
+ * name: "Deployment_Viewer",
15
+ * description: "Custom role for viewing deployments",
16
+ * scopeType: "DEPLOYMENT",
17
+ * permissions: [
18
+ * "deployment.get",
19
+ * "deployment.delete",
20
+ * ],
21
+ * });
22
+ * // Custom role with restricted workspace access
23
+ * const restrictedExample = new astronomer.CustomRole("restricted_example", {
24
+ * name: "Limited_Deployment_Viewer",
25
+ * description: "Custom role restricted to specific workspaces",
26
+ * scopeType: "DEPLOYMENT",
27
+ * permissions: ["deployment.get"],
28
+ * restrictedWorkspaceIds: [
29
+ * "clxxxxxxxxxxxx",
30
+ * "clyyyyyyyyyyyyy",
31
+ * ],
32
+ * });
33
+ * ```
34
+ */
35
+ export declare class CustomRole extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing CustomRole 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: string, id: pulumi.Input<pulumi.ID>, state?: CustomRoleState, opts?: pulumi.CustomResourceOptions): CustomRole;
46
+ /**
47
+ * Returns true if the given object is an instance of CustomRole. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is CustomRole;
51
+ /**
52
+ * The time the custom role was created
53
+ */
54
+ readonly createdAt: pulumi.Output<string>;
55
+ /**
56
+ * The subject who created the custom role
57
+ */
58
+ readonly createdBy: pulumi.Output<outputs.CustomRoleCreatedBy>;
59
+ /**
60
+ * The custom role's description
61
+ */
62
+ readonly description: pulumi.Output<string | undefined>;
63
+ /**
64
+ * The custom role's name
65
+ */
66
+ readonly name: pulumi.Output<string>;
67
+ /**
68
+ * The custom role's permissions
69
+ */
70
+ readonly permissions: pulumi.Output<string[]>;
71
+ /**
72
+ * The IDs of Workspaces that the custom role is restricted to
73
+ */
74
+ readonly restrictedWorkspaceIds: pulumi.Output<string[] | undefined>;
75
+ /**
76
+ * The custom role's scope (DEPLOYMENT or DAG)
77
+ */
78
+ readonly scopeType: pulumi.Output<string>;
79
+ /**
80
+ * The time the custom role was last updated
81
+ */
82
+ readonly updatedAt: pulumi.Output<string>;
83
+ /**
84
+ * The subject who last updated the custom role
85
+ */
86
+ readonly updatedBy: pulumi.Output<outputs.CustomRoleUpdatedBy>;
87
+ /**
88
+ * Create a CustomRole resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: CustomRoleArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering CustomRole resources.
98
+ */
99
+ export interface CustomRoleState {
100
+ /**
101
+ * The time the custom role was created
102
+ */
103
+ createdAt?: pulumi.Input<string>;
104
+ /**
105
+ * The subject who created the custom role
106
+ */
107
+ createdBy?: pulumi.Input<inputs.CustomRoleCreatedBy>;
108
+ /**
109
+ * The custom role's description
110
+ */
111
+ description?: pulumi.Input<string>;
112
+ /**
113
+ * The custom role's name
114
+ */
115
+ name?: pulumi.Input<string>;
116
+ /**
117
+ * The custom role's permissions
118
+ */
119
+ permissions?: pulumi.Input<pulumi.Input<string>[]>;
120
+ /**
121
+ * The IDs of Workspaces that the custom role is restricted to
122
+ */
123
+ restrictedWorkspaceIds?: pulumi.Input<pulumi.Input<string>[]>;
124
+ /**
125
+ * The custom role's scope (DEPLOYMENT or DAG)
126
+ */
127
+ scopeType?: pulumi.Input<string>;
128
+ /**
129
+ * The time the custom role was last updated
130
+ */
131
+ updatedAt?: pulumi.Input<string>;
132
+ /**
133
+ * The subject who last updated the custom role
134
+ */
135
+ updatedBy?: pulumi.Input<inputs.CustomRoleUpdatedBy>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a CustomRole resource.
139
+ */
140
+ export interface CustomRoleArgs {
141
+ /**
142
+ * The custom role's description
143
+ */
144
+ description?: pulumi.Input<string>;
145
+ /**
146
+ * The custom role's name
147
+ */
148
+ name?: pulumi.Input<string>;
149
+ /**
150
+ * The custom role's permissions
151
+ */
152
+ permissions: pulumi.Input<pulumi.Input<string>[]>;
153
+ /**
154
+ * The IDs of Workspaces that the custom role is restricted to
155
+ */
156
+ restrictedWorkspaceIds?: pulumi.Input<pulumi.Input<string>[]>;
157
+ /**
158
+ * The custom role's scope (DEPLOYMENT or DAG)
159
+ */
160
+ scopeType: pulumi.Input<string>;
161
+ }
162
+ //# sourceMappingURL=customRole.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customRole.d.ts","sourceRoot":"","sources":["../customRole.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MA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H,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACnD;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAClD;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
package/customRole.js ADDED
@@ -0,0 +1,125 @@
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.CustomRole = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Custom role resource
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
39
+ *
40
+ * const example = new astronomer.CustomRole("example", {
41
+ * name: "Deployment_Viewer",
42
+ * description: "Custom role for viewing deployments",
43
+ * scopeType: "DEPLOYMENT",
44
+ * permissions: [
45
+ * "deployment.get",
46
+ * "deployment.delete",
47
+ * ],
48
+ * });
49
+ * // Custom role with restricted workspace access
50
+ * const restrictedExample = new astronomer.CustomRole("restricted_example", {
51
+ * name: "Limited_Deployment_Viewer",
52
+ * description: "Custom role restricted to specific workspaces",
53
+ * scopeType: "DEPLOYMENT",
54
+ * permissions: ["deployment.get"],
55
+ * restrictedWorkspaceIds: [
56
+ * "clxxxxxxxxxxxx",
57
+ * "clyyyyyyyyyyyyy",
58
+ * ],
59
+ * });
60
+ * ```
61
+ */
62
+ class CustomRole extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing CustomRole resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new CustomRole(name, state, { ...opts, id: id });
74
+ }
75
+ /** @internal */
76
+ static __pulumiType = 'astronomer:index/customRole:CustomRole';
77
+ /**
78
+ * Returns true if the given object is an instance of CustomRole. This is designed to work even
79
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
80
+ */
81
+ static isInstance(obj) {
82
+ if (obj === undefined || obj === null) {
83
+ return false;
84
+ }
85
+ return obj['__pulumiType'] === CustomRole.__pulumiType;
86
+ }
87
+ constructor(name, argsOrState, opts) {
88
+ let resourceInputs = {};
89
+ opts = opts || {};
90
+ if (opts.id) {
91
+ const state = argsOrState;
92
+ resourceInputs["createdAt"] = state?.createdAt;
93
+ resourceInputs["createdBy"] = state?.createdBy;
94
+ resourceInputs["description"] = state?.description;
95
+ resourceInputs["name"] = state?.name;
96
+ resourceInputs["permissions"] = state?.permissions;
97
+ resourceInputs["restrictedWorkspaceIds"] = state?.restrictedWorkspaceIds;
98
+ resourceInputs["scopeType"] = state?.scopeType;
99
+ resourceInputs["updatedAt"] = state?.updatedAt;
100
+ resourceInputs["updatedBy"] = state?.updatedBy;
101
+ }
102
+ else {
103
+ const args = argsOrState;
104
+ if (args?.permissions === undefined && !opts.urn) {
105
+ throw new Error("Missing required property 'permissions'");
106
+ }
107
+ if (args?.scopeType === undefined && !opts.urn) {
108
+ throw new Error("Missing required property 'scopeType'");
109
+ }
110
+ resourceInputs["description"] = args?.description;
111
+ resourceInputs["name"] = args?.name;
112
+ resourceInputs["permissions"] = args?.permissions;
113
+ resourceInputs["restrictedWorkspaceIds"] = args?.restrictedWorkspaceIds;
114
+ resourceInputs["scopeType"] = args?.scopeType;
115
+ resourceInputs["createdAt"] = undefined /*out*/;
116
+ resourceInputs["createdBy"] = undefined /*out*/;
117
+ resourceInputs["updatedAt"] = undefined /*out*/;
118
+ resourceInputs["updatedBy"] = undefined /*out*/;
119
+ }
120
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
121
+ super(CustomRole.__pulumiType, name, resourceInputs, opts);
122
+ }
123
+ }
124
+ exports.CustomRole = CustomRole;
125
+ //# sourceMappingURL=customRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customRole.js","sourceRoot":"","sources":["../customRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAA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AAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3GL,gCA4GC"}
package/deployment.d.ts CHANGED
@@ -29,7 +29,7 @@ export declare class Deployment extends pulumi.CustomResource {
29
29
  */
30
30
  readonly astroRuntimeVersion: pulumi.Output<string>;
31
31
  /**
32
- * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
32
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
33
33
  */
34
34
  readonly cloudProvider: pulumi.Output<string>;
35
35
  /**
@@ -69,11 +69,15 @@ export declare class Deployment extends pulumi.CustomResource {
69
69
  */
70
70
  readonly desiredDagTarballVersion: pulumi.Output<string>;
71
71
  /**
72
- * Deployment environment variables
72
+ * Deployment's desired workload identity. The Terraform provider will use this provided workload identity to create the Deployment. If it is not provided the workload identity will be assigned automatically.
73
+ */
74
+ readonly desiredWorkloadIdentity: pulumi.Output<string | undefined>;
75
+ /**
76
+ * Deployment environment variables. When importing a deployment, you must include all environment variables in your configuration. Any variables not specified will be deleted on the next apply. Secret values must be re-entered as the API does not return them.
73
77
  */
74
78
  readonly environmentVariables: pulumi.Output<outputs.DeploymentEnvironmentVariable[]>;
75
79
  /**
76
- * Deployment executor
80
+ * Deployment executor. Allowed values: `CELERY`, `KUBERNETES`, `ASTRO`.
77
81
  */
78
82
  readonly executor: pulumi.Output<string>;
79
83
  /**
@@ -120,11 +124,18 @@ export declare class Deployment extends pulumi.CustomResource {
120
124
  * Deployment OIDC issuer URL
121
125
  */
122
126
  readonly oidcIssuerUrl: pulumi.Output<string>;
123
- readonly originalAstroRuntimeVersion: pulumi.Output<string | undefined>;
127
+ /**
128
+ * Deployment's original Astro Runtime version. The Terraform provider will use this provided Astro runtime version to create the Deployment. If not provided, defaults to the current Astro runtime version. The Astro runtime version can be updated with your Astro project Dockerfile, but if this value is changed, the Deployment will be recreated with this new Astro runtime version.
129
+ */
130
+ readonly originalAstroRuntimeVersion: pulumi.Output<string>;
124
131
  /**
125
132
  * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
126
133
  */
127
134
  readonly region: pulumi.Output<string>;
135
+ /**
136
+ * Deployment remote execution configuration - only for 'DEDICATED' deployments
137
+ */
138
+ readonly remoteExecution: pulumi.Output<outputs.DeploymentRemoteExecution | undefined>;
128
139
  /**
129
140
  * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
130
141
  */
@@ -158,7 +169,7 @@ export declare class Deployment extends pulumi.CustomResource {
158
169
  */
159
170
  readonly schedulerReplicas: pulumi.Output<number>;
160
171
  /**
161
- * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
172
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments. Allowed values: `SMALL`, `MEDIUM`, `LARGE`, `EXTRALARGE`.
162
173
  */
163
174
  readonly schedulerSize: pulumi.Output<string | undefined>;
164
175
  /**
@@ -198,7 +209,7 @@ export declare class Deployment extends pulumi.CustomResource {
198
209
  */
199
210
  readonly webserverUrl: pulumi.Output<string>;
200
211
  /**
201
- * Deployment worker queues - required for deployments with 'CELERY' executor
212
+ * Deployment worker queues - required for deployments with 'CELERY' executor. For 'STANDARD' and 'DEDICATED' deployments, use astro*machine. For 'HYBRID' deployments, use node*pool*id.
202
213
  */
203
214
  readonly workerQueues: pulumi.Output<outputs.DeploymentWorkerQueue[] | undefined>;
204
215
  /**
@@ -231,7 +242,7 @@ export interface DeploymentState {
231
242
  */
232
243
  astroRuntimeVersion?: pulumi.Input<string>;
233
244
  /**
234
- * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
245
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
235
246
  */
236
247
  cloudProvider?: pulumi.Input<string>;
237
248
  /**
@@ -271,11 +282,15 @@ export interface DeploymentState {
271
282
  */
272
283
  desiredDagTarballVersion?: pulumi.Input<string>;
273
284
  /**
274
- * Deployment environment variables
285
+ * Deployment's desired workload identity. The Terraform provider will use this provided workload identity to create the Deployment. If it is not provided the workload identity will be assigned automatically.
286
+ */
287
+ desiredWorkloadIdentity?: pulumi.Input<string>;
288
+ /**
289
+ * Deployment environment variables. When importing a deployment, you must include all environment variables in your configuration. Any variables not specified will be deleted on the next apply. Secret values must be re-entered as the API does not return them.
275
290
  */
276
291
  environmentVariables?: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
277
292
  /**
278
- * Deployment executor
293
+ * Deployment executor. Allowed values: `CELERY`, `KUBERNETES`, `ASTRO`.
279
294
  */
280
295
  executor?: pulumi.Input<string>;
281
296
  /**
@@ -322,11 +337,18 @@ export interface DeploymentState {
322
337
  * Deployment OIDC issuer URL
323
338
  */
324
339
  oidcIssuerUrl?: pulumi.Input<string>;
340
+ /**
341
+ * Deployment's original Astro Runtime version. The Terraform provider will use this provided Astro runtime version to create the Deployment. If not provided, defaults to the current Astro runtime version. The Astro runtime version can be updated with your Astro project Dockerfile, but if this value is changed, the Deployment will be recreated with this new Astro runtime version.
342
+ */
325
343
  originalAstroRuntimeVersion?: pulumi.Input<string>;
326
344
  /**
327
345
  * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
328
346
  */
329
347
  region?: pulumi.Input<string>;
348
+ /**
349
+ * Deployment remote execution configuration - only for 'DEDICATED' deployments
350
+ */
351
+ remoteExecution?: pulumi.Input<inputs.DeploymentRemoteExecution>;
330
352
  /**
331
353
  * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
332
354
  */
@@ -360,7 +382,7 @@ export interface DeploymentState {
360
382
  */
361
383
  schedulerReplicas?: pulumi.Input<number>;
362
384
  /**
363
- * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
385
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments. Allowed values: `SMALL`, `MEDIUM`, `LARGE`, `EXTRALARGE`.
364
386
  */
365
387
  schedulerSize?: pulumi.Input<string>;
366
388
  /**
@@ -400,7 +422,7 @@ export interface DeploymentState {
400
422
  */
401
423
  webserverUrl?: pulumi.Input<string>;
402
424
  /**
403
- * Deployment worker queues - required for deployments with 'CELERY' executor
425
+ * Deployment worker queues - required for deployments with 'CELERY' executor. For 'STANDARD' and 'DEDICATED' deployments, use astro*machine. For 'HYBRID' deployments, use node*pool*id.
404
426
  */
405
427
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
406
428
  /**
@@ -417,7 +439,7 @@ export interface DeploymentState {
417
439
  */
418
440
  export interface DeploymentArgs {
419
441
  /**
420
- * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
442
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
421
443
  */
422
444
  cloudProvider?: pulumi.Input<string>;
423
445
  /**
@@ -441,11 +463,15 @@ export interface DeploymentArgs {
441
463
  */
442
464
  description: pulumi.Input<string>;
443
465
  /**
444
- * Deployment environment variables
466
+ * Deployment's desired workload identity. The Terraform provider will use this provided workload identity to create the Deployment. If it is not provided the workload identity will be assigned automatically.
467
+ */
468
+ desiredWorkloadIdentity?: pulumi.Input<string>;
469
+ /**
470
+ * Deployment environment variables. When importing a deployment, you must include all environment variables in your configuration. Any variables not specified will be deleted on the next apply. Secret values must be re-entered as the API does not return them.
445
471
  */
446
472
  environmentVariables: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
447
473
  /**
448
- * Deployment executor
474
+ * Deployment executor. Allowed values: `CELERY`, `KUBERNETES`, `ASTRO`.
449
475
  */
450
476
  executor: pulumi.Input<string>;
451
477
  /**
@@ -468,11 +494,18 @@ export interface DeploymentArgs {
468
494
  * Deployment name
469
495
  */
470
496
  name?: pulumi.Input<string>;
497
+ /**
498
+ * Deployment's original Astro Runtime version. The Terraform provider will use this provided Astro runtime version to create the Deployment. If not provided, defaults to the current Astro runtime version. The Astro runtime version can be updated with your Astro project Dockerfile, but if this value is changed, the Deployment will be recreated with this new Astro runtime version.
499
+ */
471
500
  originalAstroRuntimeVersion?: pulumi.Input<string>;
472
501
  /**
473
502
  * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
474
503
  */
475
504
  region?: pulumi.Input<string>;
505
+ /**
506
+ * Deployment remote execution configuration - only for 'DEDICATED' deployments
507
+ */
508
+ remoteExecution?: pulumi.Input<inputs.DeploymentRemoteExecution>;
476
509
  /**
477
510
  * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
478
511
  */
@@ -494,7 +527,7 @@ export interface DeploymentArgs {
494
527
  */
495
528
  schedulerReplicas?: pulumi.Input<number>;
496
529
  /**
497
- * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
530
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments. Allowed values: `SMALL`, `MEDIUM`, `LARGE`, `EXTRALARGE`.
498
531
  */
499
532
  schedulerSize?: pulumi.Input<string>;
500
533
  /**
@@ -506,7 +539,7 @@ export interface DeploymentArgs {
506
539
  */
507
540
  type: pulumi.Input<string>;
508
541
  /**
509
- * Deployment worker queues - required for deployments with 'CELERY' executor
542
+ * Deployment worker queues - required for deployments with 'CELERY' executor. For 'STANDARD' and 'DEDICATED' deployments, use astro*machine. For 'HYBRID' deployments, use node*pool*id.
510
543
  */
511
544
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
512
545
  /**
@@ -514,3 +547,4 @@ export interface DeploymentArgs {
514
547
  */
515
548
  workspaceId: pulumi.Input<string>;
516
549
  }
550
+ //# sourceMappingURL=deployment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../deployment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;OAEG;IACH,SAAgC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3E;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,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