From 6b644cb0daf62b592a0d2c491073dc2d279fd3ec Mon Sep 17 00:00:00 2001 From: AidanAbd Date: Thu, 18 Jul 2024 07:58:26 -0700 Subject: [PATCH] fix: block device mappng --- sysbox-eks.pkr.hcl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sysbox-eks.pkr.hcl b/sysbox-eks.pkr.hcl index d129899..c5b46a2 100644 --- a/sysbox-eks.pkr.hcl +++ b/sysbox-eks.pkr.hcl @@ -87,17 +87,18 @@ source "amazon-ebs" "ubuntu-eks" { owners = ["099720109477"] } + launch_block_device_mappings { + device_name = "/dev/xvda" + volume_size = 30 + volume_type = "gp3" + delete_on_termination = true + } + region = "us-west-2" instance_type = "t2.micro" ssh_username = "ubuntu" temporary_key_pair_type = "ed25519" ssh_handshake_attempts = 100 - - root_block_device { - volume_size = 30 - volume_type = "gp3" - delete_on_termination = true - } } build {