Socket
Book a DemoInstallSign in
Socket

layer-integrations

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layer-integrations

Layer Integration Development Kit command line tool

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Layer Integrations CLI

npm version

This is a command line tool that is designed to be used with Layer Integration Development Kit (IDK). It is used to install and deploy Serverless integrations into your cloud provider environment.

Setup

Install command line tool using npm:

sudo npm install layer-integrations -g

List integrations

The best way to see what integrations are available for installation is using the --list option.

layer-integrations --list

This will print a list of integration names and their description.

Install integration

In order to install an integration you need to use install command followed by <integration-name>.

layer-integrations install email-fallback

This will download the latest version of specified integration and created a new folder with the same name as integration name.

Cloud Provider

By default Amazon AWS aws is used as a Cloud Provider but you can also specify Microsoft Azure azure.

layer-integrations install email-fallback --provider aws

Deploy integration

To deploy installed integration you need to run the following command from the integration root folder.

layer-integrations deploy

Monitoring

For production ready versions we recommend enabling PagerDuty or Sentry. You can also enable both.

PagerDuty

Enable PagerDuty by providing --pagerduty option.

layer-integrations deploy --pagerduty

This will prompt you to specify additional PagerDuty credentials, API key and Integration key.

Sentry

Enable Sentry by providing --sentry option.

layer-integrations deploy --sentry

This will prompt you to specify the Sentry DSN which you can get from your Sentry dashboard under Client Keys.

FAQs

Package last updated on 17 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.