---
title: "Find the deployer and role behind an AWS PassRole denial | Proofline"
description: "A deployer may be allowed to create a service resource while lacking permission to pass the execution role to that service."
url: https://proofline.sh/learn/aws-passrole-denied/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Learning center](/learn/)

# Find the deployer and role behind an AWS PassRole denial

A deployer may be allowed to create a service resource while lacking permission to pass the execution role to that service. Inspect the parent API call that took the role ARN.

Permission errors The Proofline team November 24, 2026 1 min read

For example, a fictional Lambda release role calls `CreateFunction` with `arn:aws:iam::111122223333:role/report-function`. Its grant covers `lambda:CreateFunction` and permits passing only `role/old-report-function`. The release log names `iam:PassRole`. In CloudTrail, read the `CreateFunction` event if available and compare the caller and requested role against the deployed policy. PassRole is a permission check, so look for the parent call instead of a standalone `PassRole` event. [AWS IAM PassRole and CloudTrail](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html)

If the new role is approved, the deployer's policy owner can review `iam:PassRole` scoped to that role and, where appropriate, `iam:PassedToService` for Lambda. The role owner separately checks its trust relationship with the service. Record those as two decisions. The first controls who may assign the role, and the second controls who may assume it.

[Trace another denied request](/learn/permission-denied-request-triage/).

## One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. [Eligibility and fair-use terms](/free-code-review/).

[Start free with GitHub](https://proofline.sh/orgs/plan?offer=free_month)

## Related reading

-   ### [Trace a permission denial to the caller and the policy](/learn/permission-denied-request-triage/)
    
    Permission errors The Proofline team November 24, 2026 3 min read
    
-   ### [Diagnose a cross-account AssumeRole denial](/learn/aws-assume-role-trust-denied/)
    
    Permission errors The Proofline team November 24, 2026 1 min read
