Skip to content

Commit 00a9fc8

Browse files
authored
Add LocalStack for Snowflake license requirement (#11)
* Add LocalStack for Snowflake license requirement to prerequisites * Hyperlink LOCALSTACK_AUTH_TOKEN in license prerequisite * Add auth token guard to start target
1 parent 1aff665 commit 00a9fc8

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ test: ## Run tests
109109

110110
start: ## Start LocalStack
111111
@echo "Starting LocalStack..."
112+
@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)
112113
DOCKER_FLAGS='-e SF_LOG=trace' \
113114
DEBUG=1 \
114115
IMAGE_NAME=localstack/snowflake:latest \

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ The application implements a modern data pipeline architecture showcasing a real
2424

2525
## Prerequisites
2626

27-
Features in this sample app require a LocalStack for Snowflake license - make sure your Auth Token is configured in your terminal session.
28-
29-
```bash
30-
export LOCALSTACK_AUTH_TOKEN=<your-token>
31-
```
32-
27+
- A valid [LocalStack for Snowflake license](https://localstack.cloud/pricing). Your license provides a [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/) to activate LocalStack.
3328
- [Docker](https://docs.docker.com/get-docker/)
3429
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli).
3530
- [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).

0 commit comments

Comments
 (0)