Skip to content

Commit bf8ba64

Browse files
committed
Add auth token guard to start target
1 parent b8307c9 commit bf8ba64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

0 commit comments

Comments
 (0)