Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

 πŸ€– Plandex  πŸ“ Corrected CDK deployment using STACK_TAG ✏️ Edits: β€’ infra/deploy.sh βœ… Correct the CDK deploy command to include the STACK_TAG properly

Dane Schneider0f223699cb25
diff --git a/infra/deploy.sh b/infra/deploy.sh
index 676d1c0d..9633e914 100755
--- a/infra/deploy.sh
+++ b/infra/deploy.sh
@@ -65,7 +65,7 @@ deploy_or_update_stack() {
if [ -z "$STACK_NAME" ]; then
# Deploy the stack if it does not exist
- npx cdk deploy "plandex-stack-*" --require-approval never --app "npx ts-node infra/src/main.ts" --context stackTag=$STACK_TAG
+ npx cdk deploy --require-approval never --app "npx ts-node infra/src/main.ts" --context stackTag=$STACK_TAG "plandex-stack-$STACK_TAG"
else
# Update the stack if it exists
npx cdk deploy "$STACK_NAME" --require-approval never --app "npx ts-node infra/src/main.ts"