JSPM

serverless-latest-layer-version

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10052
  • Score
    100M100P100Q141065F
  • License MIT

A serverless plugin that replaces 'latest' version tag to actual lambda layer version

Package Exports

  • serverless-latest-layer-version

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-latest-layer-version) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

serverless-latest-layer-version

This is the Serverless plugin for AWS Lambda Layers which enables missing "latest" version tag

demo

Install

First, install package as development dependency.

$ npm i serverless-latest-layer-version --save-dev

Then, add the plugin to serverless.yml

# serverless.yml

plugins:
  - serverless-latest-layer-version

Setup

Just change layer version to latest. The plugin automatically replaces latest version tag to actual latest version number.

For example, if Previously specified layer arn is arn:aws:lambda:us-east-1:800406105498:layer:nsolid-node-10:6. replace that as arn:aws:lambda:us-east-1:800406105498:layer:nsolid-node-10:latest. That's it!

License

MIT

See full license on mooyoul.mit-license.org