diff --git a/modules/fargate/outputs.tf b/modules/fargate/outputs.tf index b4a16319df..126ba6e385 100644 --- a/modules/fargate/outputs.tf +++ b/modules/fargate/outputs.tf @@ -20,8 +20,10 @@ output "iam_role_arn" { output "aws_auth_roles" { description = "Roles for use in aws-auth ConfigMap" - value = [{ - worker_role_arn = local.pod_execution_role_arn - platform = "fargate" - }] + value = [ + for i in range(1) : { + worker_role_arn = local.pod_execution_role_arn + platform = "fargate" + } if local.create_eks + ] }