From b801ba6330b20c7746ed6e792a8986b0f3447dcc Mon Sep 17 00:00:00 2001 From: Peter Deme Date: Fri, 22 Nov 2024 14:30:32 +0100 Subject: [PATCH] Attempt to fix storage space issue (#73) --- aws.pkr.hcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/aws.pkr.hcl b/aws.pkr.hcl index 614e010..856e830 100644 --- a/aws.pkr.hcl +++ b/aws.pkr.hcl @@ -102,6 +102,13 @@ source "amazon-ebs" "spacelift" { most_recent = true } + launch_block_device_mappings { + device_name = "/dev/sda1" + volume_size = 8 + volume_type = "gp2" + delete_on_termination = true + } + ami_name = "${var.ami_name_prefix}-${var.source_ami_architecture}" ami_regions = var.ami_regions ami_groups = var.ami_groups