Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
more work on infra
Dane Schneider7c24a7bc2772
diff --git a/infra/.gitignore b/infra/.gitignoreindex 3cb1c7ff..d53dd0be 100644--- a/infra/.gitignore+++ b/infra/.gitignore@@ -1 +1,2 @@-cdk.out/\ No newline at end of file+cdk.out/+stack-tag.txt\ No newline at end of filediff --git a/infra/deploy.sh b/infra/deploy.shindex a3995cf8..6b2b66dc 100755--- a/infra/deploy.sh+++ b/infra/deploy.sh@@ -101,8 +101,8 @@ build_and_push_image() {# Build the Docker imagecd ../app-docker build -t plandex-server:$IMAGE_TAG -f Dockerfile.server .-cd -+ docker build -t plandex-server:$IMAGE_TAG -f Dockerfile.server .+ cd -# Tag the image for the ECR repositorydocker tag plandex-server:$IMAGE_TAG $ECR_REPOSITORY:$IMAGE_TAGdiff --git a/infra/src/main.ts b/infra/src/main.tsindex b49a0701..a3f73626 100644--- a/infra/src/main.ts+++ b/infra/src/main.ts@@ -218,13 +218,6 @@ export class PlandexStack extends cdk.Stack {internetFacing: true,});- // Create a listener for the ALB- const certificate = acm.Certificate.fromCertificateArn(- this,- "Certificate",- certificateArn- );-// Create an HTTP listener and add a redirect to HTTPSconst httpListener = alb.addListener("HttpListener", {port: 80,@@ -253,7 +246,12 @@ export class PlandexStack extends cdk.Stack {targets: [fargateService],});- alb.connections.allowFromAnyIpv4(ec2.Port.tcp(80), "Allow inbound HTTP traffic");+ // Allow inbound HTTP and HTTPS traffic to the ALB+ // HTTP will be redirected to HTTPS+ alb.connections.allowFromAnyIpv4(+ ec2.Port.tcp(80),+ "Allow inbound HTTP traffic"+ );alb.connections.allowFromAnyIpv4(ec2.Port.tcp(443),