Skip to content

Commit

Permalink
Fixing lodash dependabot alert
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMeyers committed Jul 17, 2020
1 parent e7935f4 commit bc388b2
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 17 deletions.
8 changes: 0 additions & 8 deletions bin/deploy-yaml.sh

This file was deleted.

10 changes: 10 additions & 0 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
ver=`cat package.json | grep "version" | cut -d: -f2 | sed -e "s/[\"\,]//g" | tr -d '[:space:]'`
token=AWSLambdaRedshiftLoader

echo "Deploying Lambda Redshift Loader $ver to AWSLabs S3 Buckets"

for r in `aws ec2 describe-regions --query Regions[*].RegionName --output text`; do
# publish the build
aws s3 cp dist/$token-$ver.zip s3://awslabs-code-$r/LambdaRedshiftLoader/$token-$ver.zip --acl public-read --region $r;

# publish deploy.yaml to regional buckets
aws s3 cp deploy.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy.yaml --acl public-read --region $r;

aws s3 cp deploy-vpc.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy-vpc.yaml --acl public-read --region $r;

aws s3 cp deploy-admin-host.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy-admin-host.yaml --acl public-read --region $r;
done
2 changes: 1 addition & 1 deletion deploy-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Resources:
- Arn
Code:
S3Bucket: !Sub awslabs-code-${AWS::Region}
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7 .zip'
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.8.zip'
Runtime: nodejs12.x
VpcConfig:
SecurityGroupIds:
Expand Down
2 changes: 1 addition & 1 deletion deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Resources:
- Arn
Code:
S3Bucket: !Sub awslabs-code-${AWS::Region}
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7.zip'
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.8.zip'
Runtime: nodejs12.x


Binary file added dist/AWSLambdaRedshiftLoader-2.7.8.zip
Binary file not shown.
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-lambda-redshift-loader",
"description": "An Amazon Redshift Database Loader written for AWS Lambda",
"version": "2.7.7",
"version": "2.7.8",
"homepage": "http://github.com/awslabs/aws-lambda-redshift-loader",
"bugs": {
"url": "http://github.com/awslabs/aws-lambda-redshift-loader/issues",
Expand All @@ -17,7 +17,8 @@
"pgpass": "1.0.2",
"regex": "^0.1.1",
"uuid": "3.3.3",
"winston": "^3.2.1"
"winston": "^3.2.1",
"lodash": ">=4.17.19"
},
"keywords": [
"amazon",
Expand Down

0 comments on commit bc388b2

Please sign in to comment.