Skip to content

Narrow down AWS permissions needed for lambda executor #1435

@yuvipanda

Description

@yuvipanda

Hello! Love the project, and am looking forward to playing with this more :)

I'm thinking about how to best integrate lithops (and cubed via that) into a working JupyterHub. We can attach AWS policies to JupyterHubs, and provide additional policy there. I like that we already have a policy generated in https://lithops-cloud.github.io/docs/source/compute_config/aws_lambda.html!

However, I see it has pretty broad permissions. In particular, the ec2:* one feels like a lot! Especially when we are granting users on a JupyterHub access, as the same identity is shared by all users.

I'd love for all those * permissions to be more narrowly scoped. And if those can be presented by the project itself, that's helpful because there's a single source of truth for those permissions.

Thank you for the wonderful project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions