code: func (p *Project) readInfraRole() string {
  	role, err := infra.Output(p.InfraEnvironment, "lambda_function_role_id")
  	if err != nil {
  		p.Log.Debugf("couldn't read role from infrastructure: %s", err)
  		return ""
  	}
  
  	return role
  }
docs: // readInfraRole reads lambda function IAM role from infrastructure