From c9f46c9dbdc6df7175f4daec892798ecce67fff7 Mon Sep 17 00:00:00 2001 From: cduhn17 Date: Fri, 19 Jul 2024 08:12:14 -0500 Subject: [PATCH] Update elasticache terraform to add create policy --- infrastructure/elasticache.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/elasticache.tf b/infrastructure/elasticache.tf index 807b3726..79f0795c 100644 --- a/infrastructure/elasticache.tf +++ b/infrastructure/elasticache.tf @@ -50,7 +50,9 @@ resource "aws_iam_policy" "elasticache_policy" { "elasticache:CreateCacheSubnetGroup", "elasticache:DeleteCacheSubnetGroup", "elasticache:DescribeCacheSubnetGroups", - "elasticache:ModifyCacheSubnetGroup" + "elasticache:ModifyCacheSubnetGroup", + "iam:CreatePolicy", + "iam:AttachUserPolicy" ] Resource = "*" }