I am trying to configure AWS Bedrock in AI Assistant inside Elastic Cloud.
By default the only empty sections are Access key and Secret. I just opened a new AWS account and I got access to Claude 3.5 Sonnet that is the default AWS Bedrock model that is in the default options of Elastic Cloud. I was authorized to use the model and Claude 3.5 Sonnet is working properly inside AWS in the playground. I have OpenAI and Google Gemini working inside Elastic Cloud. What can I do? I have created two keys in AWS and none of them are working. This is the error that I am getting:
Finally, Claude 3.5 Sonnet suggested this JSON policy but it is not working. I tried with a broader policy and it did not work as well.
> {
> "Version": "2012-10-17",
> "Statement": [
> {
> "Effect": "Allow",
> "Action": [
> "bedrock:InvokeModel",
> "bedrock:ListFoundationModels"
> ],
> "Resource": "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0"
> }
> ]
> }