Skip to content

Commit

Permalink
Updated Lambda deployment configuration
Browse files Browse the repository at this point in the history
This commit contains changes from using Docker to AWS Lambda deployment configuration. The 'deploy.yaml' file has been modified to include a new Function configuration, thus providing a more native AWS deployment experience.
  • Loading branch information
timam committed May 16, 2024
1 parent 02114c1 commit ed4ddbe
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions demo/lambda/deployment/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@


docker buildx build --platform linux/amd64,linux/arm64 -t 590184123335.dkr.ecr.ap-southeast-1.amazonaws.com/demo-awscd-2024:init . --push
apiVersion: lambda.services.k8s.aws/v1alpha1
kind: Function
metadata:
name: demo-awscd-2024
annotations:
services.k8s.aws/region: ap-southeast-1
spec:
name: demo-awscd-2024
packageType: Image
code:
imageURI: 590184123335.dkr.ecr.ap-southeast-1.amazonaws.com/demo-awscd-2024:02114c130a666742be52b1783899a35e70fd6d74
role: arn:aws:iam::590184123335:role/lambda_basic_execution
description: awscd demo lambda with ack

0 comments on commit ed4ddbe

Please sign in to comment.