Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade golang lambda runtime #591

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading