@ryan-pip/pulumi_astronomer 0.0.10 → 0.1.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.
Files changed (62) hide show
  1. package/README.md +1 -2
  2. package/cluster.d.ts +104 -87
  3. package/cluster.js +49 -19
  4. package/cluster.js.map +1 -1
  5. package/config/vars.d.ts +6 -2
  6. package/config/vars.js +7 -1
  7. package/config/vars.js.map +1 -1
  8. package/deployment.d.ts +312 -85
  9. package/deployment.js +63 -18
  10. package/deployment.js.map +1 -1
  11. package/getCluster.d.ts +40 -32
  12. package/getCluster.js +6 -6
  13. package/getCluster.js.map +1 -1
  14. package/getClusterOptions.d.ts +66 -0
  15. package/getClusterOptions.js +56 -0
  16. package/getClusterOptions.js.map +1 -0
  17. package/getClusters.d.ts +66 -0
  18. package/getClusters.js +57 -0
  19. package/getClusters.js.map +1 -0
  20. package/getDeployment.d.ts +196 -13
  21. package/getDeployment.js +24 -2
  22. package/getDeployment.js.map +1 -1
  23. package/getDeploymentOptions.d.ts +147 -0
  24. package/getDeploymentOptions.js +71 -0
  25. package/getDeploymentOptions.js.map +1 -0
  26. package/getDeployments.d.ts +75 -0
  27. package/getDeployments.js +64 -0
  28. package/getDeployments.js.map +1 -0
  29. package/getOrganization.d.ts +26 -46
  30. package/getOrganization.js +8 -15
  31. package/getOrganization.js.map +1 -1
  32. package/getTeam.d.ts +103 -0
  33. package/getTeam.js +47 -0
  34. package/getTeam.js.map +1 -0
  35. package/getTeams.d.ts +63 -0
  36. package/getTeams.js +56 -0
  37. package/getTeams.js.map +1 -0
  38. package/getWorkspace.d.ts +29 -12
  39. package/getWorkspace.js +6 -6
  40. package/getWorkspace.js.map +1 -1
  41. package/getWorkspaces.d.ts +78 -0
  42. package/getWorkspaces.js +69 -0
  43. package/getWorkspaces.js.map +1 -0
  44. package/hybridClusterWorkspaceAuthorization.d.ts +82 -0
  45. package/hybridClusterWorkspaceAuthorization.js +76 -0
  46. package/hybridClusterWorkspaceAuthorization.js.map +1 -0
  47. package/index.d.ts +28 -1
  48. package/index.js +32 -1
  49. package/index.js.map +1 -1
  50. package/package.json +2 -2
  51. package/package.json.bak +1 -1
  52. package/provider.d.ts +13 -5
  53. package/provider.js +3 -2
  54. package/provider.js.map +1 -1
  55. package/teamRoles.d.ts +89 -0
  56. package/teamRoles.js +64 -0
  57. package/teamRoles.js.map +1 -0
  58. package/types/input.d.ts +176 -20
  59. package/types/output.d.ts +1350 -36
  60. package/workspace.d.ts +55 -17
  61. package/workspace.js +21 -3
  62. package/workspace.js.map +1 -1
package/README.md CHANGED
@@ -3,8 +3,7 @@
3
3
  The Astronomer Resource Provider lets you manage [astronomer](https://www.pulumi.com/registry/packages/astronomer/) resources as
4
4
  part of the [Astronomer Cloud](https://www.astronomer.io/).
5
5
 
6
- This provider is a bridged version of the [terraform provider](https://registry.terraform.io/providers/GK-Consulting/astronomer/latest/docs/resources/workspace). The
7
- majority of the credit needs to go to the original [authors](https://github.com/GK-Consulting/terraform-provider-astronomer) of the terraform provider.
6
+ This provider is a bridged version of the offical [astonomer terraform provider](https://registry.terraform.io/providers/astronomer/astro/latest/docs).
8
7
 
9
8
  ## Installing
10
9
 
package/cluster.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * A cluster within an organization. An Astro cluster is a Kubernetes cluster that hosts the infrastructure required to run Deployments.
5
+ * Cluster resource. If creating multiple clusters, add a delay between each cluster creation to avoid cluster creation limiting errors.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -10,18 +10,44 @@ import * as outputs from "./types/output";
10
10
  * import * as pulumi from "@pulumi/pulumi";
11
11
  * import * as astronomer from "@ryan-pip/pulumi_astronomer";
12
12
  *
13
- * const dedicated = new astronomer.Workspace("dedicated", {
14
- * cicdEnforcedDefault: true,
15
- * description: "Workspace that demos a dedicated deployment set up",
16
- * });
17
- * const awsDedicated = new astronomer.Cluster("awsDedicated", {
18
- * cloudProvider: "AWS",
19
- * region: "us-east-1",
13
+ * const awsExample = new astronomer.Cluster("awsExample", {
20
14
  * type: "DEDICATED",
15
+ * region: "us-east-1",
16
+ * cloudProvider: "AWS",
21
17
  * vpcSubnetRange: "172.20.0.0/20",
22
- * k8sTags: [],
23
- * nodePools: [],
24
- * workspaceIds: [dedicated.id],
18
+ * workspaceIds: [],
19
+ * timeouts: {
20
+ * create: "3h",
21
+ * update: "2h",
22
+ * "delete": "1h",
23
+ * },
24
+ * });
25
+ * const azureExample = new astronomer.Cluster("azureExample", {
26
+ * type: "DEDICATED",
27
+ * region: "westus2",
28
+ * cloudProvider: "AZURE",
29
+ * vpcSubnetRange: "172.20.0.0/19",
30
+ * workspaceIds: ["clv4wcf6f003u01m3zp7gsvzg"],
31
+ * });
32
+ * const gcpExample = new astronomer.Cluster("gcpExample", {
33
+ * type: "DEDICATED",
34
+ * region: "us-central1",
35
+ * cloudProvider: "GCP",
36
+ * podSubnetRange: "172.21.0.0/19",
37
+ * servicePeeringRange: "172.23.0.0/20",
38
+ * serviceSubnetRange: "172.22.0.0/22",
39
+ * vpcSubnetRange: "172.20.0.0/22",
40
+ * workspaceIds: [],
41
+ * });
42
+ * const importedCluster = new astronomer.Cluster("importedCluster", {
43
+ * type: "DEDICATED",
44
+ * region: "us-central1",
45
+ * cloudProvider: "GCP",
46
+ * podSubnetRange: "172.21.0.0/19",
47
+ * servicePeeringRange: "172.23.0.0/20",
48
+ * serviceSubnetRange: "172.22.0.0/22",
49
+ * vpcSubnetRange: "172.20.0.0/22",
50
+ * workspaceIds: [],
25
51
  * });
26
52
  * ```
27
53
  */
@@ -42,71 +68,76 @@ export declare class Cluster extends pulumi.CustomResource {
42
68
  */
43
69
  static isInstance(obj: any): obj is Cluster;
44
70
  /**
45
- * The cluster's cloud provider.
71
+ * Cluster cloud provider - if changed, the cluster will be recreated.
46
72
  */
47
73
  readonly cloudProvider: pulumi.Output<string>;
48
74
  /**
49
- * The type of database instance that is used for the cluster. Required for Hybrid clusters.
75
+ * Cluster creation timestamp
50
76
  */
51
- readonly dbInstanceType: pulumi.Output<string>;
77
+ readonly createdAt: pulumi.Output<string>;
52
78
  /**
53
- * Whether the cluster is limited.
79
+ * Cluster database instance type
54
80
  */
55
- readonly isLimited: pulumi.Output<boolean>;
81
+ readonly dbInstanceType: pulumi.Output<string>;
56
82
  /**
57
- * The Kubernetes tags in the cluster.
83
+ * Whether the cluster is limited
58
84
  */
59
- readonly k8sTags: pulumi.Output<outputs.ClusterK8sTag[] | undefined>;
85
+ readonly isLimited: pulumi.Output<boolean>;
60
86
  /**
61
- * The cluster's metadata.
87
+ * Cluster metadata
62
88
  */
63
89
  readonly metadata: pulumi.Output<outputs.ClusterMetadata>;
64
90
  /**
65
- * The name of the node pool.
91
+ * Cluster name
66
92
  */
67
93
  readonly name: pulumi.Output<string>;
68
94
  /**
69
- * The list of node pools to create in the cluster.
95
+ * Cluster node pools
70
96
  */
71
- readonly nodePools: pulumi.Output<outputs.ClusterNodePool[] | undefined>;
97
+ readonly nodePools: pulumi.Output<outputs.ClusterNodePool[]>;
72
98
  /**
73
- * The organization this cluster is associated with.
74
- */
75
- readonly organizationId: pulumi.Output<string>;
76
- /**
77
- * The subnet range for Pods. For GCP clusters only.
99
+ * Cluster pod subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
78
100
  */
79
101
  readonly podSubnetRange: pulumi.Output<string | undefined>;
80
102
  /**
81
- * The provider account ID. Required for Hybrid clusters.
103
+ * Cluster provider account
82
104
  */
83
105
  readonly providerAccount: pulumi.Output<string>;
84
106
  /**
85
- * The cluster's region.
107
+ * Cluster region - if changed, the cluster will be recreated.
86
108
  */
87
109
  readonly region: pulumi.Output<string>;
88
110
  /**
89
- * The service peering range. For GCP clusters only.
111
+ * Cluster service peering range - required for 'GCP' clusters. If changed, the cluster will be recreated.
90
112
  */
91
113
  readonly servicePeeringRange: pulumi.Output<string | undefined>;
92
114
  /**
93
- * The service subnet range. For GCP clusters only.
115
+ * Cluster service subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
94
116
  */
95
117
  readonly serviceSubnetRange: pulumi.Output<string | undefined>;
96
118
  /**
97
- * The tenant ID. For Azure clusters only.
119
+ * Cluster status
120
+ */
121
+ readonly status: pulumi.Output<string>;
122
+ /**
123
+ * Cluster tenant ID
98
124
  */
99
125
  readonly tenantId: pulumi.Output<string>;
126
+ readonly timeouts: pulumi.Output<outputs.ClusterTimeouts | undefined>;
100
127
  /**
101
- * The cluster's type.
128
+ * Cluster type
102
129
  */
103
130
  readonly type: pulumi.Output<string>;
104
131
  /**
105
- * The VPC subnet range.
132
+ * Cluster last updated timestamp
133
+ */
134
+ readonly updatedAt: pulumi.Output<string>;
135
+ /**
136
+ * Cluster VPC subnet range. If changed, the cluster will be recreated.
106
137
  */
107
138
  readonly vpcSubnetRange: pulumi.Output<string>;
108
139
  /**
109
- * The list of Workspaces that are authorized to the cluster.
140
+ * Cluster workspace IDs
110
141
  */
111
142
  readonly workspaceIds: pulumi.Output<string[]>;
112
143
  /**
@@ -123,71 +154,76 @@ export declare class Cluster extends pulumi.CustomResource {
123
154
  */
124
155
  export interface ClusterState {
125
156
  /**
126
- * The cluster's cloud provider.
157
+ * Cluster cloud provider - if changed, the cluster will be recreated.
127
158
  */
128
159
  cloudProvider?: pulumi.Input<string>;
129
160
  /**
130
- * The type of database instance that is used for the cluster. Required for Hybrid clusters.
161
+ * Cluster creation timestamp
131
162
  */
132
- dbInstanceType?: pulumi.Input<string>;
163
+ createdAt?: pulumi.Input<string>;
133
164
  /**
134
- * Whether the cluster is limited.
165
+ * Cluster database instance type
135
166
  */
136
- isLimited?: pulumi.Input<boolean>;
167
+ dbInstanceType?: pulumi.Input<string>;
137
168
  /**
138
- * The Kubernetes tags in the cluster.
169
+ * Whether the cluster is limited
139
170
  */
140
- k8sTags?: pulumi.Input<pulumi.Input<inputs.ClusterK8sTag>[]>;
171
+ isLimited?: pulumi.Input<boolean>;
141
172
  /**
142
- * The cluster's metadata.
173
+ * Cluster metadata
143
174
  */
144
175
  metadata?: pulumi.Input<inputs.ClusterMetadata>;
145
176
  /**
146
- * The name of the node pool.
177
+ * Cluster name
147
178
  */
148
179
  name?: pulumi.Input<string>;
149
180
  /**
150
- * The list of node pools to create in the cluster.
181
+ * Cluster node pools
151
182
  */
152
183
  nodePools?: pulumi.Input<pulumi.Input<inputs.ClusterNodePool>[]>;
153
184
  /**
154
- * The organization this cluster is associated with.
155
- */
156
- organizationId?: pulumi.Input<string>;
157
- /**
158
- * The subnet range for Pods. For GCP clusters only.
185
+ * Cluster pod subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
159
186
  */
160
187
  podSubnetRange?: pulumi.Input<string>;
161
188
  /**
162
- * The provider account ID. Required for Hybrid clusters.
189
+ * Cluster provider account
163
190
  */
164
191
  providerAccount?: pulumi.Input<string>;
165
192
  /**
166
- * The cluster's region.
193
+ * Cluster region - if changed, the cluster will be recreated.
167
194
  */
168
195
  region?: pulumi.Input<string>;
169
196
  /**
170
- * The service peering range. For GCP clusters only.
197
+ * Cluster service peering range - required for 'GCP' clusters. If changed, the cluster will be recreated.
171
198
  */
172
199
  servicePeeringRange?: pulumi.Input<string>;
173
200
  /**
174
- * The service subnet range. For GCP clusters only.
201
+ * Cluster service subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
175
202
  */
176
203
  serviceSubnetRange?: pulumi.Input<string>;
177
204
  /**
178
- * The tenant ID. For Azure clusters only.
205
+ * Cluster status
206
+ */
207
+ status?: pulumi.Input<string>;
208
+ /**
209
+ * Cluster tenant ID
179
210
  */
180
211
  tenantId?: pulumi.Input<string>;
212
+ timeouts?: pulumi.Input<inputs.ClusterTimeouts>;
181
213
  /**
182
- * The cluster's type.
214
+ * Cluster type
183
215
  */
184
216
  type?: pulumi.Input<string>;
185
217
  /**
186
- * The VPC subnet range.
218
+ * Cluster last updated timestamp
219
+ */
220
+ updatedAt?: pulumi.Input<string>;
221
+ /**
222
+ * Cluster VPC subnet range. If changed, the cluster will be recreated.
187
223
  */
188
224
  vpcSubnetRange?: pulumi.Input<string>;
189
225
  /**
190
- * The list of Workspaces that are authorized to the cluster.
226
+ * Cluster workspace IDs
191
227
  */
192
228
  workspaceIds?: pulumi.Input<pulumi.Input<string>[]>;
193
229
  }
@@ -196,59 +232,40 @@ export interface ClusterState {
196
232
  */
197
233
  export interface ClusterArgs {
198
234
  /**
199
- * The cluster's cloud provider.
235
+ * Cluster cloud provider - if changed, the cluster will be recreated.
200
236
  */
201
237
  cloudProvider: pulumi.Input<string>;
202
238
  /**
203
- * The type of database instance that is used for the cluster. Required for Hybrid clusters.
204
- */
205
- dbInstanceType?: pulumi.Input<string>;
206
- /**
207
- * The Kubernetes tags in the cluster.
208
- */
209
- k8sTags?: pulumi.Input<pulumi.Input<inputs.ClusterK8sTag>[]>;
210
- /**
211
- * The name of the node pool.
239
+ * Cluster name
212
240
  */
213
241
  name?: pulumi.Input<string>;
214
242
  /**
215
- * The list of node pools to create in the cluster.
216
- */
217
- nodePools?: pulumi.Input<pulumi.Input<inputs.ClusterNodePool>[]>;
218
- /**
219
- * The subnet range for Pods. For GCP clusters only.
243
+ * Cluster pod subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
220
244
  */
221
245
  podSubnetRange?: pulumi.Input<string>;
222
246
  /**
223
- * The provider account ID. Required for Hybrid clusters.
224
- */
225
- providerAccount?: pulumi.Input<string>;
226
- /**
227
- * The cluster's region.
247
+ * Cluster region - if changed, the cluster will be recreated.
228
248
  */
229
249
  region: pulumi.Input<string>;
230
250
  /**
231
- * The service peering range. For GCP clusters only.
251
+ * Cluster service peering range - required for 'GCP' clusters. If changed, the cluster will be recreated.
232
252
  */
233
253
  servicePeeringRange?: pulumi.Input<string>;
234
254
  /**
235
- * The service subnet range. For GCP clusters only.
255
+ * Cluster service subnet range - required for 'GCP' clusters. If changed, the cluster will be recreated.
236
256
  */
237
257
  serviceSubnetRange?: pulumi.Input<string>;
258
+ timeouts?: pulumi.Input<inputs.ClusterTimeouts>;
238
259
  /**
239
- * The tenant ID. For Azure clusters only.
240
- */
241
- tenantId?: pulumi.Input<string>;
242
- /**
243
- * The cluster's type.
260
+ * Cluster type
244
261
  */
245
262
  type: pulumi.Input<string>;
246
263
  /**
247
- * The VPC subnet range.
264
+ * Cluster VPC subnet range. If changed, the cluster will be recreated.
248
265
  */
249
266
  vpcSubnetRange: pulumi.Input<string>;
250
267
  /**
251
- * The list of Workspaces that are authorized to the cluster.
268
+ * Cluster workspace IDs
252
269
  */
253
270
  workspaceIds: pulumi.Input<pulumi.Input<string>[]>;
254
271
  }
package/cluster.js CHANGED
@@ -6,7 +6,7 @@ exports.Cluster = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * A cluster within an organization. An Astro cluster is a Kubernetes cluster that hosts the infrastructure required to run Deployments.
9
+ * Cluster resource. If creating multiple clusters, add a delay between each cluster creation to avoid cluster creation limiting errors.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -14,18 +14,44 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as astronomer from "@ryan-pip/pulumi_astronomer";
16
16
  *
17
- * const dedicated = new astronomer.Workspace("dedicated", {
18
- * cicdEnforcedDefault: true,
19
- * description: "Workspace that demos a dedicated deployment set up",
20
- * });
21
- * const awsDedicated = new astronomer.Cluster("awsDedicated", {
22
- * cloudProvider: "AWS",
23
- * region: "us-east-1",
17
+ * const awsExample = new astronomer.Cluster("awsExample", {
24
18
  * type: "DEDICATED",
19
+ * region: "us-east-1",
20
+ * cloudProvider: "AWS",
25
21
  * vpcSubnetRange: "172.20.0.0/20",
26
- * k8sTags: [],
27
- * nodePools: [],
28
- * workspaceIds: [dedicated.id],
22
+ * workspaceIds: [],
23
+ * timeouts: {
24
+ * create: "3h",
25
+ * update: "2h",
26
+ * "delete": "1h",
27
+ * },
28
+ * });
29
+ * const azureExample = new astronomer.Cluster("azureExample", {
30
+ * type: "DEDICATED",
31
+ * region: "westus2",
32
+ * cloudProvider: "AZURE",
33
+ * vpcSubnetRange: "172.20.0.0/19",
34
+ * workspaceIds: ["clv4wcf6f003u01m3zp7gsvzg"],
35
+ * });
36
+ * const gcpExample = new astronomer.Cluster("gcpExample", {
37
+ * type: "DEDICATED",
38
+ * region: "us-central1",
39
+ * cloudProvider: "GCP",
40
+ * podSubnetRange: "172.21.0.0/19",
41
+ * servicePeeringRange: "172.23.0.0/20",
42
+ * serviceSubnetRange: "172.22.0.0/22",
43
+ * vpcSubnetRange: "172.20.0.0/22",
44
+ * workspaceIds: [],
45
+ * });
46
+ * const importedCluster = new astronomer.Cluster("importedCluster", {
47
+ * type: "DEDICATED",
48
+ * region: "us-central1",
49
+ * cloudProvider: "GCP",
50
+ * podSubnetRange: "172.21.0.0/19",
51
+ * servicePeeringRange: "172.23.0.0/20",
52
+ * serviceSubnetRange: "172.22.0.0/22",
53
+ * vpcSubnetRange: "172.20.0.0/22",
54
+ * workspaceIds: [],
29
55
  * });
30
56
  * ```
31
57
  */
@@ -58,20 +84,22 @@ class Cluster extends pulumi.CustomResource {
58
84
  if (opts.id) {
59
85
  const state = argsOrState;
60
86
  resourceInputs["cloudProvider"] = state ? state.cloudProvider : undefined;
87
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
61
88
  resourceInputs["dbInstanceType"] = state ? state.dbInstanceType : undefined;
62
89
  resourceInputs["isLimited"] = state ? state.isLimited : undefined;
63
- resourceInputs["k8sTags"] = state ? state.k8sTags : undefined;
64
90
  resourceInputs["metadata"] = state ? state.metadata : undefined;
65
91
  resourceInputs["name"] = state ? state.name : undefined;
66
92
  resourceInputs["nodePools"] = state ? state.nodePools : undefined;
67
- resourceInputs["organizationId"] = state ? state.organizationId : undefined;
68
93
  resourceInputs["podSubnetRange"] = state ? state.podSubnetRange : undefined;
69
94
  resourceInputs["providerAccount"] = state ? state.providerAccount : undefined;
70
95
  resourceInputs["region"] = state ? state.region : undefined;
71
96
  resourceInputs["servicePeeringRange"] = state ? state.servicePeeringRange : undefined;
72
97
  resourceInputs["serviceSubnetRange"] = state ? state.serviceSubnetRange : undefined;
98
+ resourceInputs["status"] = state ? state.status : undefined;
73
99
  resourceInputs["tenantId"] = state ? state.tenantId : undefined;
100
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
74
101
  resourceInputs["type"] = state ? state.type : undefined;
102
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
75
103
  resourceInputs["vpcSubnetRange"] = state ? state.vpcSubnetRange : undefined;
76
104
  resourceInputs["workspaceIds"] = state ? state.workspaceIds : undefined;
77
105
  }
@@ -93,22 +121,24 @@ class Cluster extends pulumi.CustomResource {
93
121
  throw new Error("Missing required property 'workspaceIds'");
94
122
  }
95
123
  resourceInputs["cloudProvider"] = args ? args.cloudProvider : undefined;
96
- resourceInputs["dbInstanceType"] = args ? args.dbInstanceType : undefined;
97
- resourceInputs["k8sTags"] = args ? args.k8sTags : undefined;
98
124
  resourceInputs["name"] = args ? args.name : undefined;
99
- resourceInputs["nodePools"] = args ? args.nodePools : undefined;
100
125
  resourceInputs["podSubnetRange"] = args ? args.podSubnetRange : undefined;
101
- resourceInputs["providerAccount"] = args ? args.providerAccount : undefined;
102
126
  resourceInputs["region"] = args ? args.region : undefined;
103
127
  resourceInputs["servicePeeringRange"] = args ? args.servicePeeringRange : undefined;
104
128
  resourceInputs["serviceSubnetRange"] = args ? args.serviceSubnetRange : undefined;
105
- resourceInputs["tenantId"] = args ? args.tenantId : undefined;
129
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
106
130
  resourceInputs["type"] = args ? args.type : undefined;
107
131
  resourceInputs["vpcSubnetRange"] = args ? args.vpcSubnetRange : undefined;
108
132
  resourceInputs["workspaceIds"] = args ? args.workspaceIds : undefined;
133
+ resourceInputs["createdAt"] = undefined /*out*/;
134
+ resourceInputs["dbInstanceType"] = undefined /*out*/;
109
135
  resourceInputs["isLimited"] = undefined /*out*/;
110
136
  resourceInputs["metadata"] = undefined /*out*/;
111
- resourceInputs["organizationId"] = undefined /*out*/;
137
+ resourceInputs["nodePools"] = undefined /*out*/;
138
+ resourceInputs["providerAccount"] = undefined /*out*/;
139
+ resourceInputs["status"] = undefined /*out*/;
140
+ resourceInputs["tenantId"] = undefined /*out*/;
141
+ resourceInputs["updatedAt"] = undefined /*out*/;
112
142
  }
113
143
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
144
  super(Cluster.__pulumiType, name, resourceInputs, opts);
package/cluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+ED,YAAY,IAAY,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;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O,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7KL,0BA8KC;AAhKG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
package/config/vars.d.ts CHANGED
@@ -1,8 +1,12 @@
1
1
  /**
2
- * Organization id this provider will operate on.
2
+ * API host to use for the provider. Default is `https://api.astronomer.io`
3
+ */
4
+ export declare const host: string | undefined;
5
+ /**
6
+ * Organization ID this provider will operate on.
3
7
  */
4
8
  export declare const organizationId: string | undefined;
5
9
  /**
6
- * Astronomer API Token. Can be set with an `ASTRONOMER_API_TOKEN` env var.
10
+ * Astro API Token. Can be set with an `ASTRO_API_TOKEN` env var.
7
11
  */
8
12
  export declare const token: string | undefined;
package/config/vars.js CHANGED
@@ -5,6 +5,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  const pulumi = require("@pulumi/pulumi");
6
6
  const utilities = require("../utilities");
7
7
  const __config = new pulumi.Config("astronomer");
8
+ Object.defineProperty(exports, "host", {
9
+ get() {
10
+ return __config.get("host");
11
+ },
12
+ enumerable: true,
13
+ });
8
14
  Object.defineProperty(exports, "organizationId", {
9
15
  get() {
10
16
  return __config.get("organizationId");
@@ -14,7 +20,7 @@ Object.defineProperty(exports, "organizationId", {
14
20
  Object.defineProperty(exports, "token", {
15
21
  get() {
16
22
  var _a;
17
- return (_a = __config.get("token")) !== null && _a !== void 0 ? _a : utilities.getEnv("ASTRONOMER_API_TOKEN");
23
+ return (_a = __config.get("token")) !== null && _a !== void 0 ? _a : utilities.getEnv("ASTRO_API_TOKEN");
18
24
  },
19
25
  enumerable: true,
20
26
  });
@@ -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,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,sBAAsB,CAAC,CAAC;IAC7E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
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,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