@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/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,87 +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 configured for high availability. If `true`, multiple scheduler pods will be online.
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 isHighAvailability: pulumi.Output<boolean>;
106
+ readonly isDevelopmentMode: pulumi.Output<boolean | undefined>;
67
107
  /**
68
- * The Deployment's name.
108
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
109
+ */
110
+ readonly isHighAvailability: pulumi.Output<boolean | undefined>;
111
+ /**
112
+ * Deployment name
69
113
  */
70
114
  readonly name: pulumi.Output<string>;
71
115
  /**
72
- * 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
73
138
  */
74
- readonly region: pulumi.Output<string | undefined>;
139
+ readonly scalingSpec: pulumi.Output<outputs.DeploymentScalingSpec | undefined>;
75
140
  /**
76
- * 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
77
142
  */
78
- readonly resourceQuotaCpu: pulumi.Output<string>;
143
+ readonly scalingStatus: pulumi.Output<outputs.DeploymentScalingStatus>;
79
144
  /**
80
- * 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
81
146
  */
82
- readonly resourceQuotaMemory: pulumi.Output<string>;
147
+ readonly schedulerAu: pulumi.Output<number | undefined>;
83
148
  /**
84
- * The size of the scheduler pod.
149
+ * Deployment scheduler CPU
85
150
  */
86
- readonly schedulerSize: pulumi.Output<string>;
151
+ readonly schedulerCpu: pulumi.Output<string>;
87
152
  /**
88
- * 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'
89
174
  */
90
175
  readonly taskPodNodePoolId: pulumi.Output<string | undefined>;
91
176
  /**
92
- * The type of the Deployment.
177
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
93
178
  */
94
179
  readonly type: pulumi.Output<string>;
95
180
  /**
96
- * 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
97
202
  */
98
203
  readonly workerQueues: pulumi.Output<outputs.DeploymentWorkerQueue[] | undefined>;
99
204
  /**
100
- * The Deployment's workload identity.
205
+ * Deployment workload identity. This value can be changed via the Astro API if applicable.
101
206
  */
102
207
  readonly workloadIdentity: pulumi.Output<string>;
103
208
  /**
104
- * 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
105
210
  */
106
211
  readonly workspaceId: pulumi.Output<string>;
107
212
  /**
@@ -118,87 +223,192 @@ export declare class Deployment extends pulumi.CustomResource {
118
223
  */
119
224
  export interface DeploymentState {
120
225
  /**
121
- * Deployment's Astro Runtime version.
226
+ * Deployment Airflow version
227
+ */
228
+ airflowVersion?: pulumi.Input<string>;
229
+ /**
230
+ * Deployment's current Astro Runtime version
122
231
  */
123
232
  astroRuntimeVersion?: pulumi.Input<string>;
124
233
  /**
125
- * 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
126
235
  */
127
236
  cloudProvider?: pulumi.Input<string>;
128
237
  /**
129
- * 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
130
239
  */
131
240
  clusterId?: pulumi.Input<string>;
132
241
  /**
133
- * 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
134
259
  */
135
260
  defaultTaskPodCpu?: pulumi.Input<string>;
136
261
  /**
137
- * 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
138
263
  */
139
264
  defaultTaskPodMemory?: pulumi.Input<string>;
140
265
  /**
141
- * The Deployment's description.
266
+ * Deployment description
142
267
  */
143
268
  description?: pulumi.Input<string>;
144
269
  /**
145
- * 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
146
275
  */
147
276
  environmentVariables?: pulumi.Input<pulumi.Input<inputs.DeploymentEnvironmentVariable>[]>;
148
277
  /**
149
- * The Deployment's executor type.
278
+ * Deployment executor
150
279
  */
151
280
  executor?: pulumi.Input<string>;
152
281
  /**
153
- * 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
154
299
  */
155
300
  isCicdEnforced?: pulumi.Input<boolean>;
156
301
  /**
157
- * 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
158
303
  */
159
304
  isDagDeployEnabled?: pulumi.Input<boolean>;
160
305
  /**
161
- * Whether the Deployment is configured for high availability. If `true`, multiple scheduler pods will be online.
306
+ * Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated
307
+ */
308
+ isDevelopmentMode?: pulumi.Input<boolean>;
309
+ /**
310
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
162
311
  */
163
312
  isHighAvailability?: pulumi.Input<boolean>;
164
313
  /**
165
- * The Deployment's name.
314
+ * Deployment name
166
315
  */
167
316
  name?: pulumi.Input<string>;
168
317
  /**
169
- * 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
170
328
  */
171
329
  region?: pulumi.Input<string>;
172
330
  /**
173
- * 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
174
332
  */
175
333
  resourceQuotaCpu?: pulumi.Input<string>;
176
334
  /**
177
- * 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
178
336
  */
179
337
  resourceQuotaMemory?: pulumi.Input<string>;
180
338
  /**
181
- * 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
182
364
  */
183
365
  schedulerSize?: pulumi.Input<string>;
184
366
  /**
185
- * 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'
186
376
  */
187
377
  taskPodNodePoolId?: pulumi.Input<string>;
188
378
  /**
189
- * The type of the Deployment.
379
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
190
380
  */
191
381
  type?: pulumi.Input<string>;
192
382
  /**
193
- * 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
194
404
  */
195
405
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
196
406
  /**
197
- * The Deployment's workload identity.
407
+ * Deployment workload identity. This value can be changed via the Astro API if applicable.
198
408
  */
199
409
  workloadIdentity?: pulumi.Input<string>;
200
410
  /**
201
- * 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
202
412
  */
203
413
  workspaceId?: pulumi.Input<string>;
204
414
  }
@@ -207,83 +417,100 @@ export interface DeploymentState {
207
417
  */
208
418
  export interface DeploymentArgs {
209
419
  /**
210
- * Deployment's Astro Runtime version.
211
- */
212
- astroRuntimeVersion?: pulumi.Input<string>;
213
- /**
214
- * 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
215
421
  */
216
422
  cloudProvider?: pulumi.Input<string>;
217
423
  /**
218
- * 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
219
425
  */
220
426
  clusterId?: pulumi.Input<string>;
221
427
  /**
222
- * 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
223
429
  */
224
- defaultTaskPodCpu: pulumi.Input<string>;
430
+ contactEmails: pulumi.Input<pulumi.Input<string>[]>;
225
431
  /**
226
- * 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
227
433
  */
228
- defaultTaskPodMemory: pulumi.Input<string>;
434
+ defaultTaskPodCpu?: pulumi.Input<string>;
229
435
  /**
230
- * The Deployment's description.
436
+ * Deployment default task pod memory - required for 'STANDARD' and 'DEDICATED' deployments
231
437
  */
232
- description?: pulumi.Input<string>;
438
+ defaultTaskPodMemory?: pulumi.Input<string>;
233
439
  /**
234
- * List of environment variables to add to the Deployment.
440
+ * Deployment description
235
441
  */
236
- 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>[]>;
237
447
  /**
238
- * The Deployment's executor type.
448
+ * Deployment executor
239
449
  */
240
450
  executor: pulumi.Input<string>;
241
451
  /**
242
- * Whether the Deployment requires that all deploys are made through CI/CD.
452
+ * Deployment CI/CD enforced
243
453
  */
244
454
  isCicdEnforced: pulumi.Input<boolean>;
245
455
  /**
246
- * 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
247
457
  */
248
458
  isDagDeployEnabled: pulumi.Input<boolean>;
249
459
  /**
250
- * Whether the Deployment is configured for high availability. If `true`, multiple scheduler pods will be online.
460
+ * Deployment development mode - required for 'STANDARD' and 'DEDICATED' deployments. If changing from 'False' to 'True', the deployment will be recreated
461
+ */
462
+ isDevelopmentMode?: pulumi.Input<boolean>;
463
+ /**
464
+ * Deployment high availability - required for 'STANDARD' and 'DEDICATED' deployments
251
465
  */
252
- isHighAvailability: pulumi.Input<boolean>;
466
+ isHighAvailability?: pulumi.Input<boolean>;
253
467
  /**
254
- * The Deployment's name.
468
+ * Deployment name
255
469
  */
256
470
  name?: pulumi.Input<string>;
471
+ originalAstroRuntimeVersion?: pulumi.Input<string>;
257
472
  /**
258
- * 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
259
474
  */
260
475
  region?: pulumi.Input<string>;
261
476
  /**
262
- * 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
263
478
  */
264
- resourceQuotaCpu: pulumi.Input<string>;
479
+ resourceQuotaCpu?: pulumi.Input<string>;
265
480
  /**
266
- * 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
267
482
  */
268
- resourceQuotaMemory: pulumi.Input<string>;
483
+ resourceQuotaMemory?: pulumi.Input<string>;
269
484
  /**
270
- * The size of the scheduler pod.
485
+ * Deployment scaling spec - only for 'STANDARD' and 'DEDICATED' deployments
271
486
  */
272
- 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>;
273
500
  /**
274
- * 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'
275
502
  */
276
503
  taskPodNodePoolId?: pulumi.Input<string>;
277
504
  /**
278
- * The type of the Deployment.
505
+ * Deployment type - if changing this value, the deployment will be recreated with the new type
279
506
  */
280
507
  type: pulumi.Input<string>;
281
508
  /**
282
- * 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
283
510
  */
284
511
  workerQueues?: pulumi.Input<pulumi.Input<inputs.DeploymentWorkerQueue>[]>;
285
512
  /**
286
- * 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
287
514
  */
288
515
  workspaceId: pulumi.Input<string>;
289
516
  }