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 (terraform-aws-modules#2143)
  • Loading branch information
bryantbiggs authored and spr-mweber3 committed Jul 11, 2022
1 parent 566fdaf commit a08299a
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 a08299a

Please sign in to comment.