applya forma to provision or modify infrastructureextracta forma from existing resources, capturing their current state so you can reuse it elsewheredestroya forma to decommission the resources it declares
Example
This example uses
amends "@formae/forma.pkl". formae project init now generates extends "@formae/forma.pkl" instead, which additionally lets you declare typed CLI properties. Both forms are supported.A forma might not complete successfully: failures can occur between the agent and the target systems. Incomplete execution leaves infrastructure in a consistent state. If the failure is recoverable or caused by bad input, reapply the forma. The agent retries when it can.
See also
- Write your first forma: structure, properties, and resource references, hands-on
- Stack: how resources are grouped for lifecycle management
- Target: where a forma’s resources are applied

