Skip to content

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

more infra updates -- create initial db

Dane Schneider7890893d50ea
diff --git a/infra/deploy.sh b/infra/deploy.sh
index 7ffb0de7..ce353e7a 100755
--- a/infra/deploy.sh
+++ b/infra/deploy.sh
@@ -166,17 +166,9 @@ update_ecs_service() {
log "New task definition registered: $NEW_TASK_DEF_ARN"
# Update the ECS service to use the new task definition revision
- SERVICE_NAME=$(aws ecs list-services --cluster "$CLUSTER_NAME" | jq -r --arg TAG "$STACK_TAG" '.serviceArns[] | select(contains("plandex-stack-" + $TAG)) | split("/")[1]')
aws ecs update-service --cluster "$CLUSTER_NAME" --service "$SERVICE_NAME" --task-definition "$NEW_TASK_DEF_ARN"
log "ECS service updated successfully with new task definition"
- log "TASK_DEF_ARN: $TASK_DEF_ARN"
-
- # Update the ECS service to use the new task definition
- log "Updating the ECS service with the new task definition..."
- aws ecs update-service --cluster "$CLUSTER_NAME" --service "$SERVICE_NAME" --task-definition $TASK_DEF_ARN
- log "ECS service updated successfully"
-
# Clean up the temporary file
rm $TMP_FILE
}
diff --git a/infra/src/main.ts b/infra/src/main.ts
index 4af77147..30dc9206 100644
--- a/infra/src/main.ts
+++ b/infra/src/main.ts
@@ -162,7 +162,7 @@ export class PlandexStack extends cdk.Stack {
},
securityGroups: [rdsSecurityGroup],
credentials: rds.Credentials.fromSecret(dbCredentialsSecret), // Use credentials from Secrets Manager
- databaseName: 'plandex',
+ databaseName: "plandex",
}
);