99x / serverless-dynamodb-client

Serverless Dynamodb Client to automatically switch between AWS and Local instances
MIT License
74 stars 19 forks source link

Added check for IS_LOCAL #9

Open mystix opened 6 years ago

mystix commented 6 years ago

process.env.IS_LOCAL is true when functions are executed via sls invoke local

mystix commented 6 years ago

This will resolve both #1 and #6.

NOTE: IS_LOCAL environment variable was added in https://github.com/serverless/serverless/pull/3642.

mystix commented 11 months ago

Better (5 years) late than never? 😅

Separately: I don't even remember putting in this pull request 😆

iaforek commented 11 months ago

I don't even remember putting in this pull request

Same with me https://github.com/99x/serverless-dynamodb-client/pull/6 😄

This plugin must have died or was abandoned by the author a few years ago.