info
Displays information about the deployed service.
serverless info
Options
--stage
or-s
The stage in your service you want to display information about.--region
or-r
The region in your stage that you want to display information about.--verbose
Shows displays any Stack Output.
Provided lifecycle events
info:info
Examples
AWS
On AWS the info plugin uses the Outputs
section of the CloudFormation stack and the AWS SDK to gather the necessary information.
See the example below for an example output.
Example:
$ serverless info
Service Informationservice: my-serverless-servicestage: devregion: us-east-1api keys: myKey: some123valid456api789key1011for1213api1415gatewayendpoints: GET - https://dxaynpuzd4.execute-api.us-east-1.amazonaws.com/dev/usersfunctions: my-serverless-service-dev-hello
Verbose
When using the --verbose
flag, the info
command will also append all Stack Outputs to the output:
$ serverless info --verbose
Service Informationservice: my-serverless-servicestage: devregion: us-east-1api keys: myKey: some123valid456api789key1011for1213api1415gatewayendpoints: GET - https://dxaynpuzd4.execute-api.us-east-1.amazonaws.com/dev/usersfunctions: my-serverless-service-dev-hello
Stack OutputsCloudFrontUrl: d2d10e2tyk1pei.cloudfront.netScreenshotBucket: dev-svdgraaf-screenshotsServiceEndpoint: https://12341jc801.execute-api.us-east-1.amazonaws.com/devServerlessDeploymentBucketName: lambda-screenshots-dev-serverlessdeploymentbucket-15b7pkc04f98a