mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-25 10:51:06 +01:00
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:
@@ -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]
|
## [[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)
|
- 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
|
# History
|
||||||
|
|
||||||
|
|||||||
@@ -185,6 +185,11 @@ resource "aws_launch_configuration" "workers" {
|
|||||||
)
|
)
|
||||||
|
|
||||||
root_block_device {
|
root_block_device {
|
||||||
|
encrypted = lookup(
|
||||||
|
var.worker_groups[count.index],
|
||||||
|
"root_encrypted",
|
||||||
|
local.workers_group_defaults["root_encrypted"],
|
||||||
|
)
|
||||||
volume_size = lookup(
|
volume_size = lookup(
|
||||||
var.worker_groups[count.index],
|
var.worker_groups[count.index],
|
||||||
"root_volume_size",
|
"root_volume_size",
|
||||||
|
|||||||
Reference in New Issue
Block a user