0.0.8 • Published 5 years ago

serverless-print-resolved-plugin v0.0.8

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
5 years ago

CircleCI npm version

serverless-print-resolved-plugin

This plugin generates a copy of serverless.yml with all Serverless variables resolved to actual values. It can also write additional metadata that is available.

Usage

Install the plugin:

npm install -D serverless-print-resolved-plugin

Register the plugin in serverless.yml:

plugins:
  - serverless-print-resolved-plugin

After package / deploy, .serverless/serverless-resolved.yml will contain a copy of serverless.yml but with all variables resolved.

To include more metadata from the serverless object, add the following to serverless.yml:

custom:
  print-resolved:
    # Paths are followed using `lodash.get()`
    paths:
      - serverless.pluginManager.hooks
      - serverless.variables.option

Note: objects / properties considered invalid by js-yaml are skipped.

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago