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
11
workers.tf
11
workers.tf
@@ -182,15 +182,14 @@ resource "aws_launch_configuration" "workers" {
|
||||
ebs_optimized = lookup(
|
||||
var.worker_groups[count.index],
|
||||
"ebs_optimized",
|
||||
lookup(
|
||||
local.ebs_optimized,
|
||||
! contains(
|
||||
local.ebs_optimized_not_supported,
|
||||
lookup(
|
||||
var.worker_groups[count.index],
|
||||
"instance_type",
|
||||
local.workers_group_defaults["instance_type"],
|
||||
),
|
||||
false,
|
||||
),
|
||||
local.workers_group_defaults["instance_type"]
|
||||
)
|
||||
)
|
||||
)
|
||||
enable_monitoring = lookup(
|
||||
var.worker_groups[count.index],
|
||||
|
||||
Reference in New Issue
Block a user