-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function names with dashes aren't supported #814
Comments
@NoxHarmonium maybe you're the right person for this? Apologies if you're no longer involved, it would be great if you can help me find who is 🙏 |
@Tim-W-James @robinMcA @haolinj maybe you're the right people for this? |
Hi @lyuboraykov, I'm not involved much anymore, but since you were nice enough to provide a potential fix for the the issue I'll see if I can help you out 😄 My thoughts on #813:
To deal with the breaking change we could either:
I think we need to have to go with option two to avoid having a situation where people avoid upgrading to the next major version because the breaking changes are too hard to resolve in their stack and then we would have to support people on two different major versions. Also, people are generally bad at reading changelogs before upgrading and we might get a heap of people raising issues about it. It is annoying to have even more config options to deal with though. Maybe we could make it optional for now and make it default in a future version. What do you think @lyuboraykov? Are you happy to put it behind a config option and write a quick test for it? You could use https://github.com/agiledigital/serverless-sns-sqs-lambda/pull/552/files as a template (it isn't as bad as it looks, a lot of it is snapshot updates!). |
When using it on a function with dashes in its name, I'm getting a Cloudformation error on deploy:
The function configuration is:
I think #813 fixes it, but figured it's best to open an issue too
The text was updated successfully, but these errors were encountered: