intuit / simple_deploy

Maintenance Mode - Simple Deploy is an opinionated CLI tool for managing AWS Cloud Formation Stacks.
MIT License
64 stars 22 forks source link

Support nested stack #227

Closed wbingli closed 10 years ago

wbingli commented 10 years ago

Commands like 'instances' and 'execute' don't support nested stack.

bw-intuit commented 10 years ago

@wbinglee Can you describe your use case a bit more? If you could give a sanitized example of or overview of your cloud formation setup that would be very helpful.

wbingli commented 10 years ago

Thanks, Brett

In my case, most of my instances have the same user-data and cloud formation metadata configuration. And my application stack normally has multiple instances. So to avoid duplicating user-data and cloud formation in one huge template, I create one CF template which only launch and configure one instance. And other CF template uses this base template as AWS::CloudFormation::Stack.

So that means my app stack has multiple stack as its resources. And when I use simple_deploy 'instances' command to list all instances in this app stack, it actually cannot find any instances in this app stack.

It would be nice to support nested stack for commands like 'instances' and 'execute'.

bw-intuit commented 10 years ago

@wbinglee I have released a beta version 0.8.2.beta1 with this support. Once we tested it for a few days I will release 0.8.2.

Thanks for the contribution!