From c2a8e5dc66e7e203edb33ec05784af290db74139 Mon Sep 17 00:00:00 2001 From: Peter Svensson Date: Mon, 20 Sep 2021 21:10:19 +0200 Subject: [PATCH] fix additional policies --- locals.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locals.tf b/locals.tf index a04b418..92de3f8 100644 --- a/locals.tf +++ b/locals.tf @@ -15,11 +15,11 @@ locals { Resource : [ "${data.aws_s3_bucket.state_store.arn}/${var.name}-addons/*"] } - master_policies = [ + master_policies = flatten([ local.master_policies_aws_loadbalancer, local.master_policy_addon_bucket_access, - var.master_policies - ] + var.master_policies] + ) iam_auth_configmap = { name = "aws_iam_authenticator_config"