royaloperahouse / stack-manager

Tool to manage AWS CloudFormation stacks using Twig templates.
MIT License
12 stars 1 forks source link

Auto-generated stack names may not meet CloudFormation requirements #4

Open roberthl opened 9 years ago

roberthl commented 9 years ago

Stack names that are automatically generated by the StackConfigMapper may produce names that contain characters forbidden by the CloudFormation API (e.g. templates and environments may contain underscores, which are not permitted).

Auto-generated stack names should strip underscores, or ideally make strings that contain underscores "PascalCase" (e.g. "load_testing" becomes "LoadTesting").

roberthl commented 9 years ago

064505e addresses "PascalCasing" environment and template names that contain underscores, and removing characters that are not permitted in stack names; however it is still possible to create an environment that starts with a digit, which would result in an illegal stack name.