What Runlayer reads
The role created by the stack (namedRunlayerDiscovery-…) can:
- list and read Bedrock Agents;
- list and read Bedrock AgentCore Runtimes, Harnesses, and Gateways with their targets;
- read
SKILL.mdfiles from S3 buckets in the same account, for skills that Harnesses load from S3, so they can be scanned for risk; - list the account’s enabled Regions and read its account name.
Connect an account
1
Start in Runlayer
In AI Inventory, click Sources. Under AWS, click Connect account and enter the 12-digit AWS account ID.
2
Create the stack
Click Open AWS console. Sign in to that account with permission to create IAM roles through CloudFormation. AWS opens a prefilled Quick Create page: check the box acknowledging that the stack creates IAM resources, then click Create stack.The link expires. If it does, click Connect again in Runlayer for a new one.
3
Wait for the first sync
Runlayer shows Waiting for the CloudFormation stack until the role is ready, then starts the first sync on its own.
Common errors
Remove the discovery role
Disconnecting in Runlayer deletes the stored role details and stops the sync, but the role stays in your account. To remove it, delete the CloudFormation stack named after the role (RunlayerDiscovery-…) in the AWS console.