2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
title: "esc env init"
|
2023-10-09 07:17:56 +00:00
|
|
|
menu:
|
|
|
|
esc_cli:
|
|
|
|
parent: commands
|
2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>/]<environment-name> [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for init
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--env string The name of the environment to operate on.
|
|
|
|
```
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
* [esc env](/docs/esc-cli/commands/esc_env/) - Manage environments
|
2023-10-07 07:37:08 +00:00
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
###### Auto generated by spf13/cobra on 9-Oct-2023
|