octopus resource diff
octopus resource diff
Preview changes before apply
Synopsis
Show what would change if apply were run, without executing anything.
Compares manifest resources against the registry and shows:
+ new (would be created)
~ changed (state hash differs — heuristic only)
= unchanged (already registered, hash matches)
Note: exact hash comparison requires server-side computation. Resources marked '=' may still be updated if the kernel recomputes a different hash.
octopus resource diff [flags]
Examples
octopus resource diff -f environment/ --tenant acme-bank
octopus resource diff -f tenant.yaml --tenant acme-bank
octopus resource diff -f environment/ -o json --tenant acme-bank
Options
-f, --file string Path to manifest file or directory (required)
-h, --help help for diff
Options inherited from parent commands
-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output
SEE ALSO
- octopus resource - Manage tracked resources