Skip to content

Commit

Permalink
bump lambda layer
Browse files Browse the repository at this point in the history
  • Loading branch information
mojotalantikite committed Feb 8, 2024
1 parent 3be571c commit c2fa0c3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions services/uploads/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@ custom:
packager: yarn
packagerOptions:
lockFile: ../../yarn.lock
scripts:
hooks:
# This script is run locally when running 'serverless deploy'
package:initialize: |
set -e
curl -L --output lambda_layer.zip https://github.com/CMSgov/lambda-clamav-layer/releases/download/0.7/lambda_layer.zip
deploy:finalize: |
rm lambda_layer.zip
serverless invoke --stage ${sls:stage} --function avDownloadDefinitions -t Event
vpcId: ${ssm:/configuration/${sls:stage}/vpc/id, ssm:/configuration/default/vpc/id}
sgId: ${ssm:/configuration/${sls:stage}/vpc/sg/id, ssm:/configuration/default/vpc/sg/id}
privateSubnets:
Expand Down Expand Up @@ -104,8 +95,7 @@ custom:

layers:
clamAv:
package:
artifact: lambda_layer.zip
path: lambda_layer

functions:
avScan:
Expand Down

0 comments on commit c2fa0c3

Please sign in to comment.