Skip to content

Commit

Permalink
added access to secrets manager from bastion host
Browse files Browse the repository at this point in the history
  • Loading branch information
AgusPk committed Oct 12, 2023
1 parent a0d922e commit 30522cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/bastion/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ resource "aws_iam_role_policy" "bastion_host_iam_role" {
"ssm:GetParameter"
],
"Resource" : "arn:aws:ssm:*:*:parameter/AmazonCloudWatch-*"
},
{
"Effect" : "Allow",
"Action" : [
"secretsmanager:GetSecretValue"
],
"Resource" : "arn:aws:secretsmanager:*:*:secret:*"
}
]
})
Expand Down

0 comments on commit 30522cc

Please sign in to comment.