cloudtools / stacker

An AWS CloudFormation Stack orchestrator/manager.
http://stacker.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
709 stars 167 forks source link

[feature request] save cfn template before "stacker build" #633

Closed ozbillwang closed 6 years ago

ozbillwang commented 6 years ago

Can I ask a feature, that when run stacker build, it will always save the cfn template locally for future reference.

and if with option --dry-run, it will only generate cfn template.

Or can you suggest me, if anyway I can get the CFN template, without deploy the real rds instance?

ozbillwang commented 6 years ago

got some answers from slack channel.

danielkza [2:46 PM] @Bill The --dump option might be what you're looking for, but it doesn't work for complex interconnected stacks, because there is no way to know the values of the outputs without actually creating the stacks

If you want to check something for correctness before applying changes, you can use the --interactive option and look at what Stacker prints, or go to the AWS console and inspect the ChangeSet that is created.