Skip to content
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

add ability to use attached methods as a lambda handler #8

Closed
sullirobert opened this issue Feb 23, 2016 · 1 comment
Closed

add ability to use attached methods as a lambda handler #8

sullirobert opened this issue Feb 23, 2016 · 1 comment

Comments

@sullirobert
Copy link

I’m running into trouble with Registering lambda functions where the registered lambda function is a func attached to a struct. The issues seems be causing cloudFormation to reject the template due to the lambda function name.

here is my deploy log output,

INFO[0010] Registering Sparta function FunctionName=github.com/Scotts-Marketplace/smpb/marketplace/infrastructure/serverless.(_LambdaServer).HandleRequest-fm
...
ERRO[0017] ValidationError: Template format error: Resource name githubcom/ScottsMarketplace/smpb/marketplace/infrastructure/serverless(_LambdaServer)HandleRequestfmLambda443fd5f4645d1e4b1a7bb60f0ae87f3398dabac1 is non alphanumeric.

as you can see, "(*LambdaServer)” is getting added automatically, and contains the bad chars

mweagle added a commit that referenced this issue Feb 24, 2016
@mweagle
Copy link
Owner

mweagle commented Feb 24, 2016

@sullirobert - Thanks for the report. Addressed with 0.5.1 - please reopen if you encounter issues.

@mweagle mweagle closed this as completed Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants