CLI reference
Every verb except init, overview and schema takes -f FILE. --set KEY=VALUE overrides a value and can be repeated, for example --set topology.mode=queue.
| Verb | Purpose | Flags |
|---|---|---|
init | Answer questions, get a commented n8n.yaml | -o, --force, --offline, --plain, --from SAMPLE, --yes |
validate | Check the file against the schema and the rules, with no AWS call | -f, --set |
plan | Show the resolved deployment | -f, --set, --show-env, --format text|json, --cost |
deploy | Deploy with the CDK CLI | -f, --set, --dry-run, --show-env, -o, --yes |
diff | Compare with the deployed stacks | -f, --set |
destroy | Delete the stacks, data is retained | -f, --set, --yes |
cleanup | Delete what outlives destroy | -f, --set, --yes, --purge |
overview | One dashboard across the deployments of a region | --region, --deploy, --delete, --format |
schema | Print the JSON Schema of the file | -o |
Point your editor at schema/n8n-on-aws.v1.json for completion.
Finding codes
Every finding of validate, plan and deploy has a stable code.
| Code | Kind | Example |
|---|---|---|
S | Schema | A key that belongs to another kind |
T | Topology and AWS | T14: n8n.version is a moving tag such as stable |
L | n8n licence | Multi-main needs the Enterprise edition |
F | FinOps | F4: no budget alert is set |
C | Synthesis | A feature that is declared but not yet synthesized |
A finding is an error, a warning or an info. Errors stop deploy.
The design of the verbs is in CLI and assistant mode.