Skip to content

Commit 6332a48

Browse files
whummerclaude
andcommitted
Make LAMBDA_DOCKER_FLAGS default; set it in devcontainer env
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2181cdd commit 6332a48

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
]
2121
}
2222
},
23+
"remoteEnv": {
24+
"LAMBDA_DOCKER_FLAGS": "-p 19891:19891"
25+
},
2326
"postStartCommand": "bash ./00-setup/setup.sh"
2427
}

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ help: ## Show this help
1010
# ── LocalStack ────────────────────────────────────────────────────────────────
1111

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

1517
debug-start: ## Start LocalStack with Lambda debug mode enabled (port 19891)
1618
LOCALSTACK_APPINSPECTOR_ENABLE=1 LOCALSTACK_APPINSPECTOR_DEV_ENABLE=1 \

0 commit comments

Comments
 (0)