Skip to content

Commit

Permalink
updated the boundary policy to include bedrock
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWardle committed Jun 3, 2024
1 parent 575fe27 commit 4b35fdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/iam-users/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ resource "aws_lambda_permission" "allow_cloudwatch_every_five_minutes" {
}

# Permission boundary
resource "aws_iam_policy" "s3_full_access_boundary" {
resource "aws_iam_policy" "user_access_boundary" {
name = "BCGOV_IAM_USER_BOUNDARY_POLICY"
path = "/"
description = "Permission boundary policy for the BC Gov IAM user service"
Expand All @@ -202,6 +202,12 @@ resource "aws_iam_policy" "s3_full_access_boundary" {
Action = "ses:*",
Resource = "*"
},
{
Sid = "BedrockFullAccess",
Effect = "Allow",
Action = "bedrock:*",
Resource = "*"
},
{
Sid = "SSMandKMSAccess",
Effect = "Allow",
Expand Down

0 comments on commit 4b35fdb

Please sign in to comment.