https://github.com/geoffdutton/serverless-loggroup-test
Example for serverless issue #2614
https://github.com/geoffdutton/serverless-loggroup-test
Last synced: 11 days ago
JSON representation
Example for serverless issue #2614
- Host: GitHub
- URL: https://github.com/geoffdutton/serverless-loggroup-test
- Owner: geoffdutton
- Created: 2017-01-29T23:55:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-29T23:58:44.000Z (over 9 years ago)
- Last Synced: 2025-01-20T11:12:59.595Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Serverless 1.5.1 Error
There error in question is discussed here: https://github.com/serverless/serverless/issues/2614
Using serverless 1.5.1:
```
npm install serverless@1.5.1 -g
```
Then:
```
sls deploy --verbose
```
Will throw an error that says:
```
Serverless Error ---------------------------------------
An error occurred while provisioning your stack: IamPolicyLambdaExecution
- Template error: LogGroup /aws/lambda/loggroup-test-dev-checkSomething
doesn't exist.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Your Environment Information -----------------------------
OS: darwin
Node Version: 4.5.0
Serverless Version: 1.5.1
```
If you comment out:
```$xslt
# ab:
# handler: handler.b
```
It works...
If change the function name:
```
b:
handler: handler.b
```
It works...