Skip to content

Commit

Permalink
fixing public vs private
Browse files Browse the repository at this point in the history
  • Loading branch information
dubwub committed Jan 13, 2025
1 parent a19bf9a commit b7f9b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servers/fdr-deploy/getdocs-lambda/cdk/getLambdaStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class GetDocsLambda extends Construct {

// Create the Lambda function
this.lambdaFunction = new lambda.Function(this, "get-docs-lambda", {
runtime: lambda.Runtime.NODEJS_18_X,
runtime: lambda.Runtime.NODEJS_20_X,
handler: "index.handler",
code: lambda.Code.fromAsset(path.join(__dirname, "../dist")),
vpc: props.vpc,
Expand All @@ -49,7 +49,7 @@ export class GetDocsLambda extends Construct {
timeout: Duration.seconds(30),
memorySize: 256,
vpcSubnets: {
subnetType: SubnetType.PRIVATE_WITH_EGRESS,
subnetType: SubnetType.PUBLIC,
},
});

Expand Down

0 comments on commit b7f9b5f

Please sign in to comment.