stackery env clone
stackery env clone
Duplicate an environment
Synopsis
Create a new environment from an existing environment's parameters and secrets
stackery env clone [flags]
Examples
Clone the 'development' environment parameters and secrets into an environment named 'development2':
stackery env clone --source-env-name development --target-env-name development2 --aws-profile default --aws-region us-east-1 --aws-account-id 123456789012
The supplied AWS credentials or profile must allow reading secrets values from the source environment.
```asciidoc
### Options
```asciidoc
--access-key-id string AWS access key ID
--aws-account-id string The new environment AWS account ID
--aws-profile string AWS profile name
--aws-region string The new environment AWS region
-h, --help help for clone
--secret-access-key string AWS secret access key
--session-token string AWS session token
--source-env-name string The source environment name
--target-env-name string The new environment name
Options inherited from parent commands
--non-interactive Skip user inputs
SEE ALSO
- stackery env - Manage Stackery environments