mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-01 21:04:27 +02:00
change ebs_optimized mapping to list where not supported (#561)
* change ebs_optimized mapping to list where not supported * update changelog
This commit is contained in:
committed by
Max Williams
parent
1be1a02e23
commit
2e2f2acada
@@ -272,18 +272,18 @@ resource "aws_launch_template" "workers_launch_template" {
|
||||
user_data = base64encode(
|
||||
data.template_file.launch_template_userdata.*.rendered[count.index],
|
||||
)
|
||||
|
||||
ebs_optimized = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"ebs_optimized",
|
||||
lookup(
|
||||
local.ebs_optimized,
|
||||
! contains(
|
||||
local.ebs_optimized_not_supported,
|
||||
lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
"instance_type",
|
||||
local.workers_group_defaults["instance_type"],
|
||||
),
|
||||
false,
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
credit_specification {
|
||||
|
||||
Reference in New Issue
Block a user