Skip to content

Commit 875e47b

Browse files
whummerclaude
andcommitted
Move LocalStack env vars into devcontainer remoteEnv
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6332a48 commit 875e47b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
}
2222
},
2323
"remoteEnv": {
24-
"LAMBDA_DOCKER_FLAGS": "-p 19891:19891"
24+
"LAMBDA_DOCKER_FLAGS": "-p 19891:19891",
25+
"LOCALSTACK_APPINSPECTOR_ENABLE": "1",
26+
"LOCALSTACK_APPINSPECTOR_DEV_ENABLE": "1"
2527
},
2628
"postStartCommand": "bash ./00-setup/setup.sh"
2729
}

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ help: ## Show this help
1111

1212
start: ## Start LocalStack in the background
1313
LOCALSTACK_APPINSPECTOR_ENABLE=1 LOCALSTACK_APPINSPECTOR_DEV_ENABLE=1 \
14-
LAMBDA_DOCKER_FLAGS='-p 19891:19891' \
15-
localstack start -d
14+
LAMBDA_DOCKER_FLAGS='-p 19891:19891' localstack start -d
1615

1716
debug-start: ## Start LocalStack with Lambda debug mode enabled (port 19891)
1817
LOCALSTACK_APPINSPECTOR_ENABLE=1 LOCALSTACK_APPINSPECTOR_DEV_ENABLE=1 \
1918
LAMBDA_DOCKER_FLAGS='-p 19891:19891' \
20-
LAMBDA_DEBUG_MODE_CONFIG_PATH=$(PWD)/.localstack/lambda_debug_mode.yaml \
21-
localstack start -d
19+
LAMBDA_DEBUG_MODE_CONFIG_PATH=$(PWD)/.localstack/lambda_debug_mode.yaml localstack start -d
2220

2321
hot-reload: ## Switch order-handler to hot-reload mode (edits take effect immediately)
2422
awslocal lambda update-function-code \

0 commit comments

Comments
 (0)