Skip to content

Commit 70be0ab

Browse files
authored
Add LocalStack for AWS license requirement (#53)
* Add LocalStack for AWS license requirement to prerequisites * Hyperlink LOCALSTACK_AUTH_TOKEN and clean up localstack CLI prerequisite * Add auth token guard to start target
1 parent 1bf3c70 commit 70be0ab

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ test:
5656
## Start LocalStack
5757
start:
5858
@echo "Starting LocalStack..."
59+
@test -n "${LOCALSTACK_AUTH_TOKEN}" || (echo "LOCALSTACK_AUTH_TOKEN is not set. Find your token at https://app.localstack.cloud/workspace/auth-token"; exit 1)
5960
@LOCALSTACK_AUTH_TOKEN=$(LOCALSTACK_AUTH_TOKEN) localstack start -d
6061
@echo "LocalStack started successfully."
6162

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ The following diagram shows the architecture that this sample application builds
3333

3434
## Prerequisites
3535

36-
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with a [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/).
36+
- A valid [LocalStack for AWS license](https://localstack.cloud/pricing). Your license provides a [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/) to activate LocalStack.
37+
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli).
3738
- [AWS CLI](https://docs.localstack.cloud/user-guide/integrations/aws-cli/) with the [`awslocal` wrapper](https://docs.localstack.cloud/user-guide/integrations/aws-cli/#localstack-aws-cli-awslocal).
3839
- [Python 3.11](https://www.python.org/downloads/) (same version as the Lambda runtime)
3940
- [`make`](https://www.gnu.org/software/make/) (**optional**, but recommended for running the sample application)

0 commit comments

Comments
 (0)