Skip to content

Commit

Permalink
Adding permissions for cross-region inference
Browse files Browse the repository at this point in the history
  • Loading branch information
julialawrence committed Jan 31, 2025
1 parent 79d484c commit 4356831
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ data "aws_iam_policy_document" "bedrock_integration" {
statement {
sid = "AnalyticalPlatformBedrockIntegration"
effect = "Allow"

actions = [
"bedrock:ListFoundationModels",
"bedrock:GetFoundationModel",
Expand Down Expand Up @@ -53,8 +54,11 @@ data "aws_iam_policy_document" "bedrock_integration" {
"bedrock:CreateModelInvocationJob",
"bedrock:GetModelInvocationJob",
"bedrock:ListModelInvocationJobs",
"bedrock:GetInferenceProfile",
"bedrock:DeleteInferenceProfile",
"bedrock:StopModelInvocationJob"
]

resources = ["*"]
condition {
test = "StringEquals"
Expand Down

0 comments on commit 4356831

Please sign in to comment.