@cloudyskysoftware/pulumi-fly-machines 0.0.13 → 0.0.15
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/index.d.ts +3 -3
- package/apps/v1/index.d.ts.map +1 -1
- package/apps/v1/index.js +5 -5
- package/apps/v1/index.js.map +1 -1
- 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 → secrets.d.ts} +16 -12
- package/apps/v1/secrets.d.ts.map +1 -0
- package/apps/v1/{secretsUpdate.js → secrets.js} +11 -11
- package/apps/v1/secrets.js.map +1 -0
- package/package.json +1 -1
- package/types/input.d.ts +171 -68
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +173 -70
- package/types/output.d.ts.map +1 -1
- package/apps/v1/secretsUpdate.d.ts.map +0 -1
- package/apps/v1/secretsUpdate.js.map +0 -1
|
@@ -1,43 +1,47 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../../types/input";
|
|
3
3
|
import * as outputs from "../../types/output";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class Secrets extends pulumi.CustomResource {
|
|
5
5
|
/**
|
|
6
|
-
* Get an existing
|
|
6
|
+
* Get an existing Secrets resource's state with the given name, ID, and optional extra
|
|
7
7
|
* properties used to qualify the lookup.
|
|
8
8
|
*
|
|
9
9
|
* @param name The _unique_ name of the resulting resource.
|
|
10
10
|
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
11
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
12
|
*/
|
|
13
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions):
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Secrets;
|
|
14
14
|
/**
|
|
15
|
-
* Returns true if the given object is an instance of
|
|
15
|
+
* Returns true if the given object is an instance of Secrets. This is designed to work even
|
|
16
16
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
17
|
*/
|
|
18
|
-
static isInstance(obj: any): obj is
|
|
18
|
+
static isInstance(obj: any): obj is Secrets;
|
|
19
19
|
/**
|
|
20
20
|
* Query params to send with the API requests for this resource.
|
|
21
21
|
*/
|
|
22
|
-
readonly queryParams: pulumi.Output<outputs.apps.v1.
|
|
22
|
+
readonly queryParams: pulumi.Output<outputs.apps.v1.SecretsQueryParams | undefined>;
|
|
23
23
|
readonly secrets: pulumi.Output<outputs.apps.v1.AppSecret[] | undefined>;
|
|
24
24
|
readonly values: pulumi.Output<{
|
|
25
25
|
[key: string]: string;
|
|
26
26
|
} | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The app's secrets version after this change. Pass it as `min_secrets_version` when creating or
|
|
29
|
+
* updating Machines so that they are guaranteed to see the change.
|
|
30
|
+
*/
|
|
27
31
|
readonly version: pulumi.Output<number | undefined>;
|
|
28
32
|
/**
|
|
29
|
-
* Create a
|
|
33
|
+
* Create a Secrets resource with the given unique name, arguments, and options.
|
|
30
34
|
*
|
|
31
35
|
* @param name The _unique_ name of the resource.
|
|
32
36
|
* @param args The arguments to use to populate this resource's properties.
|
|
33
37
|
* @param opts A bag of options that control this resource's behavior.
|
|
34
38
|
*/
|
|
35
|
-
constructor(name: string, args?:
|
|
39
|
+
constructor(name: string, args?: SecretsArgs, opts?: pulumi.CustomResourceOptions);
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
|
-
* The set of arguments for constructing a
|
|
42
|
+
* The set of arguments for constructing a Secrets resource.
|
|
39
43
|
*/
|
|
40
|
-
export interface
|
|
44
|
+
export interface SecretsArgs {
|
|
41
45
|
/**
|
|
42
46
|
* Fly App Name
|
|
43
47
|
*/
|
|
@@ -45,9 +49,9 @@ export interface SecretsUpdateArgs {
|
|
|
45
49
|
/**
|
|
46
50
|
* Query params to send with the API requests for this resource.
|
|
47
51
|
*/
|
|
48
|
-
queryParams?: pulumi.Input<inputs.apps.v1.
|
|
52
|
+
queryParams?: pulumi.Input<inputs.apps.v1.SecretsQueryParamsArgs | undefined>;
|
|
49
53
|
values?: pulumi.Input<{
|
|
50
54
|
[key: string]: pulumi.Input<string>;
|
|
51
55
|
} | undefined>;
|
|
52
56
|
}
|
|
53
|
-
//# sourceMappingURL=
|
|
57
|
+
//# sourceMappingUR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M,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAC5E"}
|
|
@@ -25,12 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.Secrets = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
class
|
|
31
|
+
class Secrets extends pulumi.CustomResource {
|
|
32
32
|
/**
|
|
33
|
-
* Get an existing
|
|
33
|
+
* Get an existing Secrets resource's state with the given name, ID, and optional extra
|
|
34
34
|
* properties used to qualify the lookup.
|
|
35
35
|
*
|
|
36
36
|
* @param name The _unique_ name of the resulting resource.
|
|
@@ -38,22 +38,22 @@ class SecretsUpdate extends pulumi.CustomResource {
|
|
|
38
38
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
39
|
*/
|
|
40
40
|
static get(name, id, opts) {
|
|
41
|
-
return new
|
|
41
|
+
return new Secrets(name, undefined, { ...opts, id: id });
|
|
42
42
|
}
|
|
43
43
|
/** @internal */
|
|
44
|
-
static __pulumiType = 'fly-machines:apps/v1:
|
|
44
|
+
static __pulumiType = 'fly-machines:apps/v1:Secrets';
|
|
45
45
|
/**
|
|
46
|
-
* Returns true if the given object is an instance of
|
|
46
|
+
* Returns true if the given object is an instance of Secrets. This is designed to work even
|
|
47
47
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
48
|
*/
|
|
49
49
|
static isInstance(obj) {
|
|
50
50
|
if (obj === undefined || obj === null) {
|
|
51
51
|
return false;
|
|
52
52
|
}
|
|
53
|
-
return obj['__pulumiType'] ===
|
|
53
|
+
return obj['__pulumiType'] === Secrets.__pulumiType;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Create a
|
|
56
|
+
* Create a Secrets resource with the given unique name, arguments, and options.
|
|
57
57
|
*
|
|
58
58
|
* @param name The _unique_ name of the resource.
|
|
59
59
|
* @param args The arguments to use to populate this resource's properties.
|
|
@@ -76,8 +76,8 @@ class SecretsUpdate extends pulumi.CustomResource {
|
|
|
76
76
|
resourceInputs["version"] = undefined /*out*/;
|
|
77
77
|
}
|
|
78
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
-
super(
|
|
79
|
+
super(Secrets.__pulumiType, name, resourceInputs, opts);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
exports.
|
|
83
|
-
//# sourceMappingURL=
|
|
82
|
+
exports.Secrets = Secrets;
|
|
83
|
+
//# sourceMappingURL=secrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../../apps/v1/secrets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,2DAA6C;AAE7C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8B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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
|
/**
|
|
@@ -389,15 +440,6 @@ export declare namespace apps {
|
|
|
389
440
|
*/
|
|
390
441
|
unhealthy?: pulumi.Input<enums.apps.v1.FlyContainerHealthcheckUnhealthy | undefined>;
|
|
391
442
|
}
|
|
392
|
-
interface FlyDNSConfigArgs {
|
|
393
|
-
dnsForwardRules?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsForwardRuleArgs>[] | undefined>;
|
|
394
|
-
hostname?: pulumi.Input<string | undefined>;
|
|
395
|
-
hostnameFqdn?: pulumi.Input<string | undefined>;
|
|
396
|
-
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
397
|
-
options?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsOptionArgs>[] | undefined>;
|
|
398
|
-
searches?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
399
|
-
skipRegistration?: pulumi.Input<boolean | undefined>;
|
|
400
|
-
}
|
|
401
443
|
interface FlyDnsForwardRuleArgs {
|
|
402
444
|
addr?: pulumi.Input<string | undefined>;
|
|
403
445
|
basename?: pulumi.Input<string | undefined>;
|
|
@@ -496,7 +538,10 @@ export declare namespace apps {
|
|
|
496
538
|
} | undefined>;
|
|
497
539
|
pristine?: pulumi.Input<boolean | undefined>;
|
|
498
540
|
}
|
|
499
|
-
|
|
541
|
+
/**
|
|
542
|
+
* A cache drive attached to the Machine
|
|
543
|
+
*/
|
|
544
|
+
interface FlyMachineConfigCacheDriveArgs {
|
|
500
545
|
sizeMb?: pulumi.Input<number | undefined>;
|
|
501
546
|
}
|
|
502
547
|
/**
|
|
@@ -549,6 +594,93 @@ export declare namespace apps {
|
|
|
549
594
|
*/
|
|
550
595
|
type?: pulumi.Input<string | undefined>;
|
|
551
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
|
+
}
|
|
552
684
|
interface FlyMachineGuestArgs {
|
|
553
685
|
cpuKind?: pulumi.Input<string | undefined>;
|
|
554
686
|
cpus?: pulumi.Input<number | undefined>;
|
|
@@ -577,19 +709,6 @@ export declare namespace apps {
|
|
|
577
709
|
*/
|
|
578
710
|
values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
579
711
|
}
|
|
580
|
-
interface FlyMachineInitArgs {
|
|
581
|
-
cmd?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
582
|
-
entrypoint?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
583
|
-
exec?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
584
|
-
kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
585
|
-
swapSizeMb?: pulumi.Input<number | undefined>;
|
|
586
|
-
tty?: pulumi.Input<boolean | undefined>;
|
|
587
|
-
}
|
|
588
|
-
interface FlyMachineMetricsArgs {
|
|
589
|
-
https?: pulumi.Input<boolean | undefined>;
|
|
590
|
-
path?: pulumi.Input<string | undefined>;
|
|
591
|
-
port?: pulumi.Input<number | undefined>;
|
|
592
|
-
}
|
|
593
712
|
interface FlyMachineMountArgs {
|
|
594
713
|
addSizeGb?: pulumi.Input<number | undefined>;
|
|
595
714
|
/**
|
|
@@ -643,25 +762,6 @@ export declare namespace apps {
|
|
|
643
762
|
secrets?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineSecretArgs>[] | undefined>;
|
|
644
763
|
user?: pulumi.Input<string | undefined>;
|
|
645
764
|
}
|
|
646
|
-
/**
|
|
647
|
-
* 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/.
|
|
648
|
-
*/
|
|
649
|
-
interface FlyMachineRestartArgs {
|
|
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
|
-
interface FlyMachineRootfsArgs {
|
|
662
|
-
persist?: pulumi.Input<enums.apps.v1.FlyMachineRootfsPersist | undefined>;
|
|
663
|
-
sizeGb?: pulumi.Input<number | undefined>;
|
|
664
|
-
}
|
|
665
765
|
/**
|
|
666
766
|
* A Secret needing to be set in the environment of the Machine. env_var is required
|
|
667
767
|
*/
|
|
@@ -746,12 +846,6 @@ export declare namespace apps {
|
|
|
746
846
|
softLimit?: pulumi.Input<number | undefined>;
|
|
747
847
|
type?: pulumi.Input<string | undefined>;
|
|
748
848
|
}
|
|
749
|
-
interface FlyMachineSpotArgs {
|
|
750
|
-
/**
|
|
751
|
-
* MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]
|
|
752
|
-
*/
|
|
753
|
-
maxPriceFraction?: pulumi.Input<number | undefined>;
|
|
754
|
-
}
|
|
755
849
|
interface FlyProxyProtoOptionsArgs {
|
|
756
850
|
flySrc?: pulumi.Input<boolean | undefined>;
|
|
757
851
|
version?: pulumi.Input<string | undefined>;
|
|
@@ -770,15 +864,24 @@ export declare namespace apps {
|
|
|
770
864
|
type?: pulumi.Input<enums.apps.v1.FlyReplayCacheType | undefined>;
|
|
771
865
|
}
|
|
772
866
|
interface FlyStaticArgs {
|
|
867
|
+
/**
|
|
868
|
+
* The path inside the Machine, or inside tigris_bucket when set, where the files to serve are located
|
|
869
|
+
*/
|
|
773
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
|
+
*/
|
|
774
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
|
+
*/
|
|
775
879
|
tigrisBucket?: pulumi.Input<string | undefined>;
|
|
880
|
+
/**
|
|
881
|
+
* The URL prefix under which the files are served
|
|
882
|
+
*/
|
|
776
883
|
urlPrefix: pulumi.Input<string>;
|
|
777
884
|
}
|
|
778
|
-
interface FlyStopConfigArgs {
|
|
779
|
-
signal?: pulumi.Input<enums.apps.v1.FlyStopConfigSignal | undefined>;
|
|
780
|
-
timeout?: pulumi.Input<string | undefined>;
|
|
781
|
-
}
|
|
782
885
|
interface FlyTCPHealthcheckArgs {
|
|
783
886
|
/**
|
|
784
887
|
* The port to connect to, often the same as internal_port
|
|
@@ -1576,7 +1679,7 @@ export declare namespace apps {
|
|
|
1576
1679
|
[key: string]: pulumi.Input<string>;
|
|
1577
1680
|
} | undefined>;
|
|
1578
1681
|
/**
|
|
1579
|
-
*
|
|
1682
|
+
* Kill the Machine first if it's not stopped, suspended, failed, pending or archived
|
|
1580
1683
|
*/
|
|
1581
1684
|
force?: pulumi.Input<boolean | undefined>;
|
|
1582
1685
|
}
|
|
@@ -2220,7 +2323,7 @@ export declare namespace apps {
|
|
|
2220
2323
|
/**
|
|
2221
2324
|
* Query params for the API request.
|
|
2222
2325
|
*/
|
|
2223
|
-
interface
|
|
2326
|
+
interface SecretsCreateQueryParamsArgs {
|
|
2224
2327
|
/**
|
|
2225
2328
|
* Additional query params to send with the request that are not defined in the API spec.
|
|
2226
2329
|
*/
|
|
@@ -2231,11 +2334,11 @@ export declare namespace apps {
|
|
|
2231
2334
|
/**
|
|
2232
2335
|
* Query params for each of the operations of the resource.
|
|
2233
2336
|
*/
|
|
2234
|
-
interface
|
|
2337
|
+
interface SecretsQueryParamsArgs {
|
|
2235
2338
|
/**
|
|
2236
2339
|
* Query params for the create operation.
|
|
2237
2340
|
*/
|
|
2238
|
-
create?: pulumi.Input<inputs.apps.v1.
|
|
2341
|
+
create?: pulumi.Input<inputs.apps.v1.SecretsCreateQueryParamsArgs | undefined>;
|
|
2239
2342
|
}
|
|
2240
2343
|
/**
|
|
2241
2344
|
* Query params for the API request.
|