From c4f73073dccb97f99c66046b18c7dcdcdd15cdee Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 14 Jan 2024 18:12:05 -0600 Subject: [PATCH] tf/asg: Increase root block device size The default root block device for Fedora EC2 instances is only 10 GiB. This is insufficient for many jobs, especially those that build large container images. --- terraform/asg.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform/asg.tf b/terraform/asg.tf index a0758c8..0d7e052 100644 --- a/terraform/asg.tf +++ b/terraform/asg.tf @@ -65,6 +65,14 @@ resource "aws_launch_template" "k8s-aarch64" { private_dns_name_options { hostname_type = "resource-name" } + + block_device_mappings { + device_name = "/dev/sda1" + + ebs { + volume_size = 64 + } + } } resource "aws_autoscaling_group" "k8s-aarch64" {