Skip to content

Stuck at Generating Edges based on lambda data #115

Open

Description

@paolodm

Describe the bug
When running pmapper --profile profile_name graph create, I eventually get stuck at the Stuck at Generating Edges based on lambda data step.

I think it's because my user does not have the privilege to perform lambda:ListFunctions. I get the following error:

2022-04-14 20:46:43-0400 | DEBUG | principalmapper.graphing.lambda_edges | Exception details: An error occurred (AccessDeniedException) when calling the ListFunctions operation: User: arn:aws:sts::<AWS_ACCOUNT_ID>:<assumed-role/AWS_ACCOUNT_ROLE>/<AWS_ACCOUNT_USER> is not authorized to perform: lambda:ListFunctions on resource: * with an explicit deny in a service control policy

To Reproduce
Steps to reproduce the behavior, please include information on suspected users/roles that are the source of the issue when possible:

  1. Use a AWS profile that does not have the ability to ListFunction.
  2. Run the aforementioned command.
  3. See that it gets hung at the Generating Edges based on Lambda data..

Expected behavior
It should not get stuck. If you need to quit the program, that would be better.

Activity

  1. TCFox commented on May 11, 2022

    @TCFox

    I can confirm, I am experiencing the same issue as above. Seen running from master (91d2e60).

  2. added a commit that references this issue on Sep 5, 2022
  3. ankushgoel27 commented on Sep 18, 2024

    @ankushgoel27

    even i am facing the same issue. stuck on Generating Edges based on Lambda data

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions