Skip to main content

wf create appenv

wf create appenv

Creates an application environment in the workspace

Synopsis

Lets you create an application environment in an existing cluster

wf create appenv [flags]

Examples


# Create an application environment named dev belonging to myapp in cluster cl1
$ wf create appenv --app myapp --env dev --cluster cl1 --stage nonprod

Options

  -a, --app string       application this environment belongs to
-c, --cluster string the name of the cluster on which the application environment should be hosted
--dry-run shows the resource but does not apply or create (defaults: false)
-e, --env string name of the app environment to create
-h, --help help for appenv
-s, --stage string stage of this application environment, e.g. 'nonprod' or 'prod'
--var strings set variables for the application environment

Options inherited from parent commands

      --debug              Debug / trace logging (default: false)
--force Force operation to happen (default: false)
--no-wait Do not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table) (default "table")
--profile string Use a profile other than your current - to change current: wf use profile NAME
--show-headers Display headers on table out (default true)
--verbose Verbose logging (default: false)
-w, --workspace string Workspace to use - to change default: wf use workspace NAME

SEE ALSO