Skip to content

Commit

Permalink
#19 updated the IAM policy to decrypt using kms key
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Sep 18, 2024
1 parent 30211ea commit 52540d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ssm_parameter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ resource "aws_iam_policy" "ssm_parameter_policy" {
"ssm:GetParameter"
],
Resource = [aws_ssm_parameter.rds_connection.arn]
},
{
Effect = "Allow",
Action = [
"kms:Decrypt"
],
Resource = [aws_kms_key.encryption_rds.id]
}
]
})
Expand Down

0 comments on commit 52540d3

Please sign in to comment.