pipecd icon indicating copy to clipboard operation
pipecd copied to clipboard

[Lambda] Support container image overrides configuration

Open cuongvd23 opened this issue 1 month ago • 0 comments

What would you like to be added:

  • Enable override container image configuration when deploying AWS Lambda function with Docker image.

  • The Lambda create function UI with override config Image

  • The function.yaml manifest with container image overrides configuration as follows

apiVersion: pipecd.dev/v1beta1
kind: LambdaFunction
spec:
  name: SimpleCanaryImageFunction
  role: arn:aws:iam::124:role/lambda-role
  image: ecr.ap-northeast-1.amazonaws.com/lambda-image:v0.0.2
  imageConfig:
      entrypoint: /bin/sh
      command: ./server lambda
      workingDirectory: server
  memory: 128
  timeout: 5
  tags:
    app: canary-image

Why is this needed:

  • Users can override the entrypoint/command when deploying a Lambda function with a non-AWS base image.
  • Flexibility in reusing the same image supports multiple CLI commands.

cuongvd23 avatar Nov 19 '25 08:11 cuongvd23