Skip to main content
Version: v0.13 ๐Ÿšง

kusion workspace create

Create a new workspace

Synopsisโ€‹

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

kusion workspace create

Examplesโ€‹

  # Create a workspace
kusion workspace create dev -f dev.yaml

# Create a workspace and set as current
kusion workspace create dev -f dev.yaml --current

# Create a workspace in a specified backend
kusion workspace create 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 create

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โ€‹