-
Notifications
You must be signed in to change notification settings - Fork 431
env init command
Efe Karakus edited this page Mar 19, 2020
·
9 revisions
$ ecs-preview env init
ecs-preview env init
creates a new environment where your applications will live.
After you answer the questions, the CLI creates the common infrastructure that's shared between your applications such as a VPC, an Application Load Balancer, and ECS Cluster.
You create environments using a named profile to specify which AWS Account and Region you'd like the environment to be in.
Like all commands in the ECS CLI v2, if you don't provide required flags, we'll prompt you for all the information we need to get you going. You can skip the prompts by providing information via flags:
-h, --help help for init
-n, --name string Name of the environment.
--prod If the environment contains production services.
--profile string Name of the profile.