Skip to main content
Apply a forma to create or update infrastructure. apply reads a forma file, sends it to the agent, and reconciles or patches your resources depending on the apply mode.
The --mode flag is required, and a forma file argument is required.

Examples

For human output, apply always simulates first and shows the planned changes before asking you to confirm. Use --yes to skip the confirmation, or --simulate to stop after the dry run.

Flags

Property flags

Properties declared in your forma become flags on apply, so you can set them per run without editing the file. apply, destroy, and eval all support the properties declared by the forma they target. Run formae apply --help against a specific forma to see the property flags it exposes.