Skip to content

Instantly share code, notes, and snippets.

@arashout
Created January 28, 2022 02:54
Show Gist options
  • Save arashout/a62df1b729f4ac13b2319b50d32c8015 to your computer and use it in GitHub Desktop.
Save arashout/a62df1b729f4ac13b2319b50d32c8015 to your computer and use it in GitHub Desktop.
An example manifest for our LambdaDeployment Custom Resource Definition
apiVersion: lambda-deployment.keeptruckin.com/v1
kind: LambdaDeployment
metadata:
name: lambda-deployment-test-function-preview
spec:
# We control the lambda environment using the ARN
functionARN: arn:aws:lambda:us-east-1:123:function:test-function-preview
# These will be used to construct the key for the zip file uploaded to S3
functionName: test-function
# The SHA of the current HEAD commit
commit: 8cc06dbec558fd94d9b40da92e347a34f454df61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment