Skip to content

06-workshops - [Bug] 07-Tool Access with Policy: Trust policy Sid mismatch — toolkit validation too strict #2039

Description

@psinhasa

In which component is this bug present?

  • 01-AgentCore-runtime
  • 02-AgentCore-gateway
  • 03-AgentCore-identity
  • 04-AgentCore-memory
  • 05-AgentCore-tools
  • 06-AgentCore-observability
  • 07-AgentCore-E2E

Bug Description

The toolkit validates the trust policy exactly, including the Sid field. The existing role was missing "Sid": "AssumeRolePolicy", causing validation failure even though the principal/action/condition were correct.

Suggested Fix
The toolkit should be more lenient in validation — check principal/action/condition, not the Sid field.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions