Hello.
I am working with serverless for some time and I can’t figure out if that the way it supposes to be…
So when I create a Lambda Function with several Http events in the AWS console for that Lambda I can see only one API Gateway trigger. What can I do to see all of them?
serverless.yml example
service: test-deploy
frameworkVersion: ">=1.50.0 <=2.7.0"
package:
individually: true
exclude:
- ".*/**"
- "aws-functions/*"
- "**"
provider:
name: aws
runtime: python3.8
region: us-east-1
functions:
test-deploy-func:
handler: aws-functions/test.lambda_handler
name: test-deploy
events:
- http:
path: /data/mediainfo
method: get
private: true
- http:
path: /data/mediainfo
method: delete
private: true
- http:
path: /data/mediainfo
method: post
private: true
- http:
path: /data/mediainfo
method: put
private: true
package:
individually: true
include:
- aws-functions/test.py
exclude:
- ".*/**"
role: !ImportValue jer-lambda-execution-role-arn