From b2af3a53690034cc196a6cdd50a039bb8a9fb1fa Mon Sep 17 00:00:00 2001 From: peterdeme Date: Fri, 22 Nov 2024 17:18:48 +0100 Subject: [PATCH] Decrease size back to 8GB, remove debug statement We fixed the issue, but it wasn't the size bump that fixed it. So now decreasing it back to 8GB and removing the statement. --- aws.pkr.hcl | 2 +- aws/scripts/cloudwatch-agent.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/aws.pkr.hcl b/aws.pkr.hcl index 6e9a34c..ee0c709 100644 --- a/aws.pkr.hcl +++ b/aws.pkr.hcl @@ -104,7 +104,7 @@ source "amazon-ebs" "spacelift" { launch_block_device_mappings { device_name = "/dev/xvda" - volume_size = 14 + volume_size = 8 volume_type = "gp3" delete_on_termination = true } diff --git a/aws/scripts/cloudwatch-agent.sh b/aws/scripts/cloudwatch-agent.sh index bb2fec7..c7f38fc 100644 --- a/aws/scripts/cloudwatch-agent.sh +++ b/aws/scripts/cloudwatch-agent.sh @@ -14,7 +14,6 @@ RPM_PATH=/tmp/amazon-cloudwatch-agent.rpm sudo touch /var/log/spacelift/{info,error}.log curl $DOWNLOAD_URL --output $RPM_PATH -df # Temporarily, till we figure out the disk space issue sudo rpm -U $RPM_PATH rm $RPM_PATH sudo mv ${CONFIG_SOURCE} ${CONFIG_DESTINATION}