2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
As far as the error message is concerned, the IAM policy does not allow "bedrock:InvokeModel" for "arn:aws:bedrock:us-west-2:REDACTED:inference-profile/global.anthropic.claude-haiku-4-5-20251001-v1:0", so please try setting the following IAM policy.
https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "test",
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel"
],
"Resource": "arn:aws:bedrock:us-west-2:REDACTED:inference-profile/global.anthropic.claude-haiku-4-5-20251001-v1:0"
}
]
}
0
I think I found where to add this policy, however it's highlighting an error related to what you have provided. Can you advise where we need to add the AWS accoun ID? Please see screenshot:
answered 9 months ago
Relevant content
- AWS OFFICIALUpdated a year ago
