@cloudwiry/serverless-aws-lambda-arch

1.0.0 • Public • Published

Cloudwiry and AWS Lambda in Graviton2

This is a Serveless Framework plugin that allow to use AWS Lambda functions powered by Graviton2.

Sponsored by: Cloudwiry

Usage:

  1. Install the plugin
npm i git@bitbucket.org:teamgenie/serverless-aws-lambda-arch.git
  1. Add the plugin to your project's serverless.yml and mark your functions using the architectures property like this sample.
service: arch-test

plugins:
  - serverless-aws-lambda-arch

provider:
  name: aws
  runtime: python3.9

package:
  patterns:
    - '!node_modules/**'

functions:
  dummyFn1:
    handler: handler
    description: "Test fn1"

  dummyFn2_RunningInARM64:
    handler: handler
    description: "Test fn2"
    architectures: arm64
  1. Have fun!
sls deploy

Quick test

cd test && npm i && sls deploy

Readme

Keywords

none

Package Sidebar

Install

npm i @cloudwiry/serverless-aws-lambda-arch

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

638 kB

Total Files

6

Last publish

Collaborators

  • jairov
  • jairo_cloudwiry