delonix plan
Mostra o que um apply mudaria, e não muda nada.
Show what an apply would change, and change nothing.
A grafia promovida de stack plan, pela mesma razão do
apply acima. --detailed-exitcode devolve 0/1/2 (sem
mudanças/erro/há diferenças) — o contrato do terraform plan, para um gate de deriva
em CI.
The promoted spelling of stack plan, for the same reason as
apply above. --detailed-exitcode returns 0/1/2 (no changes/error/there
are differences) — the same contract as terraform plan, for a drift gate in CI.
Saída real do binário (em inglês).
Real output of the binary (English).
Usage: delonix plan [OPTIONS]
Options:
-f, --file <FILE>
--name <NAME>
-o, --output <OUTPUT>
Output format: `table` (default) or `json` (ADR-0005)
[default: table]
[possible values: table, json]
--detailed-exitcode
0 = no changes, 2 = there are changes, 5 = a conflict the apply would refuse, 1 = error (`terraform plan`)
--prune
Plan what `apply --prune` would do; without it, what the manifest no longer declares is listed as kept
--fields
Print WHICH fields the plan compares, per Kind, and exit
-h, --help
Print help (see a summary with '-h')
EXAMPLES:
# what an apply would change
delonix plan -f delonix-manifest.yaml
# a drift gate for CI: 0 none, 2 changes, 5 a conflict the apply would
# refuse, 1 error
delonix plan -f delonix-manifest.yaml --detailed-exitcode
# the same gate for a pipeline that applies with --prune: removals count
delonix plan -f delonix-manifest.yaml --prune --detailed-exitcode
# which fields are compared, per Kind
delonix plan --fields
SEE ALSO:
delonix apply · delonix wait · delonix manifest validate
delonix › plan