Skip to content

Commit

Permalink
chore: bump node version (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-clickup authored Dec 20, 2023
1 parent 422779f commit 42d0243
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/service-quotas-metric-publisher.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import { aws_iam, aws_lambda_nodejs, aws_events, aws_events_targets, aws_logs, Duration } from 'aws-cdk-lib';
import {
aws_iam,
aws_lambda_nodejs,
aws_lambda,
aws_events,
aws_events_targets,
aws_logs,
Duration,
} from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { Namer } from 'multi-convention-namer';

Expand Down Expand Up @@ -62,6 +70,7 @@ export class ServiceQuotasMetricPublisher extends Construct {
const myConstruct = this;

this.handler = new aws_lambda_nodejs.NodejsFunction(myConstruct, 'monitor', {
runtime: aws_lambda.Runtime.NODEJS_18_X,
bundling: {
externalModules: ['@aws-sdk/*'],
minify: true,
Expand Down

0 comments on commit 42d0243

Please sign in to comment.