From 5a9b914a10294075cdee5867f8d6f5f3d39d3d56 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Thu, 5 Mar 2026 00:26:33 +0530 Subject: [PATCH 1/3] Add LocalStack for AWS license requirement to prerequisites --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7963454..8054baf 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ The following diagram shows the architecture that this sample application builds ## Prerequisites +- A valid [LocalStack for AWS license](https://localstack.cloud/pricing). Your license provides a `LOCALSTACK_AUTH_TOKEN` to activate LocalStack. - [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with a [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/). - [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). - [Python 3.11](https://www.python.org/downloads/) (same version as the Lambda runtime) From b8307c9bb182a669d7324d949e492d0e890fd8b9 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Thu, 5 Mar 2026 00:35:21 +0530 Subject: [PATCH 2/3] Hyperlink LOCALSTACK_AUTH_TOKEN and clean up localstack CLI prerequisite --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8054baf..c7088a2 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,8 @@ The following diagram shows the architecture that this sample application builds ## Prerequisites -- A valid [LocalStack for AWS license](https://localstack.cloud/pricing). Your license provides a `LOCALSTACK_AUTH_TOKEN` to activate LocalStack. -- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with a [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/). +- 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. +- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli). - [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). - [Python 3.11](https://www.python.org/downloads/) (same version as the Lambda runtime) - [`make`](https://www.gnu.org/software/make/) (**optional**, but recommended for running the sample application) From bf8ba6469d923239a135d9fd5487518d75c48b8d Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Fri, 6 Mar 2026 00:05:29 +0530 Subject: [PATCH 3/3] Add auth token guard to start target --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 73a8c2f..e5450e5 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,7 @@ test: ## Start LocalStack start: @echo "Starting LocalStack..." + @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) @LOCALSTACK_AUTH_TOKEN=$(LOCALSTACK_AUTH_TOKEN) localstack start -d @echo "LocalStack started successfully."