amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

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

Open aodhan-domhnaill opened this issue 6 years ago • 2 comments

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.

aodhan-domhnaill avatar May 25 '19 22:05 aodhan-domhnaill

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!

SoManyHs avatar May 28 '19 15:05 SoManyHs

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.

aodhan-domhnaill avatar May 28 '19 17:05 aodhan-domhnaill