1.0.9 • Published 1 year ago

serverless-mlopsls v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

serverless-local-ecr

This is a simple Serverless Framework plugin to solve the following issue, which happens when using functions supported by ECR invoked locally:

Error:
Local invocation of lambdas pointing AWS ECR images is not supported

Important to note, this does not actually run a container locally. It simply runs functions the default serverless framework way when invoking them locally (with serverless invoke local)

Install

Run npm install in your Serverless project.

$ npm install --save-dev serverless-local-ecr

Add the plugin to your serverless.yml file

plugins:
  - serverless-local-ecr

Add both the handler path and the image. Instead of image, like it should be with vanilla serverless framework ECR, use remoteImage like so:

functions:
  myFunction:
    handler: ./path-to-my-function.handler
    remoteImage:
      name: myImage
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago