Skip to content

Commit

Permalink
fix: Correct Fargate profiles additional IAM role policies default ty…
Browse files Browse the repository at this point in the history
…pe to match variable (#2143)
  • Loading branch information
bryantbiggs authored Jul 5, 2022
1 parent 76669d3 commit c4e6d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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, {}))
}
Expand Down

0 comments on commit c4e6d28

Please sign in to comment.