skymill / cumulus

Cumulus is a deployment suite used to deploy and manage environments built with AWS CloudFormation
http://cumulus-ds.readthedocs.org/
Apache License 2.0
12 stars 5 forks source link

Conflicting stack names when running multiple projects in one AWS account #104

Closed sebdah closed 10 years ago

sebdah commented 10 years ago

If you have a setup where many projects reside within the same AWS account, you will need something more to distinguish the various environment. For example you might have ProjectA and ProjectB. Both of those projects want to have an environment called stage and one called prod. Those environments all have a stack called webserver.

There will be a collision in the stack name, as we will currently set it to webserver. I would like us to set it to ProjectA-stage-webserver.

sebdah commented 10 years ago

An alternative approach would be to skip the project annotation and instead only include the environment and the stack in the stack name (environment-stack). In the above case each project would have to name their environment to e.g. ProjectA-prod. That would in turn guarantee a unique stack name.