Skip to main content

Mass Bundle Build

mass bundle build​

Build schemas and generate IaC files from massdriver.yaml file

Synopsis​

Build a bundle

Validates massdriver.yaml, dereferences its schemas, and generates IaC input declarations (such as _massdriver_variables.tf) for every step.

Usage​

shell
mass bundle build [path] [flags]

An application that sets app.runtime: <runtime>@<constraint> is merged with the newest matching runtime and assembled in .massdriver/build/. The assembled massdriver.yaml pins app.runtime to the exact runtime version and keeps your constraint as app.runtime_constraint. Do not set app.runtime_constraint yourself. See Runtimes and Applications.

Flags​

  • --bundle-directory, -b: Path to a directory containing a massdriver.yaml file.

Examples​

shell
# Build the bundle in the current directory
mass bundle build

# Build a bundle in another directory
mass bundle build ./bundles/payments-api
mass bundle build [path] [flags]

Options​

  -b, --bundle-directory string   Path to a directory containing a massdriver.yaml file. (default ".")
-h, --help help for build

Options inherited from parent commands​

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSO​