mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
Fix outputs
This commit is contained in:
@@ -401,7 +401,7 @@ resource "random_pet" "workers_launch_template" {
|
||||
}
|
||||
|
||||
resource "aws_iam_instance_profile" "workers_launch_template" {
|
||||
count = var.manage_worker_iam_resources ? (local.worker_group_launch_template_count * var.enabled) : 0
|
||||
count = var.manage_worker_iam_resources && var.enabled ? local.worker_group_launch_template_count : 0
|
||||
name_prefix = aws_eks_cluster.this[count.index].name
|
||||
role = lookup(
|
||||
var.worker_groups_launch_template[count.index],
|
||||
|
||||
Reference in New Issue
Block a user