mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 18:31:09 +01:00
fix: Replace list with tolist function for working with terraform v0.15.0 (#1317)
This commit is contained in:
@@ -385,7 +385,7 @@ resource "aws_launch_template" "workers_launch_template" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dynamic "instance_market_options" {
|
dynamic "instance_market_options" {
|
||||||
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))
|
for_each = lookup(var.worker_groups_launch_template[count.index], "market_type", null) == null ? [] : tolist([lookup(var.worker_groups_launch_template[count.index], "market_type", null)])
|
||||||
content {
|
content {
|
||||||
market_type = instance_market_options.value
|
market_type = instance_market_options.value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user