title: CloudFormation is not authorized to perform: iam:PassRole on resource
body: <p>This is part of the code of my <code>template.yml</code> in Cloud9:</p>
  
  <pre><code>Type: 'AWS::Serverless::Function'
  Properties:
    Handler: index.handler
    Runtime: nodejs6.10
    CodeUri: .
    Description: Updates records in the AppConfig table.
    MemorySize: 128
    Timeout: 3
    Role: 'arn:aws:iam::579913947261:role/FnRole'
    Events:
      Api1:
        Type: Api
        Properties:
  </code></pre>
  
  <p>When I commit the changes in Cloud9, deployment fails at CodePipeline Deploy stage while trying <code>ExecuteChangeSet</code>. I get this error:</p>
  
  <blockquote>
    <p>CloudFormation is not authorized to perform: iam:PassRole on resource</p>
  </blockquote>
  
  <p>Can anyone help?</p>