1. Docs
  2. Pulumi ESC
  3. ESC CLI
  4. Commands
  5. esc env init

esc env init

    Create an empty environment with the given name.

    Synopsis

    Create an empty environment with the given name, ready for editing

    This command creates an empty environment with the given name. It has no definition, but afterwards it can be edited using the edit command.

    To create an environment in an organization when logged in to the Pulumi Cloud, prefix the stack name with the organization name and a slash (e.g. ‘acmecorp/dev’).

    esc env init [<org-name>/][<project-name>/]<environment-name> [flags]
    

    Options

      -f, --file -   the file to use to initialize the environment, if any. Pass - to read from standard input.
      -h, --help     help for init
    

    Options inherited from parent commands

          --env string   The name of the environment to operate on.
    

    SEE ALSO

    Auto generated by spf13/cobra on 13-Sep-2024
      PulumiUP 2024. Watch On Demand.