Skip to content

Commit

Permalink
Run the definition uploader on deploy (#76)
Browse files Browse the repository at this point in the history
* Run the scan definitions uploader on deploy... should fix #75

* Invoke the Def updater lambda asynchronously.  It takes about 45 seconds and we don't need to wait for it

Co-authored-by: Mike Dial <mdial@collabralink.com>
  • Loading branch information
mdial89f and mdial89f committed Oct 13, 2020
1 parent 445cd73 commit 0aa1824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/uploads-scan/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ custom:
curl -L --output lambda_layer.zip https://github.com/CMSgov/lambda-clamav-layer/releases/download/0.5/lambda_layer.zip
deploy:finalize: |
rm lambda_layer.zip
serverless invoke --stage ${self:custom.stage} --function avDownloadDefinitions -t Event

remover:
buckets:
Expand Down

0 comments on commit 0aa1824

Please sign in to comment.