After integrating Api getaway and lambda on Amazon console I see error lile "Could not list api-gateway event sources."
Problem
Serverless Framework Version: beta 1.0 Operating System: windows Additional Details: After integrating Api getaway and lambda on Amazon console(Lambda tab) I see error lile "Could not list api-gateway event sources." My yaml file: Functions: lambdaFunction: handler: com.myHandler.DataExtractorLambda events: - schedule: cron(0/1 \ \ \ ? ) - http: path: publicGetaway/getResources method: get Note: Schedule trigger is available for editing and works fine.
Error Output
error lile "Could not list api-gateway event sources."
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: After integrating Api getaway and lambda on Amazon console I see error lile "Could not list api-gateway event sources."
@olegZastavnyi thanks for reporting! Could you provide the indentation of your `serverless.yml` file as wrong indentation might lead to the fact that events are not parsed how they should be?
Trust Score
1 verification
- 1
@olegZastavnyi thanks for reporting!
@olegZastavnyi thanks for reporting!
- 2
Could you provide the indentation of your `serverless.yml` file as wrong indenta
Could you provide the indentation of your `serverless.yml` file as wrong indentation might lead to the fact that events are not parsed how they should be?
Validation
Resolved in serverless/serverless GitHub issue #1816. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep