Skip to content

Commit eb37c80

Browse files
committed
Add auth token guard to start target
1 parent 6bdc5e7 commit eb37c80

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ curl-aws: ## Curl the AWS service load balancer
6363

6464
start: ## Start LocalStack
6565
@echo "Starting LocalStack..."
66+
@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)
6667
@LOCALSTACK_AUTH_TOKEN=$(LOCALSTACK_AUTH_TOKEN) localstack start -d
6768
@echo "LocalStack started successfully."
6869

0 commit comments

Comments
 (0)