Skip to the page

rykloud resources update

Change a resource's settings (previewed and priced)

Usage
rykloud resources update RESOURCE [flags]
Examples
rykloud resources update db --env production --set storage_gb=100
rykloud resources update web --env staging --image ghcr.io/acme/web:1.5.0
rykloud resources update app --env staging --secret STRIPE_KEY=@stripe.txt
rykloud resources update db --env staging --rotate

Flags

--auto-deploy
with --repo: build and deploy every push to the branch (default true)
--branch
with --repo: the branch to build
--connection
with --repo: the Git connection id (the console, Settings, Git)
--context-dir
with --repo: the build context's path
--dockerfile
with --repo: the Dockerfile's path
--generate
a secret Rykloud makes a random value for (repeat)
--hostname
a domain: the hostname, for example shop.example.com
--image
a service from an image: registry/name:tag or @digest
--repo
a service from Git: owner/name of a connected repository
--rotate
rotate its generated credentials; every consumer is updated
--secret
a secret value as NAME=value, NAME=@file or NAME=- (standard input); repeat
--service
a domain: the service it points at
--set
a setting as key=value (repeat; dots nest: backups.keep_days=14)
--spec-file
settings from a YAML or JSON file (- for standard input)
--wait
follow the environment until the change is live
-y, --yes
apply at the price shown without asking

Every command also takes the global flags.