Skip to content
SHC Docs

shc lease renew

renew (or set) a deployment’s lease

Stamp the deployment’s lease to now+ttl using the DAEMON’s clock — the same re-apply-renews contract shc install --ttl / shc update --ttl and the terraform provider’s ttl attribute use. Refused against a protected environment (prod/production, or an operator-configured lease.protected_environments entry) unless —force is given.

shc lease renew <stack> [flags]
shc lease renew myblog -e prod --ttl 72h --force
--force allow renew against a protected environment (prod/production)
-h, --help help for renew
--ttl string lease duration (e.g. 72h)
--config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win
-d, --debug enable debug mode (default: $SHC_DEBUG)
-e, --environment string environment name
--exclude string comma-separated dotted paths to drop
--fields string comma-separated columns/keys to show (and their order)
--filter string comma-separated dotted paths to keep (drops everything else)
-o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT)
-s, --stack string stack name (default: $SHC_STACK)
-t, --tenant string tenant name
-v, --verbose verbose output (default: $SHC_VERBOSE)
  • shc lease - manage a deployment’s TTL lease