From f4ed3f0ec6c9eb02821108f73ac8af19b046e37f Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 5 May 2024 23:07:54 -0400 Subject: [PATCH] try to add root device name for ami --- hosts/arrow/aws/image.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/arrow/aws/image.tf b/hosts/arrow/aws/image.tf index 95a5279..da667e4 100644 --- a/hosts/arrow/aws/image.tf +++ b/hosts/arrow/aws/image.tf @@ -71,6 +71,7 @@ resource "aws_ami" "image" { description = "Created with NixOS." name = replace(basename(local.image_file), "/\\.vhd$/", "") virtualization_type = "hvm" + root_device_name = "/dev/xvda" ebs_block_device { device_name = "/dev/xvda"