Skip to content

lambda-python: Allow passing build args to Docker in PythonFunction #12949

@jamesTait-jt

Description

@jamesTait-jt

Ability to pass args to docker when using aws_lambda_python.PythonFunction

Use Case

I am trying to deploy a stack from behind a proxy. I want to be able to pass --network host to the PythonLambda docker command so that the container is able to access the internet through the proxy.

Proposed Solution

This seems to have been solved for aws_lambda_nodejs here:
#8117

So perhaps a similar solution?

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions