Skip to content

Commit

Permalink
Merge pull request #591 from personio/upgrade-golang-lambda-runtime
Browse files Browse the repository at this point in the history
upgrade golang lambda runtime
  • Loading branch information
drlatt authored Jun 10, 2024
2 parents d137a0a + 93e33ef commit e68085d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-sam-cli==1.9.0
cfn-lint==0.40.0
aws-sam-cli==1.118.0
cfn-lint==0.87.4
6 changes: 4 additions & 2 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Parameters:

Globals:
Function:
Runtime: go1.x
Runtime: provided.al2023

Conditions:
LambdaTriggerRate1Minute: !Equals [ !Ref LambdaTriggerRate, 1 ]
Expand All @@ -87,11 +87,13 @@ Resources:
RdsAuditLogsS3Function:
Type: AWS::Serverless::Function
DependsOn: RdsAuditLogsS3FunctionLogGroup
Metadata:
BuildMethod: go1.x
Properties:
FunctionName: !Ref Name
Description: !Sub "Lambda function for RDS audit log ingestion of instance ${RdsInstanceIdentifier} to S3"
CodeUri: lambda/
Handler: lambda
Handler: bootstrap
MemorySize: !Ref LambdaMemorySize
Timeout: !Ref LambdaTimeout
Events:
Expand Down

0 comments on commit e68085d

Please sign in to comment.