Diff

up diff

Show what would change (dry-run apply)

Synopsis

Parse up.yaml and ask the control node what would change, then print the plan as a table. Nothing is created, updated, or deleted.

Use diff to review the impact of a change before you run up apply. It is read-only and safe to run anywhere.

up diff [flags]

Examples

  # Diff the default up.yaml
  up diff

  # Diff a specific file against the staging environment
  up diff -f prod.yaml --env staging

Options

  -e, --env string       target environment (default: production)
  -f, --file string      path to config file (default "up.yaml")
  -p, --project string   project name or ID (defaults to up.yaml)

Options inherited from parent commands

  -o, --output string   output format: table, json, yaml (list commands only) (default "table")
  -q, --quiet           suppress output
  -v, --verbose count   enable debug output (-v debug, -vv trace)