From a8cccd3c65a99b5a43ba3cdbbfd71ec9de9b6f59 Mon Sep 17 00:00:00 2001 From: gotodeploy <1491134+gotodeploy@users.noreply.github.com> Date: Sat, 1 May 2021 16:36:50 +0900 Subject: [PATCH] chore: Use default platform version on fargate --- src/valheim.ts | 1 - test/__snapshots__/valheim.test.ts.snap | 1 - 2 files changed, 2 deletions(-) diff --git a/src/valheim.ts b/src/valheim.ts index e450d25..c5a7000 100644 --- a/src/valheim.ts +++ b/src/valheim.ts @@ -299,7 +299,6 @@ export class ValheimWorld extends cdk.Construct { this.service = new ecs.FargateService(this, 'ValheimService', { cluster, - platformVersion: ecs.FargatePlatformVersion.VERSION1_4, assignPublicIp: true, taskDefinition, desiredCount: props?.desiredCount, diff --git a/test/__snapshots__/valheim.test.ts.snap b/test/__snapshots__/valheim.test.ts.snap index 73b4fbf..e6b76ee 100644 --- a/test/__snapshots__/valheim.test.ts.snap +++ b/test/__snapshots__/valheim.test.ts.snap @@ -251,7 +251,6 @@ Object { ], }, }, - "PlatformVersion": "1.4.0", "TaskDefinition": Object { "Ref": "ValheimWorldValheimTaskDefinition40062B44", },