Skip to content

Commit

Permalink
Reverting to amazon linux 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshayman committed Sep 21, 2023
1 parent fa49f77 commit a20c6f3
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a20c6f3

Please sign in to comment.