Skip to content

Commit

Permalink
adding links for staging & prod + both lambda under vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
melodylove-uniswap committed Nov 15, 2024
1 parent 22c3f31 commit e8bc29a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/stacks/routing-lambda-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import * as aws_route53_targets from 'aws-cdk-lib/aws-route53-targets'

const vpcEndpointServiceMap: Record<string, string> = {
dev: 'com.amazonaws.vpce.us-east-2.vpce-svc-0945550ad67320638',
staging: '',
prod: '',
staging: 'com.amazonaws.vpce.us-east-2.vpce-svc-00e58a4116063039d',
prod: 'com.amazonaws.vpce.us-east-2.vpce-svc-04784c683b22cfabb',
}
const privateHostedZoneName = 'unihq.org'

Expand Down Expand Up @@ -177,6 +177,7 @@ export class RoutingLambdaStack extends cdk.NestedStack {

const cachingRoutingLambda = new aws_lambda_nodejs.NodejsFunction(this, 'CachingRoutingLambda', {
role: lambdaRole,
vpc: vpc,
runtime: aws_lambda.Runtime.NODEJS_18_X,
entry: path.join(__dirname, '../../lib/handlers/index.ts'),
handler: 'quoteHandler',
Expand Down

0 comments on commit e8bc29a

Please sign in to comment.