Skip to content

Commit

Permalink
Updated to Node20.x and aws sdk v3
Browse files Browse the repository at this point in the history
  • Loading branch information
shaiq-dev committed Mar 10, 2024
1 parent fc1bc02 commit 9b0b63e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2,534 deletions.
4 changes: 2 additions & 2 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ BUCKET_NAME=$(aws cloudformation describe-stacks --stack-name resume-storage | j

# Zip and upload the lambda to bucket
pushd .
cd handlers
zip -r resume-${VERSION}.zip index.js
cd lambda
zip -r resume-${VERSION}.zip handlers/resume.js
aws s3 cp ./resume-${VERSION}.zip s3://${BUCKET_NAME}/lambda/
popd

Expand Down
2 changes: 1 addition & 1 deletion deploy/stacks/lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Resources:
Properties:
FunctionName: resume
Runtime: nodejs20.x
Handler: index.handler
Handler: resume.handler
Role: !GetAtt LambdaExecutionRole.Arn
Code:
S3Bucket: !Ref BucketName
Expand Down
65 changes: 0 additions & 65 deletions handlers/index.js

This file was deleted.

Loading

0 comments on commit 9b0b63e

Please sign in to comment.