You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
This plugin allows Serverless applications to be deployed and tested on your local machine. Any requests to AWS to be redirected to a running LocalStack instance.
8
8
9
9
Pre-requisites:
10
-
* LocalStack
10
+
* LocalStack Pro (requires `LOCALSTACK_AUTH_TOKEN` environment variable)
11
11
12
12
## Installation
13
13
@@ -56,6 +56,7 @@ custom:
56
56
# Enable this flag to run "docker ..." commands as sudo
57
57
sudo: False
58
58
compose_file: /home/localstack_compose.yml # optional to use docker compose instead of docker or localstack cli
59
+
image: localstack/localstack-pro # Docker image to use
59
60
stages:
60
61
local:
61
62
...
@@ -64,6 +65,7 @@ custom:
64
65
### Configuration via environment variables
65
66
66
67
The following environment variables can be configured (taking precedence over the values in `serverless.yml`):
68
+
*`LOCALSTACK_AUTH_TOKEN`: Your LocalStack auth token for LocalStack Pro. Obtain one from [LocalStack](https://app.localstack.cloud/).
67
69
*`AWS_ENDPOINT_URL`: LocalStack endpoint URL to connect to (default: `http://localhost:4566`). This is the recommended configuration, and replaces the deprecated config options (`EDGE_PORT`/`LOCALSTACK_HOSTNAME`/`USE_SSL`) below.
68
70
*`EDGE_PORT`: LocalStack edge port to connect to (deprecated; default: `4566`)
69
71
*`LOCALSTACK_HOSTNAME`: LocalStack host name to connect to (deprecated; default: `localhost`)
@@ -208,6 +210,7 @@ custom:
208
210
```
209
211
210
212
## Change Log
213
+
* v1.4.0: Use LocalStack Pro image (`localstack/localstack-pro`) by default. Addition of `image` config var to set a different image
211
214
* v1.3.1: prevent the mounting of code if the Lambda uses an ECR Image
212
215
* v1.3.0: add support for built-in Esbuild in Serverless Framework v4 #267
213
216
* v1.2.1: Fix custom-resource bucket compatibility with serverless >3.39.0, continue improving support for `AWS_ENDPOINT_URL`
0 commit comments