mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
Display general information on service, functions and endpoints. Add tests. partial fix for #1468 - display endpoints fix 1468 - display endpoints Display general information on service, functions and endpoints. Add tests.
Info
serverless info
Displays information about the service.
Options
--stageor-sThe stage in your service you want to display information about.--regionor-rThe region in your stage that you want to display information about.
Provided lifecycle events
info:info
Examples
$ serverless info
service: my-service
stage: dev
region: us-east-1
accountId: 12345678
endpoints:
GET - https://..../dev/hello
functions:
my-service-dev-hello: arn:aws:lambda:us-east-1:12345678:function:my-service-dev-hello