Compile, plan, apply¶
Compile writes a generated Go program. With --build, it also builds the factory executable.
From the factory source directory:
The output directory contains an executable named after the factory directory:
Generate a starter stack file from the factory input schema:
Edit dev.ub and fill in the inputs:
stack: {
factory: {
inputs: {
message: 'Hello from unobin'
path: '/tmp/unobin-greeting.txt'
}
}
state: local {
path: '.unobin/state'
}
encryption: noop {}
}
Plan writes an encrypted plan file. Apply consumes that plan file:
Use --ui to watch apply in a browser:
Apply consumes a plan file so the command runs exactly what was reviewed. If source, inputs, state backend, or encryption settings change, compute a new plan.