Build a Flux app specification from a simple description
flux_build_specBuild a complete v8 Flux app specification from images, ports, resources, and term. Auto-picks public ports, enables data replication, and returns local validation errors and warnings.
Instructions
Turns images, ports, resources and a term into a complete, correctly formatted v8 specification, with public ports auto-picked and data replication enabled. Returns the spec plus local validation errors and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique app name: letters, digits, inner hyphens. Not starting with "flux" or "zel". | |
| nodes | No | ||
| months | No | Term in network months (88000 blocks each). Default 1. | |
| contacts | No | ||
| staticip | No | ||
| instances | No | Copies on distinct nodes. Default 3. | |
| components | Yes | ||
| description | No | ||
| geolocation | No | ||
| expireBlocks | No | Exact term in blocks; overrides months. |