aws / amazon-ecs-cli

The Amazon ECS CLI enables users to run their applications on ECS/Fargate using the Docker Compose file format, quickly provision resources, push/pull images in ECR, and monitor running applications on ECS/Fargate.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html
Other
1.77k stars 302 forks source link

Add dry-run that outputs Cloudformation template to ecs-cli up #780

Open aodhan-domhnaill opened 5 years ago

aodhan-domhnaill commented 5 years ago

It would be of great use to have the option to merely output the template from ecs-cli up rather than have to create the stack. I personally would like to have a code-pipeline in AWS merge my Cloudformation with that of ecs-cli to generate a single stack for everything. Then I can also using hashes to avoid unnecessary calls to ecs-cli down when stack changes aren't going to happen.

SoManyHs commented 5 years ago

Hi @aidan-plenert-macdonald, Thanks for opening the issue -- would you want to see this option as simply a flag on ecs-cli up?

Alternatively, you might be interested in the AWS CDK. The ECS construct library supports all the major features for spinning up and ECS cluster -- you can check out an example here.

Hope this helps!

aodhan-domhnaill commented 5 years ago

As an option to ecs-cli up would be great. The main thing I am after is something that reads docker-compose and effectively replicates that stack in AWS. I want parity between local dev stacks with docker-compose and cloud stacks on ECS.