Adding encrypted option to root_block_device of launch_configuration (#761)

* Adding encrypted option to root_block_device of launch_configuration

* Updating CHANGELOG.md

* Setting back to empty string
This commit is contained in:
Craig Rueda
2020-03-06 03:54:12 -08:00
committed by GitHub
parent 81ded922c8
commit 276e41f744
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
## [[v9.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v9.0.0...HEAD)] - 2020-xx-xx]
- Fix doc about spot instances, cluster-autoscaler should be scheduled on normal instances instead of spot (by @simowaer)
- Adding `encrypted` option to worker's root_block_device as read from the worker configurations (by @craig-rueda)
# History

View File

@@ -185,6 +185,11 @@ resource "aws_launch_configuration" "workers" {
)
root_block_device {
encrypted = lookup(
var.worker_groups[count.index],
"root_encrypted",
local.workers_group_defaults["root_encrypted"],
)
volume_size = lookup(
var.worker_groups[count.index],
"root_volume_size",