2016-10-05 12:53:14 -07:00

46 lines
1.0 KiB
Markdown

<!--
title: Serverless Info CLI Command
menuText: Info
description: Display information about your deployed service
layout: Doc
-->
# Info
Displays information about the deployed service.
```bash
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.
## 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 Information
service: my-serverless-service
stage: dev
region: us-east-1
api keys:
myKey: some123valid456api789key1011for1213api1415gateway
endpoints:
GET - https://dxaynpuzd4.execute-api.us-east-1.amazonaws.com/dev/users
functions:
my-serverless-service-dev-hello: arn:aws:lambda:us-east-1:377024778620:function:my-serverless-service-dev-hello
```