serverless-localstack
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "serverless-localstack", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Connect Serverless to LocalStack!", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -153,2 +153,3 @@ [![Build Status](https://travis-ci.org/localstack/serverless-localstack.svg?branch=master)](https://travis-ci.org/localstack/serverless-localstack) | ||
a remote Docker daemon (default `false`) - see [LocalStack repo](https://github.com/localstack/localstack) | ||
* `BUCKET_MARKER_LOCAL`: Magic S3 bucket name for Lambda mount and [Hot Reloading](https://docs.localstack.cloud/user-guide/tools/lambda-tools/hot-reloading/). | ||
@@ -209,2 +210,3 @@ ### Only enable serverless-localstack for the listed stages | ||
* v1.0.6: Add `BUCKET_MARKER_LOCAL` configuration for customizing S3 bucket for lambda mount and [Hot Reloading](https://docs.localstack.cloud/user-guide/tools/lambda-tools/hot-reloading/). | ||
* v1.0.5: Fix S3 Bucket LocationConstraint issue when the provider region is `us-east-1` | ||
@@ -211,0 +213,0 @@ * v1.0.4: Fix IPv4 fallback check to prevent IPv6 connection issue with `localhost` on macOS |
@@ -199,3 +199,4 @@ 'use strict'; | ||
if (res.Type === 'AWS::Lambda::Function') { | ||
res.Properties.Code.S3Bucket = '__local__'; | ||
// TODO: change the default BUCKET_MARKER_LOCAL to 'hot-reload' | ||
res.Properties.Code.S3Bucket = process.env.BUCKET_MARKER_LOCAL || '__local__'; // for now, the default is still __local__ | ||
res.Properties.Code.S3Key = process.cwd(); | ||
@@ -202,0 +203,0 @@ const mountCode = this.config.lambda.mountCode; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247
54906
14
1043
15
4