From be53335e6e9bf478f9fe0d7a44f615e3491203bc Mon Sep 17 00:00:00 2001 From: cduhn17 Date: Fri, 19 Jul 2024 08:40:33 -0500 Subject: [PATCH] Update elasticache terraform to add CreatePolicy --- 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 = "*" }