From a20c6f36ce6b4ed691a2bb0d4690d41ccead8b28 Mon Sep 17 00:00:00 2001 From: Lakshay Manchanda Date: Thu, 21 Sep 2023 23:49:30 +0530 Subject: [PATCH] Reverting to amazon linux 1 --- template.yaml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/template.yaml b/template.yaml index 3db642f..a3a9aa3 100644 --- a/template.yaml +++ b/template.yaml @@ -17,12 +17,10 @@ Globals: Resources: HealthCheckFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction - Metadata: - BuildMethod: go1.x Properties: CodeUri: health-check/ - Handler: bootstrap - Runtime: provided.al2 + Handler: health-check + Runtime: go1.x Architectures: - x86_64 Tracing: Active # https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html @@ -35,12 +33,10 @@ Resources: ProfileFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction - Metadata: - BuildMethod: go1.x Properties: CodeUri: profile/ - Handler: bootstrap - Runtime: provided.al2 + Handler: profile + Runtime: go1.x Architectures: - x86_64 Tracing: Active # https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html @@ -58,12 +54,10 @@ Resources: VerifyFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction - Metadata: - BuildMethod: go1.x Properties: CodeUri: verify/ - Handler: bootstrap - Runtime: provided.al2 + Handler: verify + Runtime: go1.x Architectures: - x86_64 Tracing: Active # https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html