Skip to content

Commit

Permalink
Updated aws-cdk-lib to 2.61.1
Browse files Browse the repository at this point in the history
This fixes the nodejs12.x incompatibility on lambdas runtimes
enviroment. This was caused by a peer dependency on aws-cdk-lib.
Once updated this peer dependency the lambda now uses
node14js.x which is supported by AWS.
  • Loading branch information
AndresArcones committed Jan 21, 2023
1 parent c12ab62 commit 7c0bd38
Show file tree
Hide file tree
Showing 6 changed files with 747 additions and 146 deletions.
2 changes: 1 addition & 1 deletion cdk/lib/cw-global-resource-policy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { custom_resources as cr, aws_iam as iam, Duration } from 'aws-cdk-lib';
import { RetentionDays } from 'aws-cdk-lib/lib/aws-logs';
import { RetentionDays } from 'aws-cdk-lib/aws-logs';
import { Construct } from 'constructs';

interface CWGlobalResourcePolicyProps {
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/domain-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import { Construct } from 'constructs';
import { constants } from './constants';
import { CWGlobalResourcePolicy } from './cw-global-resource-policy';
import { RetentionDays } from 'aws-cdk-lib/lib/aws-logs';
import { RetentionDays } from 'aws-cdk-lib/aws-logs';
import { StackConfig } from './types';

interface DomainStackProps extends StackProps {
Expand Down
4 changes: 2 additions & 2 deletions cdk/lib/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Protocol } from 'aws-cdk-lib/lib/aws-ecs';
import type { Port } from 'aws-cdk-lib/lib/aws-ec2';
import type { Protocol } from 'aws-cdk-lib/aws-ecs';
import type { Port } from 'aws-cdk-lib/aws-ec2';

interface TwilioConfig {
/**
Expand Down
4 changes: 2 additions & 2 deletions cdk/lib/util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Port } from 'aws-cdk-lib/lib/aws-ec2';
import { Protocol } from 'aws-cdk-lib/lib/aws-ecs';
import { Port } from 'aws-cdk-lib/aws-ec2';
import { Protocol } from 'aws-cdk-lib/aws-ecs';
import * as execa from 'execa';
import { constants } from './constants';
import { MinecraftEditionConfig, StackConfig } from './types';
Expand Down
Loading

0 comments on commit 7c0bd38

Please sign in to comment.