Netflix/Priam — pull request #26 by aryanet (2012-05-27 22:42:05+00:00)
Title: Support for CloudFormation ASG Names and EC2 Security Group Configuration

The ASG naming scheme was using that part before last segment of the ASG name splited by '-'. CloudFormation does not allow '-' in ASG naming, however if you name your ASG's like 'useast1' and then use appId as your Stack name, it will create an ASG name like appId-useast1-{some_random_string} which is very close to what Priam wants except the last part. If we alway assume the first part of this before the first '-' is the appId, we are good. I have change the method to extract that appId that way.

It would be nice to be able to have security groups named different that your app. I made it configurable in SimpleDB.