Skip to content

Access denied to bedrock:ListCustomModelDeployments You don't have permission to bedrock:ListCustomModelDeployments. To request access, copy the following text and send it to your AWS administrator. L

0

Access denied to bedrock:ListCustomModelDeployments You don't have permission to bedrock:ListCustomModelDeployments. To request access, copy the following text and send it to your AWS administrator. Learn more about troubleshooting access denied errors. User: arn:aws:sts::235516847425:assumed-role/AWSLabsUser-uBwrupp8Mu53NkNgUtw1dn/103090d1-c2f3-47da-a35d-8d8eb3f6f98e Action: bedrock:ListCustomModelDeployments Context: no identity-based policy allows the action

am leaning some aws quest when am practice with labs it showing like this

2 Answers
5

Try this to fix:

  1. Send a Permission Request

IAM policy suppose to:

{
  "Effect": "Allow",
  "Action": "bedrock:ListCustomModelDeployments",
  "Resource": "*"
}
  1. Check Model Access Settings Even with permissions, you might need to enable access to specific foundation models in Amazon Bedrock. You can do this in the AWS Console under: Amazon Bedrock → Model access

  2. Lab-Specific Issues If you're using AWS Cloud Quest or a sandbox environment, some labs have preconfigured roles that don’t include all Bedrock permissions. You might need to: • Switch to a different role • Use a lab-specific console link • Ask the lab provider to update the environment

EXPERT

answered a year ago

  • Unlike the normal management console, the lab environment of cloud quest is partially restricted in operation. Therefore, you may not be able to set up IAM freely. Additionally, enabling model access does not allow ListCustomModelDeployments. This answer cannot solve the problem.

0

Hello.

The error is caused by the IAM you are using not allowing "bedrock:ListCustomModelDeployments".
However, it is highly likely that you will not be able to configure IAM in the Cloud Quest lab environment, so please contact the AWS training team using the URL below.
When making an inquiry, please change the "Inquiry details" as follows:
https://support.aws.amazon.com/#/contacts/aws-training
a

EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.