Skip to content

create

omnistrate-ctl environment create

Create a Service Environment

Synopsis

This command helps you create a new environment for your service.

omnistrate-ctl environment create [service-name] [environment-name] [flags]

Examples

# Create environment
omctl environment create [service-name] [environment-name] --type=[type] --source=[source]

# Create environment by ID instead of name
omctl environment create [environment-name] --service-id=[service-id] --type=[type] --source=[source]

Options

      --description string   Environment description
  -h, --help                 help for create
      --service-id string    Service ID. Required if service name is not provided
      --source string        Source environment name
      --type string          Type of environment. Valid options include: 'dev', 'prod', 'qa', 'canary', 'staging', 'private'

Options inherited from parent commands

  -o, --output string   Output format (text|table|json) (default "table")
  -v, --version         Print the version number of omnistrate-ctl

SEE ALSO