mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 03:11:06 +01:00
feat: Add support for throughput parameter for gp3 volumes (#1146)
This commit is contained in:
@@ -384,6 +384,11 @@ resource "aws_launch_template" "workers_launch_template" {
|
||||
"root_iops",
|
||||
local.workers_group_defaults["root_iops"],
|
||||
)
|
||||
throughput = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"root_volume_throughput",
|
||||
local.workers_group_defaults["root_volume_throughput"],
|
||||
)
|
||||
encrypted = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"root_encrypted",
|
||||
@@ -419,6 +424,11 @@ resource "aws_launch_template" "workers_launch_template" {
|
||||
"iops",
|
||||
local.workers_group_defaults["root_iops"],
|
||||
)
|
||||
throughput = lookup(
|
||||
block_device_mappings.value,
|
||||
"throughput",
|
||||
local.workers_group_defaults["root_volume_throughput"],
|
||||
)
|
||||
encrypted = lookup(
|
||||
block_device_mappings.value,
|
||||
"encrypted",
|
||||
|
||||
Reference in New Issue
Block a user