From 0f3bfc9c23ba9dfe88d149c7955a55edc6df2d6b Mon Sep 17 00:00:00 2001 From: Joey Davenport Date: Mon, 11 Jul 2022 09:34:03 -0600 Subject: [PATCH] Fixed typo in additional_iam_policy_arns --- modules/managed-cloud/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/managed-cloud/main.tf b/modules/managed-cloud/main.tf index 8fe327b..5a55357 100644 --- a/modules/managed-cloud/main.tf +++ b/modules/managed-cloud/main.tf @@ -46,7 +46,7 @@ locals { arn_like_vpcs_str = format("[%s]", join(",", local.arn_like_vpcs)) tag_set = merge({ Vendor = "StreamNative", SNVersion = var.sn_policy_version }, var.tags) - additional_iam_policiy_arns = distinct(compact(var.additional_iam_policiy_arns)) + additional_iam_policy_arns = distinct(compact(var.additional_iam_policy_arns)) default_allowed_iam_policies = compact([ "arn:${var.partition}:iam::${local.account_id}:policy/StreamNative/*", "arn:${var.partition}:iam::aws:policy/AmazonEKSClusterPolicy", @@ -57,7 +57,7 @@ locals { "arn:${var.partition}:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly", "arn:${var.partition}:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy" ]) - allowed_iam_policies = join(", ", formatlist("\"%s\"", distinct(concat(local.additional_iam_policiy_arns, local.default_allowed_iam_policies)))) + allowed_iam_policies = join(", ", formatlist("\"%s\"", distinct(concat(local.additional_iam_policy_arns, local.default_allowed_iam_policies)))) }