@ryan-pip/pulumi_astronomer 0.0.11 → 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 +305 -90
  9. package/deployment.js +61 -21
  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/deployment.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
- * An Astro Deployment is an Airflow environment that is powered by all core Airflow components.
5
+ * Deployment resource
6
6
  */
7
7
  export declare class Deployment extends pulumi.CustomResource {
8
8
  /**
@@ -21,91 +21,192 @@ export declare class Deployment extends pulumi.CustomResource {
21
21
  */
22
22
  static isInstance(obj: any): obj is Deployment;
23
23
  /**
24
- * Deployment's Astro Runtime version.
24
+ * Deployment Airflow version
25
25
  */
26
- readonly astroRuntimeVersion: pulumi.Output<string | undefined>;
26
+ readonly airflowVersion: pulumi.Output<string>;
27
27
  /**
28
- * The cloud provider for the Deployment's cluster. Optional if `ClusterId` is specified.
28
+ * Deployment's current Astro Runtime version
29
+ */
30
+ readonly astroRuntimeVersion: pulumi.Output<string>;
31
+ /**
32
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
29
33
  */
30
34
  readonly cloudProvider: pulumi.Output<string>;
31
35
  /**
32
- * The ID of the cluster where the Deployment will be created.
36
+ * Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster
37
+ */
38
+ readonly clusterId: pulumi.Output<string>;
39
+ /**
40
+ * Deployment contact emails
41
+ */
42
+ readonly contactEmails: pulumi.Output<string[]>;
43
+ /**
44
+ * Deployment creation timestamp
45
+ */
46
+ readonly createdAt: pulumi.Output<string>;
47
+ /**
48
+ * Deployment creator
33
49
  */
34
- readonly clusterId: pulumi.Output<string | undefined>;
50
+ readonly createdBy: pulumi.Output<outputs.DeploymentCreatedBy>;
35
51
  /**
36
- * The default CPU resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in number of CPU cores.
52
+ * Deployment DAG tarball version
37
53
  */
38
- readonly defaultTaskPodCpu: pulumi.Output<string>;
54
+ readonly dagTarballVersion: pulumi.Output<string>;
39
55
  /**
40
- * The default memory resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in `Gi`. This value must always be twice the value of `DefaultTaskPodCpu`.
56
+ * Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments
41
57
  */
42
- readonly defaultTaskPodMemory: pulumi.Output<string>;
58
+ readonly defaultTaskPodCpu: pulumi.Output<string | undefined>;
43
59
  /**
44
- * The Deployment's description.
60
+ * Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments
45
61
  */
46
- readonly description: pulumi.Output<string | undefined>;
62
+ readonly defaultTaskPodMemory: pulumi.Output<string | undefined>;
47
63
  /**
48
- * List of environment variables to add to the Deployment.
64
+ * Deployment description
49
65
  */
50
- readonly environmentVariables: pulumi.Output<outputs.DeploymentEnvironmentVariable[] | undefined>;
66
+ readonly description: pulumi.Output<string>;
51
67
  /**
52
- * The Deployment's executor type.
68
+ * Deployment desired DAG tarball version
69
+ */
70
+ readonly desiredDagTarballVersion: pulumi.Output<string>;
71
+ /**
72
+ * Deployment environment variables
73
+ */
74
+ readonly environmentVariables: pulumi.Output<outputs.DeploymentEnvironmentVariable[]>;
75
+ /**
76
+ * Deployment executor
53
77
  */
54
78
  readonly executor: pulumi.Output<string>;
55
79
  /**
56
- * Whether the Deployment requires that all deploys are made through CI/CD.
80
+ * Deployment external IPs
81
+ */
82
+ readonly externalIps: pulumi.Output<string[]>;
83
+ /**
84
+ * Deployment image repository
85
+ */
86
+ readonly imageRepository: pulumi.Output<string>;
87
+ /**
88
+ * Deployment image tag
89
+ */
90
+ readonly imageTag: pulumi.Output<string>;
91
+ /**
92
+ * Deployment image version
93
+ */
94
+ readonly imageVersion: pulumi.Output<string>;
95
+ /**
96
+ * Deployment CI/CD enforced
57
97
  */
58
98
  readonly isCicdEnforced: pulumi.Output<boolean>;
59
99
  /**
60
- * Whether the Deployment has DAG deploys enabled.
100
+ * Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment
61
101
  */
62
102
  readonly isDagDeployEnabled: pulumi.Output<boolean>;
63
103
  /**
64
- * Whether the Deployment is in development mode.
104
+ * Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated
65
105
  */
66
- readonly isDevelopmentMode: pulumi.Output<boolean>;
106
+ readonly isDevelopmentMode: pulumi.Output<boolean | undefined>;
67
107
  /**
68
- * Whether the Deployment is configured for high availability. If `true`, multiple scheduler pods will be online.
108
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
69
109
  */
70
- readonly isHighAvailability: pulumi.Output<boolean>;
110
+ readonly isHighAvailability: pulumi.Output<boolean | undefined>;
71
111
  /**
72
- * The Deployment's name.
112
+ * Deployment name
73
113
  */
74
114
  readonly name: pulumi.Output<string>;
75
115
  /**
76
- * The region to host the Deployment in. Optional if `ClusterId` is specified.
116
+ * Deployment namespace
117
+ */
118
+ readonly namespace: pulumi.Output<string>;
119
+ /**
120
+ * Deployment OIDC issuer URL
121
+ */
122
+ readonly oidcIssuerUrl: pulumi.Output<string>;
123
+ readonly originalAstroRuntimeVersion: pulumi.Output<string | undefined>;
124
+ /**
125
+ * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
126
+ */
127
+ readonly region: pulumi.Output<string>;
128
+ /**
129
+ * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
130
+ */
131
+ readonly resourceQuotaCpu: pulumi.Output<string | undefined>;
132
+ /**
133
+ * Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments
134
+ */
135
+ readonly resourceQuotaMemory: pulumi.Output<string | undefined>;
136
+ /**
137
+ * Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments
77
138
  */
78
- readonly region: pulumi.Output<string | undefined>;
139
+ readonly scalingSpec: pulumi.Output<outputs.DeploymentScalingSpec | undefined>;
79
140
  /**
80
- * The CPU quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current CPU usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in number of CPU cores.
141
+ * Deployment scaling status
81
142
  */
82
- readonly resourceQuotaCpu: pulumi.Output<string>;
143
+ readonly scalingStatus: pulumi.Output<outputs.DeploymentScalingStatus>;
83
144
  /**
84
- * The memory quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current memory usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in `Gi`. This value must always be twice the value of `ResourceQuotaCpu`.
145
+ * Deployment scheduler AU - required for 'HYBRID' deployments
85
146
  */
86
- readonly resourceQuotaMemory: pulumi.Output<string>;
147
+ readonly schedulerAu: pulumi.Output<number | undefined>;
87
148
  /**
88
- * The size of the scheduler pod.
149
+ * Deployment scheduler CPU
89
150
  */
90
- readonly schedulerSize: pulumi.Output<string>;
151
+ readonly schedulerCpu: pulumi.Output<string>;
91
152
  /**
92
- * The node pool ID for the task pods. For KUBERNETES executor only.
153
+ * Deployment scheduler memory
154
+ */
155
+ readonly schedulerMemory: pulumi.Output<string>;
156
+ /**
157
+ * Deployment scheduler replicas - required for 'HYBRID' deployments
158
+ */
159
+ readonly schedulerReplicas: pulumi.Output<number>;
160
+ /**
161
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
162
+ */
163
+ readonly schedulerSize: pulumi.Output<string | undefined>;
164
+ /**
165
+ * Deployment status
166
+ */
167
+ readonly status: pulumi.Output<string>;
168
+ /**
169
+ * Deployment status reason
170
+ */
171
+ readonly statusReason: pulumi.Output<string>;
172
+ /**
173
+ * Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'
93
174
  */
94
175
  readonly taskPodNodePoolId: pulumi.Output<string | undefined>;
95
176
  /**
96
- * The type of the Deployment.
177
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
97
178
  */
98
179
  readonly type: pulumi.Output<string>;
99
180
  /**
100
- * The list of worker queues configured for the Deployment. Applies only when `Executor` is `CELERY`. At least 1 worker queue is needed. All Deployments need at least 1 worker queue called `default`.
181
+ * Deployment last updated timestamp
182
+ */
183
+ readonly updatedAt: pulumi.Output<string>;
184
+ /**
185
+ * Deployment updater
186
+ */
187
+ readonly updatedBy: pulumi.Output<outputs.DeploymentUpdatedBy>;
188
+ /**
189
+ * Deployment webserver Airflow API URL
190
+ */
191
+ readonly webserverAirflowApiUrl: pulumi.Output<string>;
192
+ /**
193
+ * Deployment webserver ingress hostname
194
+ */
195
+ readonly webserverIngressHostname: pulumi.Output<string>;
196
+ /**
197
+ * Deployment webserver URL
198
+ */
199
+ readonly webserverUrl: pulumi.Output<string>;
200
+ /**
201
+ * Deployment worker queues - required for deployments with 'CELERY' executor
101
202
  */
102
203
  readonly workerQueues: pulumi.Output<outputs.DeploymentWorkerQueue[] | undefined>;
103
204
  /**
104
- * The Deployment's workload identity.
205
+ * Deployment workload identity. This value can be changed via the Astro API if applicable.
105
206
  */
106
207
  readonly workloadIdentity: pulumi.Output<string>;
107
208
  /**
108
- * The ID of the workspace to which the Deployment belongs.
209
+ * Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace
109
210
  */
110
211
  readonly workspaceId: pulumi.Output<string>;
111
212
  /**
@@ -122,91 +223,192 @@ export declare class Deployment extends pulumi.CustomResource {
122
223
  */
123
224
  export interface DeploymentState {
124
225
  /**
125
- * Deployment's Astro Runtime version.
226
+ * Deployment Airflow version
227
+ */
228
+ airflowVersion?: pulumi.Input<string>;
229
+ /**
230
+ * Deployment's current Astro Runtime version
126
231
  */
127
232
  astroRuntimeVersion?: pulumi.Input<string>;
128
233
  /**
129
- * The cloud provider for the Deployment's cluster. Optional if `ClusterId` is specified.
234
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
130
235
  */
131
236
  cloudProvider?: pulumi.Input<string>;
132
237
  /**
133
- * The ID of the cluster where the Deployment will be created.
238
+ * Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster
134
239
  */
135
240
  clusterId?: pulumi.Input<string>;
136
241
  /**
137
- * The default CPU resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in number of CPU cores.
242
+ * Deployment contact emails
243
+ */
244
+ contactEmails?: pulumi.Input<pulumi.Input<string>[]>;
245
+ /**
246
+ * Deployment creation timestamp
247
+ */
248
+ createdAt?: pulumi.Input<string>;
249
+ /**
250
+ * Deployment creator
251
+ */
252
+ createdBy?: pulumi.Input<inputs.DeploymentCreatedBy>;
253
+ /**
254
+ * Deployment DAG tarball version
255
+ */
256
+ dagTarballVersion?: pulumi.Input<string>;
257
+ /**
258
+ * Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments
138
259
  */
139
260
  defaultTaskPodCpu?: pulumi.Input<string>;
140
261
  /**
141
- * The default memory resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in `Gi`. This value must always be twice the value of `DefaultTaskPodCpu`.
262
+ * Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments
142
263
  */
143
264
  defaultTaskPodMemory?: pulumi.Input<string>;
144
265
  /**
145
- * The Deployment's description.
266
+ * Deployment description
146
267
  */
147
268
  description?: pulumi.Input<string>;
148
269
  /**
149
- * List of environment variables to add to the Deployment.
270
+ * Deployment desired DAG tarball version
271
+ */
272
+ desiredDagTarballVersion?: pulumi.Input<string>;
273
+ /**
274
+ * Deployment environment variables
150
275
  */
151
276
  environmentVariables?: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
152
277
  /**
153
- * The Deployment's executor type.
278
+ * Deployment executor
154
279
  */
155
280
  executor?: pulumi.Input<string>;
156
281
  /**
157
- * Whether the Deployment requires that all deploys are made through CI/CD.
282
+ * Deployment external IPs
283
+ */
284
+ externalIps?: pulumi.Input<pulumi.Input<string>[]>;
285
+ /**
286
+ * Deployment image repository
287
+ */
288
+ imageRepository?: pulumi.Input<string>;
289
+ /**
290
+ * Deployment image tag
291
+ */
292
+ imageTag?: pulumi.Input<string>;
293
+ /**
294
+ * Deployment image version
295
+ */
296
+ imageVersion?: pulumi.Input<string>;
297
+ /**
298
+ * Deployment CI/CD enforced
158
299
  */
159
300
  isCicdEnforced?: pulumi.Input<boolean>;
160
301
  /**
161
- * Whether the Deployment has DAG deploys enabled.
302
+ * Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment
162
303
  */
163
304
  isDagDeployEnabled?: pulumi.Input<boolean>;
164
305
  /**
165
- * Whether the Deployment is in development mode.
306
+ * Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated
166
307
  */
167
308
  isDevelopmentMode?: pulumi.Input<boolean>;
168
309
  /**
169
- * Whether the Deployment is configured for high availability. If `true`, multiple scheduler pods will be online.
310
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
170
311
  */
171
312
  isHighAvailability?: pulumi.Input<boolean>;
172
313
  /**
173
- * The Deployment's name.
314
+ * Deployment name
174
315
  */
175
316
  name?: pulumi.Input<string>;
176
317
  /**
177
- * The region to host the Deployment in. Optional if `ClusterId` is specified.
318
+ * Deployment namespace
319
+ */
320
+ namespace?: pulumi.Input<string>;
321
+ /**
322
+ * Deployment OIDC issuer URL
323
+ */
324
+ oidcIssuerUrl?: pulumi.Input<string>;
325
+ originalAstroRuntimeVersion?: pulumi.Input<string>;
326
+ /**
327
+ * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
178
328
  */
179
329
  region?: pulumi.Input<string>;
180
330
  /**
181
- * The CPU quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current CPU usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in number of CPU cores.
331
+ * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
182
332
  */
183
333
  resourceQuotaCpu?: pulumi.Input<string>;
184
334
  /**
185
- * The memory quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current memory usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in `Gi`. This value must always be twice the value of `ResourceQuotaCpu`.
335
+ * Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments
186
336
  */
187
337
  resourceQuotaMemory?: pulumi.Input<string>;
188
338
  /**
189
- * The size of the scheduler pod.
339
+ * Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments
340
+ */
341
+ scalingSpec?: pulumi.Input<inputs.DeploymentScalingSpec>;
342
+ /**
343
+ * Deployment scaling status
344
+ */
345
+ scalingStatus?: pulumi.Input<inputs.DeploymentScalingStatus>;
346
+ /**
347
+ * Deployment scheduler AU - required for 'HYBRID' deployments
348
+ */
349
+ schedulerAu?: pulumi.Input<number>;
350
+ /**
351
+ * Deployment scheduler CPU
352
+ */
353
+ schedulerCpu?: pulumi.Input<string>;
354
+ /**
355
+ * Deployment scheduler memory
356
+ */
357
+ schedulerMemory?: pulumi.Input<string>;
358
+ /**
359
+ * Deployment scheduler replicas - required for 'HYBRID' deployments
360
+ */
361
+ schedulerReplicas?: pulumi.Input<number>;
362
+ /**
363
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
190
364
  */
191
365
  schedulerSize?: pulumi.Input<string>;
192
366
  /**
193
- * The node pool ID for the task pods. For KUBERNETES executor only.
367
+ * Deployment status
368
+ */
369
+ status?: pulumi.Input<string>;
370
+ /**
371
+ * Deployment status reason
372
+ */
373
+ statusReason?: pulumi.Input<string>;
374
+ /**
375
+ * Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'
194
376
  */
195
377
  taskPodNodePoolId?: pulumi.Input<string>;
196
378
  /**
197
- * The type of the Deployment.
379
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
198
380
  */
199
381
  type?: pulumi.Input<string>;
200
382
  /**
201
- * The list of worker queues configured for the Deployment. Applies only when `Executor` is `CELERY`. At least 1 worker queue is needed. All Deployments need at least 1 worker queue called `default`.
383
+ * Deployment last updated timestamp
384
+ */
385
+ updatedAt?: pulumi.Input<string>;
386
+ /**
387
+ * Deployment updater
388
+ */
389
+ updatedBy?: pulumi.Input<inputs.DeploymentUpdatedBy>;
390
+ /**
391
+ * Deployment webserver Airflow API URL
392
+ */
393
+ webserverAirflowApiUrl?: pulumi.Input<string>;
394
+ /**
395
+ * Deployment webserver ingress hostname
396
+ */
397
+ webserverIngressHostname?: pulumi.Input<string>;
398
+ /**
399
+ * Deployment webserver URL
400
+ */
401
+ webserverUrl?: pulumi.Input<string>;
402
+ /**
403
+ * Deployment worker queues - required for deployments with 'CELERY' executor
202
404
  */
203
405
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
204
406
  /**
205
- * The Deployment's workload identity.
407
+ * Deployment workload identity. This value can be changed via the Astro API if applicable.
206
408
  */
207
409
  workloadIdentity?: pulumi.Input<string>;
208
410
  /**
209
- * The ID of the workspace to which the Deployment belongs.
411
+ * Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace
210
412
  */
211
413
  workspaceId?: pulumi.Input<string>;
212
414
  }
@@ -215,87 +417,100 @@ export interface DeploymentState {
215
417
  */
216
418
  export interface DeploymentArgs {
217
419
  /**
218
- * Deployment's Astro Runtime version.
219
- */
220
- astroRuntimeVersion?: pulumi.Input<string>;
221
- /**
222
- * The cloud provider for the Deployment's cluster. Optional if `ClusterId` is specified.
420
+ * Deployment cloud provider - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new cloud provider
223
421
  */
224
422
  cloudProvider?: pulumi.Input<string>;
225
423
  /**
226
- * The ID of the cluster where the Deployment will be created.
424
+ * Deployment cluster identifier - required for 'HYBRID' and 'DEDICATED' deployments. If changing this value, the deployment will be recreated in the new cluster
227
425
  */
228
426
  clusterId?: pulumi.Input<string>;
229
427
  /**
230
- * The default CPU resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in number of CPU cores.
428
+ * Deployment contact emails
231
429
  */
232
- defaultTaskPodCpu: pulumi.Input<string>;
430
+ contactEmails: pulumi.Input<pulumi.Input<string>[]>;
233
431
  /**
234
- * The default memory resource usage for a worker Pod when running the Kubernetes executor or KubernetesPodOperator. Units are in `Gi`. This value must always be twice the value of `DefaultTaskPodCpu`.
432
+ * Deployment default task pod CPU - required for 'STANDARD' and 'DEDICATED' deployments
235
433
  */
236
- defaultTaskPodMemory: pulumi.Input<string>;
434
+ defaultTaskPodCpu?: pulumi.Input<string>;
237
435
  /**
238
- * The Deployment's description.
436
+ * Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments
239
437
  */
240
- description?: pulumi.Input<string>;
438
+ defaultTaskPodMemory?: pulumi.Input<string>;
241
439
  /**
242
- * List of environment variables to add to the Deployment.
440
+ * Deployment description
243
441
  */
244
- environmentVariables?: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
442
+ description: pulumi.Input<string>;
443
+ /**
444
+ * Deployment environment variables
445
+ */
446
+ environmentVariables: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
245
447
  /**
246
- * The Deployment's executor type.
448
+ * Deployment executor
247
449
  */
248
450
  executor: pulumi.Input<string>;
249
451
  /**
250
- * Whether the Deployment requires that all deploys are made through CI/CD.
452
+ * Deployment CI/CD enforced
251
453
  */
252
454
  isCicdEnforced: pulumi.Input<boolean>;
253
455
  /**
254
- * Whether the Deployment has DAG deploys enabled.
456
+ * Whether DAG deploy is enabled - Changing this value may disrupt your deployment. Read more at https://docs.astronomer.io/astro/deploy-dags#enable-or-disable-dag-only-deploys-on-a-deployment
255
457
  */
256
458
  isDagDeployEnabled: pulumi.Input<boolean>;
257
459
  /**
258
- * Whether the Deployment is in development mode.
460
+ * Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated
259
461
  */
260
- isDevelopmentMode: pulumi.Input<boolean>;
462
+ isDevelopmentMode?: pulumi.Input<boolean>;
261
463
  /**
262
- * Whether the Deployment is configured for high availability. If `true`, multiple scheduler pods will be online.
464
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
263
465
  */
264
- isHighAvailability: pulumi.Input<boolean>;
466
+ isHighAvailability?: pulumi.Input<boolean>;
265
467
  /**
266
- * The Deployment's name.
468
+ * Deployment name
267
469
  */
268
470
  name?: pulumi.Input<string>;
471
+ originalAstroRuntimeVersion?: pulumi.Input<string>;
269
472
  /**
270
- * The region to host the Deployment in. Optional if `ClusterId` is specified.
473
+ * Deployment region - required for 'STANDARD' deployments. If changing this value, the deployment will be recreated in the new region
271
474
  */
272
475
  region?: pulumi.Input<string>;
273
476
  /**
274
- * The CPU quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current CPU usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in number of CPU cores.
477
+ * Deployment resource quota CPU - required for 'STANDARD' and 'DEDICATED' deployments
275
478
  */
276
- resourceQuotaCpu: pulumi.Input<string>;
479
+ resourceQuotaCpu?: pulumi.Input<string>;
277
480
  /**
278
- * The memory quota for worker Pods when running the Kubernetes executor or KubernetesPodOperator. If current memory usage across all workers exceeds the quota, no new worker Pods can be scheduled. Units are in `Gi`. This value must always be twice the value of `ResourceQuotaCpu`.
481
+ * Deployment resource quota memory - required for 'STANDARD' and 'DEDICATED' deployments
279
482
  */
280
- resourceQuotaMemory: pulumi.Input<string>;
483
+ resourceQuotaMemory?: pulumi.Input<string>;
281
484
  /**
282
- * The size of the scheduler pod.
485
+ * Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments
283
486
  */
284
- schedulerSize: pulumi.Input<string>;
487
+ scalingSpec?: pulumi.Input<inputs.DeploymentScalingSpec>;
488
+ /**
489
+ * Deployment scheduler AU - required for 'HYBRID' deployments
490
+ */
491
+ schedulerAu?: pulumi.Input<number>;
492
+ /**
493
+ * Deployment scheduler replicas - required for 'HYBRID' deployments
494
+ */
495
+ schedulerReplicas?: pulumi.Input<number>;
496
+ /**
497
+ * Deployment scheduler size - required for 'STANDARD' and 'DEDICATED' deployments
498
+ */
499
+ schedulerSize?: pulumi.Input<string>;
285
500
  /**
286
- * The node pool ID for the task pods. For KUBERNETES executor only.
501
+ * Deployment task pod node pool identifier - required if executor is 'KUBERNETES' and type is 'HYBRID'
287
502
  */
288
503
  taskPodNodePoolId?: pulumi.Input<string>;
289
504
  /**
290
- * The type of the Deployment.
505
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
291
506
  */
292
507
  type: pulumi.Input<string>;
293
508
  /**
294
- * The list of worker queues configured for the Deployment. Applies only when `Executor` is `CELERY`. At least 1 worker queue is needed. All Deployments need at least 1 worker queue called `default`.
509
+ * Deployment worker queues - required for deployments with 'CELERY' executor
295
510
  */
296
511
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
297
512
  /**
298
- * The ID of the workspace to which the Deployment belongs.
513
+ * Deployment workspace identifier - if changing this value, the deployment will be recreated in the new workspace
299
514
  */
300
515
  workspaceId: pulumi.Input<string>;
301
516
  }