diff --git a/modules/nomad-cluster/main.tf b/modules/nomad-cluster/main.tf index e46194c..c3e9255 100644 --- a/modules/nomad-cluster/main.tf +++ b/modules/nomad-cluster/main.tf @@ -83,6 +83,7 @@ resource "aws_launch_configuration" "launch_configuration" { content { device_name = ebs_block_device.value["device_name"] volume_size = ebs_block_device.value["volume_size"] + snapshot_id = lookup(ebs_block_device.value, "snapshot_id", null) iops = lookup(ebs_block_device.value, "iops", null) encrypted = lookup(ebs_block_device.value, "encrypted", null) delete_on_termination = lookup(ebs_block_device.value, "delete_on_termination", null)