mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 18:31:09 +01:00
fix: Updated code and version requirements to work with Terraform 0.15 (#1165)
This commit is contained in:
@@ -100,7 +100,7 @@ resource "aws_autoscaling_group" "workers_launch_template" {
|
||||
|
||||
dynamic "mixed_instances_policy" {
|
||||
iterator = item
|
||||
for_each = (lookup(var.worker_groups_launch_template[count.index], "override_instance_types", null) != null) || (lookup(var.worker_groups_launch_template[count.index], "on_demand_allocation_strategy", local.workers_group_defaults["on_demand_allocation_strategy"]) != null) ? list(var.worker_groups_launch_template[count.index]) : []
|
||||
for_each = (lookup(var.worker_groups_launch_template[count.index], "override_instance_types", null) != null) || (lookup(var.worker_groups_launch_template[count.index], "on_demand_allocation_strategy", local.workers_group_defaults["on_demand_allocation_strategy"]) != null) ? [var.worker_groups_launch_template[count.index]] : []
|
||||
|
||||
content {
|
||||
instances_distribution {
|
||||
|
||||
Reference in New Issue
Block a user