In which component is this bug present?
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.
In which component is this bug present?
Bug Description
The toolkit validates the trust policy exactly, including the
Sidfield. 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.