From 7aaf8340a5bf459caa4d896bc8cce882048521b8 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Thu, 14 May 2026 15:03:36 -0400 Subject: [PATCH] Add 4 GiB ephemeral storage to verification Lambda Monthly restore-test downloads and extracts the full dump tarball in /tmp. As the dump grows with LFS data, the default 512 MB will eventually cause ENOSPC failures. --- lib/constructs/backup-verification.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constructs/backup-verification.ts b/lib/constructs/backup-verification.ts index 8200951..0da7d9e 100644 --- a/lib/constructs/backup-verification.ts +++ b/lib/constructs/backup-verification.ts @@ -28,6 +28,7 @@ export class BackupVerification extends Construct { handler: "handler", index: "app.py", memorySize: 512, + ephemeralStorageSize: cdk.Size.gibibytes(4), timeout: cdk.Duration.minutes(5), environment: { SOURCE_BUCKET: props.sourceBucket.bucketName,