mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 18:31:09 +01:00
Fix launch template market option expansion (#508)
* Fix launch template market option expansion * Update changelog
This commit is contained in:
committed by
Max Williams
parent
f88220a8eb
commit
4f4d9c304d
@@ -316,10 +316,9 @@ resource "aws_launch_template" "workers_launch_template" {
|
||||
}
|
||||
|
||||
dynamic instance_market_options {
|
||||
iterator = item
|
||||
for_each = lookup(var.worker_groups_launch_template[count.index], "market_type", null) == null ? [] : list(lookup(var.worker_groups_launch_template[count.index], "market_type", null))
|
||||
content {
|
||||
market_type = item.value
|
||||
market_type = instance_market_options.value
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user