Skip to content

Commit 9da082e

Browse files
SSPROD-57550 Add New Bedrock Perm (#76)
Co-authored-by: Ravina Dhruve <[email protected]>
1 parent 3de2e21 commit 9da082e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modules/config-posture/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ resource "aws_iam_role_policy" "cspm_role_policy" {
140140
Effect = "Allow"
141141
Resource = "*"
142142
},
143+
{
144+
Sid = "BedrockGetModelInvocationLoggingConfiguration"
145+
Action = "bedrock:GetModelInvocationLoggingConfiguration"
146+
Effect = "Allow"
147+
Resource = "*"
148+
},
143149
]
144150
})
145151
}

modules/config-posture/organizational.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ Resources:
9696
Effect: "Allow"
9797
Action: "bedrock:GetGuardrail"
9898
Resource: "*"
99+
- Sid: "GetModelInvocationLoggingConfiguration"
100+
Effect: "Allow"
101+
Action: "bedrock:GetModelInvocationLoggingConfiguration"
102+
Resource: "*"
99103
TEMPLATE
100104
}
101105

0 commit comments

Comments
 (0)