aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.
Apache License 2.0
785 stars 71 forks source link

Templated stack name #350

Open gtie opened 5 months ago

gtie commented 5 months ago

I often need to have a few flavors of a single template - like prod, dev, test. I'm passing the env as a stack parameter.

There are two pieces that don't quite fit in this scenario:

Am I missing some smarter way to do stack names + params based on environment? I was thinking that supporting (templated?) stack name in the rain configuration file might be a convenient way to hard-link stack names and sets of parameters.

ericzbeard commented 4 months ago

Are you proposing the addition of StackName to the nodes we parse in the config file? That would be very simple to implement, and I don't think it would break anything. I just merged a PR to make the file flexible enough to also act as the input to Git sync config, so we would need to make sure it doesn't break there.