mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-18 07:23:45 +01:00
feat: Added throughput support for root and EBS disks (#1445)
This commit is contained in:
10
workers.tf
10
workers.tf
@@ -304,6 +304,11 @@ resource "aws_launch_configuration" "workers" {
|
||||
"root_iops",
|
||||
local.workers_group_defaults["root_iops"],
|
||||
)
|
||||
throughput = lookup(
|
||||
var.worker_groups[count.index],
|
||||
"root_volume_throughput",
|
||||
local.workers_group_defaults["root_volume_throughput"],
|
||||
)
|
||||
delete_on_termination = true
|
||||
}
|
||||
|
||||
@@ -327,6 +332,11 @@ resource "aws_launch_configuration" "workers" {
|
||||
"iops",
|
||||
local.workers_group_defaults["root_iops"],
|
||||
)
|
||||
throughput = lookup(
|
||||
ebs_block_device.value,
|
||||
"throughput",
|
||||
local.workers_group_defaults["root_volume_throughput"],
|
||||
)
|
||||
encrypted = lookup(
|
||||
ebs_block_device.value,
|
||||
"encrypted",
|
||||
|
||||
Reference in New Issue
Block a user