- Newest
- Most votes
- Most comments
Hello.
Please check not only the IAM policy used by the IAM user but also the IAM policy of the IAM role used by the prompt flow.
If you also created an IAM role when creating a prompt flow from the management console, I think the appropriate IAM policy has been set, but please double check.
https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html
You can check the IAM role used by Prompt Flow from the screen below.
If configured correctly, the IAM policy for executing InvokeModel should be set as shown in the image below.
Also, just to be sure, make sure that model access is enabled for the model you want to use in the region where you created the prompt flow.
https://docs.aws.amazon.com/bedrock/latest/userguide/model-access-modify.html
Relevant content
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 14 days ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 8 months ago