functions with dot in name
See original GitHub issueHi there,
you must handle dots in function names. AWS does not allow them.
How to reproduce
serverless create --template aws-java-maven --path my-lambda-sls cd my-lambda-sls/ sed -i ‘s/hello:/hello.test:/’ serverless.yml mvn clean package serverless deploy -v
ends in
Serverless: Packaging service… Serverless: Uploading CloudFormation file to S3… Serverless: Uploading artifacts… Serverless: Updating Stack…
Serverless Error ---------------------------------------
Template format error: Resource name Hello.testLogGroup is non alphanumeric.
Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Forums: forum.serverless.com Chat: gitter.im/serverless/serverless
Your Environment Information ----------------------------- OS: linux Node Version: 6.9.1 Serverless Version: 1.13.2`
Best regards
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:12 (9 by maintainers)
@07Gond Yes, this is still an issue. Would be great if you can take care of it 👍
@pmuens I think this can be solved by changing the name normalization functions in
naming
. They should just normalize dots away to create compliant logical ids. BTW: This should be implicitly non-breaking as functions with dots do currently not work anyway 😉