diff --git a/demo/lambda/deployment/deploy.yaml b/demo/lambda/deployment/deploy.yaml index bda980f..2fd77b7 100644 --- a/demo/lambda/deployment/deploy.yaml +++ b/demo/lambda/deployment/deploy.yaml @@ -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 \ No newline at end of file +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 \ No newline at end of file