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.
This commit is contained in:
Adam Moussa 2026-05-14 15:03:36 -04:00
parent c9936b1d2b
commit 7aaf8340a5

View file

@ -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,