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}