Skip to main content
Version: v0.12

kusion workspace update

Update a workspace configuration

Synopsis

This command updates a workspace configuration with specified configuration file, where the file must be in the YAML format.

kusion workspace update

Examples

  # Update the current workspace
kusion workspace update -f dev.yaml

# Update a specified workspace and set as current
kusion workspace update dev -f dev.yaml --current

# Update a specified workspace in a specified backend
kusion workspace update prod -f prod.yaml --backend oss-prod

Options

      --backend string   the backend name
--current set the creating workspace as current
-f, --file string the path of workspace configuration file
-h, --help help for update

Options inherited from parent commands

      --profile string          Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")

SEE ALSO

  • kusion workspace - Workspace is a logical concept representing a target that stacks will be deployed to
Auto generated by spf13/cobra on 12-Jun-2024