The command syntax to configure an ECS CLI profile is as follows:
ecs-cli configure profile --profile-name profile_name --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY
The different command parameters in the ecs-cli configure profile command are discussed in this table:
Command parameter |
Description |
Value to set |
--profile |
Name of an existing ECS cluster or a new cluster to create |
hello-world |
--access-key |
AWS access key ID |
Value would be different for different users |
--secret-key |
Secret access key |
Value would be different for different users |
- Create an ECS CLI profile, hello-world, in which the variables need to be substituted with the AWS Access Key ID and ...