Ensure that your Amazon Bedrock agents are associated with active service roles in order to have permissions to access other AWS cloud services and resources.
excellence
Amazon Bedrock agents require access to base models, access to the Amazon S3 objects containing the OpenAPI schemas for the action groups within the agents, and permissions to query knowledge bases that you want to attach to your agents. Also, if you encrypt your agent with an Amazon KMS key, the agent needs permissions to decrypt the key. If your Amazon Bedrock agents are no longer associated with active service roles, they will lose the ability to perform these essential operations.
Audit
To determine if your Amazon Bedrock agents are referencing active service roles, perform the following operations:
Getting the IAM permissions configuration for Amazon Bedrock agents via AWS Command Line Interface (CLI) is not currently supported.Remediation / Resolution
To reconfigure any Amazon Bedrock agents associated with missing IAM roles, perform the following operations:
Replacing the service role for your Amazon Bedrock agents via AWS Command Line Interface (CLI) is not currently supported.