Skip to content

Commit 189f566

Browse files
committed
enable varble for root volume
1 parent 3fe4ece commit 189f566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_groups.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_launch_template" "encrypted_launch_template" {
5858
no_device = true
5959
ebs {
6060
delete_on_termination = true
61-
volume_size = 20
61+
volume_size = lookup(each.value, "root_node_disk_size", 20)
6262
volume_type = "gp3"
6363
encrypted = true
6464
}

0 commit comments

Comments
 (0)