From efee42044d90c38ca49be9deaba172e1e9372754 Mon Sep 17 00:00:00 2001 From: Arthur Diniz Date: Tue, 20 Apr 2021 17:18:13 -0300 Subject: [PATCH] Fix RDS parameter group permissions Signed-off-by: Arthur Diniz --- iam_lambda_role.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam_lambda_role.tf b/iam_lambda_role.tf index 63810c3..5401327 100644 --- a/iam_lambda_role.tf +++ b/iam_lambda_role.tf @@ -74,7 +74,7 @@ resource "aws_iam_policy" "maskopy_trust_lambda_role_policy" { ], "Resource" : [ "arn:aws:rds:*:*:*:*maskopy*", - "arn:aws:rds:*:*:pg:default*", + "arn:aws:rds:*:*:pg:*", "arn:aws:rds:*:*:subgrp:${var.rds_staging_subnet_group_name}" ] },