Adding workers_launch_template ebs encryption (#292)

* Adding workers_launch_template ebs encryption

* Update CHANGELOG.md
This commit is contained in:
russki
2019-03-07 06:58:59 -08:00
committed by Max Williams
parent bb9c1b0b54
commit 3795811beb
3 changed files with 5 additions and 0 deletions

View File

@@ -96,6 +96,8 @@ resource "aws_launch_template" "workers_launch_template" {
volume_size = "${lookup(var.worker_groups_launch_template[count.index], "root_volume_size", local.workers_group_launch_template_defaults["root_volume_size"])}"
volume_type = "${lookup(var.worker_groups_launch_template[count.index], "root_volume_type", local.workers_group_launch_template_defaults["root_volume_type"])}"
iops = "${lookup(var.worker_groups_launch_template[count.index], "root_iops", local.workers_group_launch_template_defaults["root_iops"])}"
encrypted = "${lookup(var.worker_groups_launch_template[count.index], "root_encrypted", local.workers_group_launch_template_defaults["root_encrypted"])}"
kms_key_id = "${lookup(var.worker_groups_launch_template[count.index], "kms_key_id", local.workers_group_launch_template_defaults["kms_key_id"])}"
delete_on_termination = true
}
}