@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.
- package/README.md +1 -2
- package/cluster.d.ts +104 -87
- package/cluster.js +49 -19
- package/cluster.js.map +1 -1
- package/config/vars.d.ts +6 -2
- package/config/vars.js +7 -1
- package/config/vars.js.map +1 -1
- package/deployment.d.ts +312 -85
- package/deployment.js +63 -18
- package/deployment.js.map +1 -1
- package/getCluster.d.ts +40 -32
- package/getCluster.js +6 -6
- package/getCluster.js.map +1 -1
- package/getClusterOptions.d.ts +66 -0
- package/getClusterOptions.js +56 -0
- package/getClusterOptions.js.map +1 -0
- package/getClusters.d.ts +66 -0
- package/getClusters.js +57 -0
- package/getClusters.js.map +1 -0
- package/getDeployment.d.ts +196 -13
- package/getDeployment.js +24 -2
- package/getDeployment.js.map +1 -1
- package/getDeploymentOptions.d.ts +147 -0
- package/getDeploymentOptions.js +71 -0
- package/getDeploymentOptions.js.map +1 -0
- package/getDeployments.d.ts +75 -0
- package/getDeployments.js +64 -0
- package/getDeployments.js.map +1 -0
- package/getOrganization.d.ts +26 -46
- package/getOrganization.js +8 -15
- package/getOrganization.js.map +1 -1
- package/getTeam.d.ts +103 -0
- package/getTeam.js +47 -0
- package/getTeam.js.map +1 -0
- package/getTeams.d.ts +63 -0
- package/getTeams.js +56 -0
- package/getTeams.js.map +1 -0
- package/getWorkspace.d.ts +29 -12
- package/getWorkspace.js +6 -6
- package/getWorkspace.js.map +1 -1
- package/getWorkspaces.d.ts +78 -0
- package/getWorkspaces.js +69 -0
- package/getWorkspaces.js.map +1 -0
- package/hybridClusterWorkspaceAuthorization.d.ts +82 -0
- package/hybridClusterWorkspaceAuthorization.js +76 -0
- package/hybridClusterWorkspaceAuthorization.js.map +1 -0
- package/index.d.ts +28 -1
- package/index.js +32 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +1 -1
- package/provider.d.ts +13 -5
- package/provider.js +3 -2
- package/provider.js.map +1 -1
- package/teamRoles.d.ts +89 -0
- package/teamRoles.js +64 -0
- package/teamRoles.js.map +1 -0
- package/types/input.d.ts +176 -20
- package/types/output.d.ts +1350 -36
- package/workspace.d.ts +55 -17
- package/workspace.js +21 -3
- package/workspace.js.map +1 -1
package/types/input.d.ts
CHANGED
|
@@ -1,56 +1,212 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
export interface ClusterMetadata {
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* Cluster external IPs
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
+
externalIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
+
* Cluster OIDC issuer URL
|
|
9
10
|
*/
|
|
10
|
-
value: pulumi.Input<string>;
|
|
11
|
-
}
|
|
12
|
-
export interface ClusterMetadata {
|
|
13
|
-
externalIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
14
11
|
oidcIssuerUrl?: pulumi.Input<string>;
|
|
15
12
|
}
|
|
16
13
|
export interface ClusterNodePool {
|
|
17
14
|
/**
|
|
18
|
-
*
|
|
15
|
+
* Node pool cloud provider
|
|
16
|
+
*/
|
|
17
|
+
cloudProvider?: pulumi.Input<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Node pool cluster identifier
|
|
20
|
+
*/
|
|
21
|
+
clusterId?: pulumi.Input<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Node pool creation timestamp
|
|
24
|
+
*/
|
|
25
|
+
createdAt?: pulumi.Input<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Node pool identifier
|
|
28
|
+
*/
|
|
29
|
+
id?: pulumi.Input<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the node pool is the default node pool of the cluster
|
|
19
32
|
*/
|
|
20
33
|
isDefault?: pulumi.Input<boolean>;
|
|
21
34
|
/**
|
|
22
|
-
*
|
|
35
|
+
* Node pool maximum node count
|
|
23
36
|
*/
|
|
24
|
-
maxNodeCount
|
|
37
|
+
maxNodeCount?: pulumi.Input<number>;
|
|
25
38
|
/**
|
|
26
|
-
*
|
|
39
|
+
* Node pool name
|
|
27
40
|
*/
|
|
28
|
-
name
|
|
41
|
+
name?: pulumi.Input<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Node pool node instance type
|
|
44
|
+
*/
|
|
45
|
+
nodeInstanceType?: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Node pool supported Astro machines
|
|
48
|
+
*/
|
|
49
|
+
supportedAstroMachines?: pulumi.Input<pulumi.Input<string>[]>;
|
|
29
50
|
/**
|
|
30
|
-
*
|
|
51
|
+
* Node pool last updated timestamp
|
|
31
52
|
*/
|
|
32
|
-
|
|
53
|
+
updatedAt?: pulumi.Input<string>;
|
|
54
|
+
}
|
|
55
|
+
export interface ClusterTimeouts {
|
|
56
|
+
/**
|
|
57
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
58
|
+
*/
|
|
59
|
+
create?: pulumi.Input<string>;
|
|
60
|
+
/**
|
|
61
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
62
|
+
*/
|
|
63
|
+
delete?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
66
|
+
*/
|
|
67
|
+
update?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
export interface DeploymentCreatedBy {
|
|
70
|
+
apiTokenName?: pulumi.Input<string>;
|
|
71
|
+
avatarUrl?: pulumi.Input<string>;
|
|
72
|
+
fullName?: pulumi.Input<string>;
|
|
73
|
+
id?: pulumi.Input<string>;
|
|
74
|
+
subjectType?: pulumi.Input<string>;
|
|
75
|
+
username?: pulumi.Input<string>;
|
|
33
76
|
}
|
|
34
77
|
export interface DeploymentEnvironmentVariable {
|
|
35
78
|
/**
|
|
36
|
-
* Whether
|
|
79
|
+
* Whether Environment variable is a secret
|
|
37
80
|
*/
|
|
38
81
|
isSecret: pulumi.Input<boolean>;
|
|
39
82
|
/**
|
|
40
|
-
*
|
|
83
|
+
* Environment variable key
|
|
41
84
|
*/
|
|
42
85
|
key: pulumi.Input<string>;
|
|
43
86
|
/**
|
|
44
|
-
*
|
|
87
|
+
* Environment variable last updated timestamp
|
|
88
|
+
*/
|
|
89
|
+
updatedAt?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Environment variable value
|
|
45
92
|
*/
|
|
46
93
|
value?: pulumi.Input<string>;
|
|
47
94
|
}
|
|
48
|
-
export interface
|
|
49
|
-
|
|
95
|
+
export interface DeploymentScalingSpec {
|
|
96
|
+
/**
|
|
97
|
+
* Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null.
|
|
98
|
+
*/
|
|
99
|
+
hibernationSpec: pulumi.Input<inputs.DeploymentScalingSpecHibernationSpec>;
|
|
100
|
+
}
|
|
101
|
+
export interface DeploymentScalingSpecHibernationSpec {
|
|
102
|
+
/**
|
|
103
|
+
* Hibernation override configuration. Set to null to remove the override.
|
|
104
|
+
*/
|
|
105
|
+
override?: pulumi.Input<inputs.DeploymentScalingSpecHibernationSpecOverride>;
|
|
106
|
+
/**
|
|
107
|
+
* List of hibernation schedules. Set to null to remove all schedules.
|
|
108
|
+
*/
|
|
109
|
+
schedules?: pulumi.Input<pulumi.Input<inputs.DeploymentScalingSpecHibernationSpecSchedule>[]>;
|
|
110
|
+
}
|
|
111
|
+
export interface DeploymentScalingSpecHibernationSpecOverride {
|
|
112
|
+
isActive?: pulumi.Input<boolean>;
|
|
113
|
+
isHibernating: pulumi.Input<boolean>;
|
|
114
|
+
overrideUntil?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
export interface DeploymentScalingSpecHibernationSpecSchedule {
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
hibernateAtCron: pulumi.Input<string>;
|
|
119
|
+
isEnabled: pulumi.Input<boolean>;
|
|
120
|
+
wakeAtCron: pulumi.Input<string>;
|
|
121
|
+
}
|
|
122
|
+
export interface DeploymentScalingStatus {
|
|
123
|
+
hibernationStatus?: pulumi.Input<inputs.DeploymentScalingStatusHibernationStatus>;
|
|
124
|
+
}
|
|
125
|
+
export interface DeploymentScalingStatusHibernationStatus {
|
|
126
|
+
isHibernating?: pulumi.Input<boolean>;
|
|
127
|
+
nextEventAt?: pulumi.Input<string>;
|
|
128
|
+
nextEventType?: pulumi.Input<string>;
|
|
129
|
+
reason?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
export interface DeploymentUpdatedBy {
|
|
132
|
+
apiTokenName?: pulumi.Input<string>;
|
|
133
|
+
avatarUrl?: pulumi.Input<string>;
|
|
134
|
+
fullName?: pulumi.Input<string>;
|
|
50
135
|
id?: pulumi.Input<string>;
|
|
136
|
+
subjectType?: pulumi.Input<string>;
|
|
137
|
+
username?: pulumi.Input<string>;
|
|
138
|
+
}
|
|
139
|
+
export interface DeploymentWorkerQueue {
|
|
140
|
+
/**
|
|
141
|
+
* Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments
|
|
142
|
+
*/
|
|
143
|
+
astroMachine?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Worker queue default
|
|
146
|
+
*/
|
|
51
147
|
isDefault: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* Worker queue max worker count
|
|
150
|
+
*/
|
|
52
151
|
maxWorkerCount: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* Worker queue min worker count
|
|
154
|
+
*/
|
|
53
155
|
minWorkerCount: pulumi.Input<number>;
|
|
156
|
+
/**
|
|
157
|
+
* Worker queue name
|
|
158
|
+
*/
|
|
54
159
|
name: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Worker queue Node pool identifier - required for 'HYBRID' deployments
|
|
162
|
+
*/
|
|
163
|
+
nodePoolId?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Worker queue pod CPU
|
|
166
|
+
*/
|
|
167
|
+
podCpu?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Worker queue pod memory
|
|
170
|
+
*/
|
|
171
|
+
podMemory?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Worker queue worker concurrency
|
|
174
|
+
*/
|
|
55
175
|
workerConcurrency: pulumi.Input<number>;
|
|
56
176
|
}
|
|
177
|
+
export interface TeamRolesDeploymentRole {
|
|
178
|
+
/**
|
|
179
|
+
* The ID of the deployment to assign the role to
|
|
180
|
+
*/
|
|
181
|
+
deploymentId: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* The role to assign to the deployment
|
|
184
|
+
*/
|
|
185
|
+
role: pulumi.Input<string>;
|
|
186
|
+
}
|
|
187
|
+
export interface TeamRolesWorkspaceRole {
|
|
188
|
+
/**
|
|
189
|
+
* The role to assign to the workspace
|
|
190
|
+
*/
|
|
191
|
+
role: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* The ID of the workspace to assign the role to
|
|
194
|
+
*/
|
|
195
|
+
workspaceId: pulumi.Input<string>;
|
|
196
|
+
}
|
|
197
|
+
export interface WorkspaceCreatedBy {
|
|
198
|
+
apiTokenName?: pulumi.Input<string>;
|
|
199
|
+
avatarUrl?: pulumi.Input<string>;
|
|
200
|
+
fullName?: pulumi.Input<string>;
|
|
201
|
+
id?: pulumi.Input<string>;
|
|
202
|
+
subjectType?: pulumi.Input<string>;
|
|
203
|
+
username?: pulumi.Input<string>;
|
|
204
|
+
}
|
|
205
|
+
export interface WorkspaceUpdatedBy {
|
|
206
|
+
apiTokenName?: pulumi.Input<string>;
|
|
207
|
+
avatarUrl?: pulumi.Input<string>;
|
|
208
|
+
fullName?: pulumi.Input<string>;
|
|
209
|
+
id?: pulumi.Input<string>;
|
|
210
|
+
subjectType?: pulumi.Input<string>;
|
|
211
|
+
username?: pulumi.Input<string>;
|
|
212
|
+
}
|