sapessi / serverless-sam

Serverless framework plugin to export AWS SAM templates for a service
Apache License 2.0
152 stars 26 forks source link

Also replace dashes in front of uppercase chars #4

Closed TheDeveloper closed 7 years ago

TheDeveloper commented 7 years ago

sam local currently fails if dashes are present in the resource name.

This change makes it so that dashes in front of uppercase chars are also removed.

For example, a function name called Serverless-function-Name will now be renamed to ServerlessFunctionName in the resulting sam template.