@cloudyskysoftware/pulumi-fly-machines 0.0.12 → 0.0.14
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/apps/v1/machine.d.ts +12 -0
- package/apps/v1/machine.d.ts.map +1 -1
- package/apps/v1/machine.js.map +1 -1
- package/apps/v1/machinesCordon.d.ts +1 -0
- package/apps/v1/machinesCordon.d.ts.map +1 -1
- package/apps/v1/machinesCordon.js +2 -0
- package/apps/v1/machinesCordon.js.map +1 -1
- package/apps/v1/machinesRestart.d.ts +1 -0
- package/apps/v1/machinesRestart.d.ts.map +1 -1
- package/apps/v1/machinesRestart.js +2 -0
- package/apps/v1/machinesRestart.js.map +1 -1
- package/apps/v1/machinesSignal.d.ts +1 -0
- package/apps/v1/machinesSignal.d.ts.map +1 -1
- package/apps/v1/machinesSignal.js +2 -0
- package/apps/v1/machinesSignal.js.map +1 -1
- package/apps/v1/machinesStart.d.ts +12 -0
- package/apps/v1/machinesStart.d.ts.map +1 -1
- package/apps/v1/machinesStart.js +6 -0
- package/apps/v1/machinesStart.js.map +1 -1
- package/apps/v1/machinesStop.d.ts +1 -0
- package/apps/v1/machinesStop.d.ts.map +1 -1
- package/apps/v1/machinesStop.js +2 -0
- package/apps/v1/machinesStop.js.map +1 -1
- package/apps/v1/machinesSuspend.d.ts +1 -0
- package/apps/v1/machinesSuspend.d.ts.map +1 -1
- package/apps/v1/machinesSuspend.js +2 -0
- package/apps/v1/machinesSuspend.js.map +1 -1
- package/apps/v1/machinesUncordon.d.ts +1 -0
- package/apps/v1/machinesUncordon.d.ts.map +1 -1
- package/apps/v1/machinesUncordon.js +2 -0
- package/apps/v1/machinesUncordon.js.map +1 -1
- package/apps/v1/secret.d.ts +4 -0
- package/apps/v1/secret.d.ts.map +1 -1
- package/apps/v1/secret.js.map +1 -1
- package/apps/v1/secretsUpdate.d.ts +4 -0
- package/apps/v1/secretsUpdate.d.ts.map +1 -1
- package/apps/v1/secretsUpdate.js.map +1 -1
- package/package.json +1 -1
- package/types/enums/apps/v1/index.d.ts +36 -7
- package/types/enums/apps/v1/index.d.ts.map +1 -1
- package/types/enums/apps/v1/index.js +24 -8
- package/types/enums/apps/v1/index.js.map +1 -1
- package/types/enums/tokens/v1/index.d.ts +26 -7
- package/types/enums/tokens/v1/index.d.ts.map +1 -1
- package/types/enums/tokens/v1/index.js +17 -8
- package/types/enums/tokens/v1/index.js.map +1 -1
- package/types/input.d.ts +173 -98
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +174 -88
- package/types/output.d.ts.map +1 -1
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
export declare const FlyioAccessAction: {
|
|
2
|
-
readonly
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
2
|
+
readonly ActionRead: 1;
|
|
3
|
+
readonly ActionWrite: 2;
|
|
4
|
+
readonly ActionCreate: 4;
|
|
5
|
+
readonly ActionDelete: 8;
|
|
6
|
+
readonly ActionControl: 16;
|
|
7
|
+
readonly ActionAll: 31;
|
|
8
|
+
readonly ActionNone: 0;
|
|
9
9
|
};
|
|
10
10
|
export type FlyioAccessAction = (typeof FlyioAccessAction)[keyof typeof FlyioAccessAction];
|
|
11
|
+
export declare const MainTokenAccessAction: {
|
|
12
|
+
readonly ActionRead: 1;
|
|
13
|
+
readonly ActionWrite: 2;
|
|
14
|
+
readonly ActionCreate: 4;
|
|
15
|
+
readonly ActionDelete: 8;
|
|
16
|
+
readonly ActionControl: 16;
|
|
17
|
+
readonly ActionAll: 31;
|
|
18
|
+
readonly ActionNone: 0;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Action is the action being taken on the specified resource. This is the
|
|
22
|
+
* combination of individual action characters (e.g "rw")
|
|
23
|
+
* - r: read
|
|
24
|
+
* - w: write
|
|
25
|
+
* - c: create
|
|
26
|
+
* - d: delete
|
|
27
|
+
* - C: control
|
|
28
|
+
*/
|
|
29
|
+
export type MainTokenAccessAction = (typeof MainTokenAccessAction)[keyof typeof MainTokenAccessAction];
|
|
11
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../types/enums/tokens/v1/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../types/enums/tokens/v1/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE3F,eAAO,MAAM,qBAAqB;;;;;;;;CAQxB,CAAC;AAEX;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -2,14 +2,23 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.FlyioAccessAction = void 0;
|
|
5
|
+
exports.MainTokenAccessAction = exports.FlyioAccessAction = void 0;
|
|
6
6
|
exports.FlyioAccessAction = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
ActionRead: 1,
|
|
8
|
+
ActionWrite: 2,
|
|
9
|
+
ActionCreate: 4,
|
|
10
|
+
ActionDelete: 8,
|
|
11
|
+
ActionControl: 16,
|
|
12
|
+
ActionAll: 31,
|
|
13
|
+
ActionNone: 0,
|
|
14
|
+
};
|
|
15
|
+
exports.MainTokenAccessAction = {
|
|
16
|
+
ActionRead: 1,
|
|
17
|
+
ActionWrite: 2,
|
|
18
|
+
ActionCreate: 4,
|
|
19
|
+
ActionDelete: 8,
|
|
20
|
+
ActionControl: 16,
|
|
21
|
+
ActionAll: 31,
|
|
22
|
+
ActionNone: 0,
|
|
14
23
|
};
|
|
15
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/enums/tokens/v1/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,iBAAiB,GAAG;IAC7B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/enums/tokens/v1/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,iBAAiB,GAAG;IAC7B,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,EAAE;IACjB,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;CACP,CAAC;AAIE,QAAA,qBAAqB,GAAG;IACjC,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,EAAE;IACjB,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,CAAC;CACP,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -206,7 +206,10 @@ export declare namespace apps {
|
|
|
206
206
|
* Optional boolean telling the Machine to destroy itself once it’s complete (default false)
|
|
207
207
|
*/
|
|
208
208
|
autoDestroy?: pulumi.Input<boolean | undefined>;
|
|
209
|
-
|
|
209
|
+
/**
|
|
210
|
+
* A cache drive attached to the Machine
|
|
211
|
+
*/
|
|
212
|
+
cacheDrive?: pulumi.Input<inputs.apps.v1.FlyMachineConfigCacheDriveArgs | undefined>;
|
|
210
213
|
/**
|
|
211
214
|
* An optional object that defines one or more named top-level checks. The key for each check is the check name.
|
|
212
215
|
*/
|
|
@@ -214,53 +217,101 @@ export declare namespace apps {
|
|
|
214
217
|
[key: string]: pulumi.Input<inputs.apps.v1.FlyMachineConfigChecksPropertiesArgs>;
|
|
215
218
|
} | undefined>;
|
|
216
219
|
/**
|
|
217
|
-
* Containers are a list of containers that will run in the machine
|
|
218
|
-
* only specific organizations.
|
|
220
|
+
* Containers are a list of containers that will run in the machine, each from its own image.
|
|
219
221
|
*/
|
|
220
222
|
containers?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyContainerConfigArgs>[] | undefined>;
|
|
221
223
|
/**
|
|
222
224
|
* Deprecated: use Service.Autostart instead
|
|
223
225
|
*/
|
|
224
226
|
disableMachineAutostart?: pulumi.Input<boolean | undefined>;
|
|
225
|
-
|
|
227
|
+
/**
|
|
228
|
+
* DNS settings for the Machine
|
|
229
|
+
*/
|
|
230
|
+
dns?: pulumi.Input<inputs.apps.v1.FlyMachineConfigDnsArgs | undefined>;
|
|
226
231
|
/**
|
|
227
232
|
* An object filled with key/value pairs to be set as environment variables
|
|
228
233
|
*/
|
|
229
234
|
env?: pulumi.Input<{
|
|
230
235
|
[key: string]: pulumi.Input<string>;
|
|
231
236
|
} | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* Files to write into the Machine, from either a raw value or an app secret
|
|
239
|
+
*/
|
|
232
240
|
files?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyFileArgs>[] | undefined>;
|
|
233
|
-
|
|
241
|
+
/**
|
|
242
|
+
* The resources (CPUs, memory, etc.) allocated to the Machine
|
|
243
|
+
*/
|
|
244
|
+
guest?: pulumi.Input<inputs.apps.v1.FlyMachineConfigGuestArgs | undefined>;
|
|
234
245
|
/**
|
|
235
246
|
* The docker image to run
|
|
236
247
|
*/
|
|
237
248
|
image?: pulumi.Input<string | undefined>;
|
|
238
|
-
|
|
249
|
+
/**
|
|
250
|
+
* Arguments for init, Fly.io's footprint inside the Machine, which controls how your own code is run
|
|
251
|
+
*/
|
|
252
|
+
init?: pulumi.Input<inputs.apps.v1.FlyMachineConfigInitArgs | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* Key/value pairs of Machine metadata. Fly.io uses metadata internally for routing, process groups, and clusters
|
|
255
|
+
*/
|
|
239
256
|
metadata?: pulumi.Input<{
|
|
240
257
|
[key: string]: pulumi.Input<string>;
|
|
241
258
|
} | undefined>;
|
|
242
|
-
|
|
259
|
+
/**
|
|
260
|
+
* An optional metrics endpoint for Prometheus on Fly.io to scrape
|
|
261
|
+
*/
|
|
262
|
+
metrics?: pulumi.Input<inputs.apps.v1.FlyMachineConfigMetricsArgs | undefined>;
|
|
263
|
+
/**
|
|
264
|
+
* Persistent volumes to mount in the Machine. A Machine can mount at most one volume, which must be on
|
|
265
|
+
* the same host. The mounted volume cannot be changed by updating the Machine
|
|
266
|
+
*/
|
|
243
267
|
mounts?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineMountArgs>[] | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Multiple processes to run within this one Machine, all from the Machine's image. Unrelated to the
|
|
270
|
+
* process groups in fly.toml, which run on separate Machines. To run processes from different
|
|
271
|
+
* images, use containers instead
|
|
272
|
+
*/
|
|
244
273
|
processes?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineProcessArgs>[] | undefined>;
|
|
245
274
|
/**
|
|
246
|
-
*
|
|
275
|
+
* Whether and how the Machine is restarted after its main process exits
|
|
276
|
+
*/
|
|
277
|
+
restart?: pulumi.Input<inputs.apps.v1.FlyMachineConfigRestartArgs | undefined>;
|
|
278
|
+
/**
|
|
279
|
+
* The size of the Machine's root filesystem and whether it persists
|
|
280
|
+
*/
|
|
281
|
+
rootfs?: pulumi.Input<inputs.apps.v1.FlyMachineConfigRootfsArgs | undefined>;
|
|
282
|
+
/**
|
|
283
|
+
* Run the Machine at an interval: one of hourly, daily, weekly or monthly. The interval starts when
|
|
284
|
+
* the Machine is created
|
|
247
285
|
*/
|
|
248
|
-
restart?: pulumi.Input<inputs.apps.v1.FlyMachineRestartArgs | undefined>;
|
|
249
|
-
rootfs?: pulumi.Input<inputs.apps.v1.FlyMachineRootfsArgs | undefined>;
|
|
250
286
|
schedule?: pulumi.Input<string | undefined>;
|
|
287
|
+
/**
|
|
288
|
+
* Network services that Fly Proxy routes traffic to
|
|
289
|
+
*/
|
|
251
290
|
services?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineServiceArgs>[] | undefined>;
|
|
252
291
|
/**
|
|
253
292
|
* Deprecated: use Guest instead
|
|
254
293
|
*/
|
|
255
294
|
size?: pulumi.Input<string | undefined>;
|
|
256
|
-
|
|
295
|
+
/**
|
|
296
|
+
* Spot pricing settings for the Machine
|
|
297
|
+
*/
|
|
298
|
+
spot?: pulumi.Input<inputs.apps.v1.FlyMachineConfigSpotArgs | undefined>;
|
|
257
299
|
/**
|
|
258
300
|
* Standbys enable a machine to be a standby for another. In the event of a hardware failure,
|
|
259
301
|
* the standby machine will be started.
|
|
260
302
|
*/
|
|
261
303
|
standbys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
304
|
+
/**
|
|
305
|
+
* Static files to serve under a URL prefix. Fly Proxy routes matching requests to a file server
|
|
306
|
+
* inside the Machine, bypassing your application's own process; the Machine must be running. The
|
|
307
|
+
* files are read either from a path inside the Machine or from a Tigris bucket that belongs to the
|
|
308
|
+
* app; no bucket is created for you
|
|
309
|
+
*/
|
|
262
310
|
statics?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyStaticArgs>[] | undefined>;
|
|
263
|
-
|
|
311
|
+
/**
|
|
312
|
+
* How the Machine is shut down gracefully: the signal sent to it and how long to wait before a hard shutdown
|
|
313
|
+
*/
|
|
314
|
+
stopConfig?: pulumi.Input<inputs.apps.v1.FlyMachineConfigStopConfigArgs | undefined>;
|
|
264
315
|
}
|
|
265
316
|
interface FlyContainerConfigArgs {
|
|
266
317
|
/**
|
|
@@ -349,11 +400,9 @@ export declare namespace apps {
|
|
|
349
400
|
timeout?: pulumi.Input<string | undefined>;
|
|
350
401
|
}
|
|
351
402
|
interface FlyContainerDependencyArgs {
|
|
352
|
-
condition?: pulumi.Input<
|
|
403
|
+
condition?: pulumi.Input<enums.apps.v1.FlyContainerDependencyCondition | undefined>;
|
|
353
404
|
name?: pulumi.Input<string | undefined>;
|
|
354
405
|
}
|
|
355
|
-
interface FlyContainerDependencyConditionArgs {
|
|
356
|
-
}
|
|
357
406
|
interface FlyContainerHealthcheckArgs {
|
|
358
407
|
exec?: pulumi.Input<inputs.apps.v1.FlyExecHealthcheckArgs | undefined>;
|
|
359
408
|
/**
|
|
@@ -372,7 +421,7 @@ export declare namespace apps {
|
|
|
372
421
|
/**
|
|
373
422
|
* Kind of healthcheck (readiness, liveness)
|
|
374
423
|
*/
|
|
375
|
-
kind?: pulumi.Input<
|
|
424
|
+
kind?: pulumi.Input<enums.apps.v1.FlyContainerHealthcheckKind | undefined>;
|
|
376
425
|
/**
|
|
377
426
|
* The name of the check. Must be unique within the container.
|
|
378
427
|
*/
|
|
@@ -389,26 +438,7 @@ export declare namespace apps {
|
|
|
389
438
|
/**
|
|
390
439
|
* Unhealthy policy that determines what action to take if a container is deemed unhealthy
|
|
391
440
|
*/
|
|
392
|
-
unhealthy?: pulumi.Input<
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Kind of healthcheck (readiness, liveness)
|
|
396
|
-
*/
|
|
397
|
-
interface FlyContainerHealthcheckKindArgs {
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Unhealthy policy that determines what action to take if a container is deemed unhealthy
|
|
401
|
-
*/
|
|
402
|
-
interface FlyContainerHealthcheckUnhealthyArgs {
|
|
403
|
-
}
|
|
404
|
-
interface FlyDNSConfigArgs {
|
|
405
|
-
dnsForwardRules?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsForwardRuleArgs>[] | undefined>;
|
|
406
|
-
hostname?: pulumi.Input<string | undefined>;
|
|
407
|
-
hostnameFqdn?: pulumi.Input<string | undefined>;
|
|
408
|
-
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
409
|
-
options?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsOptionArgs>[] | undefined>;
|
|
410
|
-
searches?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
411
|
-
skipRegistration?: pulumi.Input<boolean | undefined>;
|
|
441
|
+
unhealthy?: pulumi.Input<enums.apps.v1.FlyContainerHealthcheckUnhealthy | undefined>;
|
|
412
442
|
}
|
|
413
443
|
interface FlyDnsForwardRuleArgs {
|
|
414
444
|
addr?: pulumi.Input<string | undefined>;
|
|
@@ -484,7 +514,7 @@ export declare namespace apps {
|
|
|
484
514
|
/**
|
|
485
515
|
* Whether to use http or https
|
|
486
516
|
*/
|
|
487
|
-
scheme?: pulumi.Input<
|
|
517
|
+
scheme?: pulumi.Input<enums.apps.v1.FlyHTTPHealthcheckScheme | undefined>;
|
|
488
518
|
/**
|
|
489
519
|
* If the protocol is https, the hostname to use for TLS certificate validation
|
|
490
520
|
*/
|
|
@@ -494,11 +524,6 @@ export declare namespace apps {
|
|
|
494
524
|
*/
|
|
495
525
|
tlsSkipVerify?: pulumi.Input<boolean | undefined>;
|
|
496
526
|
}
|
|
497
|
-
/**
|
|
498
|
-
* Whether to use http or https
|
|
499
|
-
*/
|
|
500
|
-
interface FlyHTTPHealthcheckSchemeArgs {
|
|
501
|
-
}
|
|
502
527
|
interface FlyHTTPOptionsArgs {
|
|
503
528
|
compress?: pulumi.Input<boolean | undefined>;
|
|
504
529
|
h2Backend?: pulumi.Input<boolean | undefined>;
|
|
@@ -513,7 +538,10 @@ export declare namespace apps {
|
|
|
513
538
|
} | undefined>;
|
|
514
539
|
pristine?: pulumi.Input<boolean | undefined>;
|
|
515
540
|
}
|
|
516
|
-
|
|
541
|
+
/**
|
|
542
|
+
* A cache drive attached to the Machine
|
|
543
|
+
*/
|
|
544
|
+
interface FlyMachineConfigCacheDriveArgs {
|
|
517
545
|
sizeMb?: pulumi.Input<number | undefined>;
|
|
518
546
|
}
|
|
519
547
|
/**
|
|
@@ -566,6 +594,93 @@ export declare namespace apps {
|
|
|
566
594
|
*/
|
|
567
595
|
type?: pulumi.Input<string | undefined>;
|
|
568
596
|
}
|
|
597
|
+
/**
|
|
598
|
+
* DNS settings for the Machine
|
|
599
|
+
*/
|
|
600
|
+
interface FlyMachineConfigDnsArgs {
|
|
601
|
+
dnsForwardRules?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsForwardRuleArgs>[] | undefined>;
|
|
602
|
+
hostname?: pulumi.Input<string | undefined>;
|
|
603
|
+
hostnameFqdn?: pulumi.Input<string | undefined>;
|
|
604
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
605
|
+
options?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsOptionArgs>[] | undefined>;
|
|
606
|
+
searches?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
607
|
+
skipRegistration?: pulumi.Input<boolean | undefined>;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* The resources (CPUs, memory, etc.) allocated to the Machine
|
|
611
|
+
*/
|
|
612
|
+
interface FlyMachineConfigGuestArgs {
|
|
613
|
+
cpuKind?: pulumi.Input<string | undefined>;
|
|
614
|
+
cpus?: pulumi.Input<number | undefined>;
|
|
615
|
+
gpuKind?: pulumi.Input<string | undefined>;
|
|
616
|
+
gpus?: pulumi.Input<number | undefined>;
|
|
617
|
+
hostDedicationId?: pulumi.Input<string | undefined>;
|
|
618
|
+
kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
619
|
+
maxMemoryMb?: pulumi.Input<number | undefined>;
|
|
620
|
+
memoryMb?: pulumi.Input<number | undefined>;
|
|
621
|
+
/**
|
|
622
|
+
* Deprecated: use MachineConfig.Rootfs instead
|
|
623
|
+
*/
|
|
624
|
+
persistRootfs?: pulumi.Input<enums.apps.v1.FlyMachineGuestPersistRootfs | undefined>;
|
|
625
|
+
requiredHostFeatures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* Arguments for init, Fly.io's footprint inside the Machine, which controls how your own code is run
|
|
629
|
+
*/
|
|
630
|
+
interface FlyMachineConfigInitArgs {
|
|
631
|
+
cmd?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
632
|
+
entrypoint?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
633
|
+
exec?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
634
|
+
kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
635
|
+
swapSizeMb?: pulumi.Input<number | undefined>;
|
|
636
|
+
tty?: pulumi.Input<boolean | undefined>;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* An optional metrics endpoint for Prometheus on Fly.io to scrape
|
|
640
|
+
*/
|
|
641
|
+
interface FlyMachineConfigMetricsArgs {
|
|
642
|
+
https?: pulumi.Input<boolean | undefined>;
|
|
643
|
+
path?: pulumi.Input<string | undefined>;
|
|
644
|
+
port?: pulumi.Input<number | undefined>;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Whether and how the Machine is restarted after its main process exits
|
|
648
|
+
*/
|
|
649
|
+
interface FlyMachineConfigRestartArgs {
|
|
650
|
+
/**
|
|
651
|
+
* When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
|
|
652
|
+
*/
|
|
653
|
+
maxRetries?: pulumi.Input<number | undefined>;
|
|
654
|
+
/**
|
|
655
|
+
* * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
|
|
656
|
+
* * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
|
|
657
|
+
* * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
|
|
658
|
+
*/
|
|
659
|
+
policy?: pulumi.Input<enums.apps.v1.FlyMachineRestartPolicy | undefined>;
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* The size of the Machine's root filesystem and whether it persists
|
|
663
|
+
*/
|
|
664
|
+
interface FlyMachineConfigRootfsArgs {
|
|
665
|
+
persist?: pulumi.Input<enums.apps.v1.FlyMachineRootfsPersist | undefined>;
|
|
666
|
+
sizeGb?: pulumi.Input<number | undefined>;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Spot pricing settings for the Machine
|
|
670
|
+
*/
|
|
671
|
+
interface FlyMachineConfigSpotArgs {
|
|
672
|
+
/**
|
|
673
|
+
* MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]
|
|
674
|
+
*/
|
|
675
|
+
maxPriceFraction?: pulumi.Input<number | undefined>;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* How the Machine is shut down gracefully: the signal sent to it and how long to wait before a hard shutdown
|
|
679
|
+
*/
|
|
680
|
+
interface FlyMachineConfigStopConfigArgs {
|
|
681
|
+
signal?: pulumi.Input<enums.apps.v1.FlyStopConfigSignal | undefined>;
|
|
682
|
+
timeout?: pulumi.Input<string | undefined>;
|
|
683
|
+
}
|
|
569
684
|
interface FlyMachineGuestArgs {
|
|
570
685
|
cpuKind?: pulumi.Input<string | undefined>;
|
|
571
686
|
cpus?: pulumi.Input<number | undefined>;
|
|
@@ -594,19 +709,6 @@ export declare namespace apps {
|
|
|
594
709
|
*/
|
|
595
710
|
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
596
711
|
}
|
|
597
|
-
interface FlyMachineInitArgs {
|
|
598
|
-
cmd?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
599
|
-
entrypoint?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
600
|
-
exec?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
601
|
-
kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
602
|
-
swapSizeMb?: pulumi.Input<number | undefined>;
|
|
603
|
-
tty?: pulumi.Input<boolean | undefined>;
|
|
604
|
-
}
|
|
605
|
-
interface FlyMachineMetricsArgs {
|
|
606
|
-
https?: pulumi.Input<boolean | undefined>;
|
|
607
|
-
path?: pulumi.Input<string | undefined>;
|
|
608
|
-
port?: pulumi.Input<number | undefined>;
|
|
609
|
-
}
|
|
610
712
|
interface FlyMachineMountArgs {
|
|
611
713
|
addSizeGb?: pulumi.Input<number | undefined>;
|
|
612
714
|
/**
|
|
@@ -660,25 +762,6 @@ export declare namespace apps {
|
|
|
660
762
|
secrets?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineSecretArgs>[] | undefined>;
|
|
661
763
|
user?: pulumi.Input<string | undefined>;
|
|
662
764
|
}
|
|
663
|
-
/**
|
|
664
|
-
* The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.
|
|
665
|
-
*/
|
|
666
|
-
interface FlyMachineRestartArgs {
|
|
667
|
-
/**
|
|
668
|
-
* When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
|
|
669
|
-
*/
|
|
670
|
-
maxRetries?: pulumi.Input<number | undefined>;
|
|
671
|
-
/**
|
|
672
|
-
* * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
|
|
673
|
-
* * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
|
|
674
|
-
* * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
|
|
675
|
-
*/
|
|
676
|
-
policy?: pulumi.Input<enums.apps.v1.FlyMachineRestartPolicy | undefined>;
|
|
677
|
-
}
|
|
678
|
-
interface FlyMachineRootfsArgs {
|
|
679
|
-
persist?: pulumi.Input<enums.apps.v1.FlyMachineRootfsPersist | undefined>;
|
|
680
|
-
sizeGb?: pulumi.Input<number | undefined>;
|
|
681
|
-
}
|
|
682
765
|
/**
|
|
683
766
|
* A Secret needing to be set in the environment of the Machine. env_var is required
|
|
684
767
|
*/
|
|
@@ -763,12 +846,6 @@ export declare namespace apps {
|
|
|
763
846
|
softLimit?: pulumi.Input<number | undefined>;
|
|
764
847
|
type?: pulumi.Input<string | undefined>;
|
|
765
848
|
}
|
|
766
|
-
interface FlyMachineSpotArgs {
|
|
767
|
-
/**
|
|
768
|
-
* MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]
|
|
769
|
-
*/
|
|
770
|
-
maxPriceFraction?: pulumi.Input<number | undefined>;
|
|
771
|
-
}
|
|
772
849
|
interface FlyProxyProtoOptionsArgs {
|
|
773
850
|
flySrc?: pulumi.Input<boolean | undefined>;
|
|
774
851
|
version?: pulumi.Input<string | undefined>;
|
|
@@ -787,15 +864,24 @@ export declare namespace apps {
|
|
|
787
864
|
type?: pulumi.Input<enums.apps.v1.FlyReplayCacheType | undefined>;
|
|
788
865
|
}
|
|
789
866
|
interface FlyStaticArgs {
|
|
867
|
+
/**
|
|
868
|
+
* The path inside the Machine, or inside tigris_bucket when set, where the files to serve are located
|
|
869
|
+
*/
|
|
790
870
|
guestPath: pulumi.Input<string>;
|
|
871
|
+
/**
|
|
872
|
+
* The document served for requests to the URL prefix or any of its subfolders. Only works with tigris_bucket
|
|
873
|
+
*/
|
|
791
874
|
indexDocument?: pulumi.Input<string | undefined>;
|
|
875
|
+
/**
|
|
876
|
+
* An existing Tigris bucket belonging to the app to read the files from, instead of the Machine's
|
|
877
|
+
* filesystem. The files are still served through the Machine
|
|
878
|
+
*/
|
|
792
879
|
tigrisBucket?: pulumi.Input<string | undefined>;
|
|
880
|
+
/**
|
|
881
|
+
* The URL prefix under which the files are served
|
|
882
|
+
*/
|
|
793
883
|
urlPrefix: pulumi.Input<string>;
|
|
794
884
|
}
|
|
795
|
-
interface FlyStopConfigArgs {
|
|
796
|
-
signal?: pulumi.Input<enums.apps.v1.FlyStopConfigSignal | undefined>;
|
|
797
|
-
timeout?: pulumi.Input<string | undefined>;
|
|
798
|
-
}
|
|
799
885
|
interface FlyTCPHealthcheckArgs {
|
|
800
886
|
/**
|
|
801
887
|
* The port to connect to, often the same as internal_port
|
|
@@ -1593,7 +1679,7 @@ export declare namespace apps {
|
|
|
1593
1679
|
[key: string]: pulumi.Input<string>;
|
|
1594
1680
|
} | undefined>;
|
|
1595
1681
|
/**
|
|
1596
|
-
*
|
|
1682
|
+
* Kill the Machine first if it's not stopped, suspended, failed, pending or archived
|
|
1597
1683
|
*/
|
|
1598
1684
|
force?: pulumi.Input<boolean | undefined>;
|
|
1599
1685
|
}
|
|
@@ -3185,7 +3271,7 @@ export declare namespace tokens {
|
|
|
3185
3271
|
* - d: delete
|
|
3186
3272
|
* - C: control
|
|
3187
3273
|
*/
|
|
3188
|
-
action?: pulumi.Input<
|
|
3274
|
+
action?: pulumi.Input<enums.tokens.v1.MainTokenAccessAction | undefined>;
|
|
3189
3275
|
/**
|
|
3190
3276
|
* AppFeature is a named set of functionality associated with the app. If
|
|
3191
3277
|
* this is specified, the AppName field must be set.
|
|
@@ -3248,17 +3334,6 @@ export declare namespace tokens {
|
|
|
3248
3334
|
*/
|
|
3249
3335
|
volumeId?: pulumi.Input<string | undefined>;
|
|
3250
3336
|
}
|
|
3251
|
-
/**
|
|
3252
|
-
* Action is the action being taken on the specified resource. This is the
|
|
3253
|
-
* combination of individual action characters (e.g "rw")
|
|
3254
|
-
* - r: read
|
|
3255
|
-
* - w: write
|
|
3256
|
-
* - c: create
|
|
3257
|
-
* - d: delete
|
|
3258
|
-
* - C: control
|
|
3259
|
-
*/
|
|
3260
|
-
interface MainTokenAccessActionArgs {
|
|
3261
|
-
}
|
|
3262
3337
|
/**
|
|
3263
3338
|
* Query params for the API request.
|
|
3264
3339
|
*/
|