From a08299a20b974be34671d6543379b7095a8ffab9 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Tue, 5 Jul 2022 14:06:25 -0400 Subject: [PATCH] fix: Correct Fargate profiles additional IAM role policies default type to match variable (#2143) --- node_groups.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_groups.tf b/node_groups.tf index 76d2880323..ca51f32c8c 100644 --- a/node_groups.tf +++ b/node_groups.tf @@ -218,7 +218,7 @@ module "fargate_profile" { iam_role_permissions_boundary = try(each.value.iam_role_permissions_boundary, var.fargate_profile_defaults.iam_role_permissions_boundary, null) iam_role_tags = try(each.value.iam_role_tags, var.fargate_profile_defaults.iam_role_tags, {}) iam_role_attach_cni_policy = try(each.value.iam_role_attach_cni_policy, var.fargate_profile_defaults.iam_role_attach_cni_policy, true) - iam_role_additional_policies = try(each.value.iam_role_additional_policies, var.fargate_profile_defaults.iam_role_additional_policies, {}) + iam_role_additional_policies = try(each.value.iam_role_additional_policies, var.fargate_profile_defaults.iam_role_additional_policies, []) tags = merge(var.tags, try(each.value.tags, var.fargate_profile_defaults.tags, {})) }