mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
try to add root device name for ami
This commit is contained in:
parent
d07abccbce
commit
f4ed3f0ec6
@ -71,6 +71,7 @@ resource "aws_ami" "image" {
|
|||||||
description = "Created with NixOS."
|
description = "Created with NixOS."
|
||||||
name = replace(basename(local.image_file), "/\\.vhd$/", "")
|
name = replace(basename(local.image_file), "/\\.vhd$/", "")
|
||||||
virtualization_type = "hvm"
|
virtualization_type = "hvm"
|
||||||
|
root_device_name = "/dev/xvda"
|
||||||
|
|
||||||
ebs_block_device {
|
ebs_block_device {
|
||||||
device_name = "/dev/xvda"
|
device_name = "/dev/xvda"
|
||||||
|
Loading…
Reference in New Issue
Block a user