Skip to content

Commit bc388b2

Browse files
committed
Fixing lodash dependabot alert
1 parent e7935f4 commit bc388b2

7 files changed

+21
-17
lines changed

bin/deploy-yaml.sh

-8
This file was deleted.

bin/deploy.sh

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
ver=`cat package.json | grep "version" | cut -d: -f2 | sed -e "s/[\"\,]//g" | tr -d '[:space:]'`
55
token=AWSLambdaRedshiftLoader
66

7+
echo "Deploying Lambda Redshift Loader $ver to AWSLabs S3 Buckets"
8+
79
for r in `aws ec2 describe-regions --query Regions[*].RegionName --output text`; do
10+
# publish the build
811
aws s3 cp dist/$token-$ver.zip s3://awslabs-code-$r/LambdaRedshiftLoader/$token-$ver.zip --acl public-read --region $r;
12+
13+
# publish deploy.yaml to regional buckets
14+
aws s3 cp deploy.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy.yaml --acl public-read --region $r;
15+
16+
aws s3 cp deploy-vpc.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy-vpc.yaml --acl public-read --region $r;
17+
18+
aws s3 cp deploy-admin-host.yaml s3://awslabs-code-$r/LambdaRedshiftLoader/deploy-admin-host.yaml --acl public-read --region $r;
919
done

deploy-vpc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Resources:
119119
- Arn
120120
Code:
121121
S3Bucket: !Sub awslabs-code-${AWS::Region}
122-
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7 .zip'
122+
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.8.zip'
123123
Runtime: nodejs12.x
124124
VpcConfig:
125125
SecurityGroupIds:

deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Resources:
9898
- Arn
9999
Code:
100100
S3Bucket: !Sub awslabs-code-${AWS::Region}
101-
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7.zip'
101+
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.8.zip'
102102
Runtime: nodejs12.x
103103

104104

2.97 MB
Binary file not shown.

package-lock.json

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "aws-lambda-redshift-loader",
33
"description": "An Amazon Redshift Database Loader written for AWS Lambda",
4-
"version": "2.7.7",
4+
"version": "2.7.8",
55
"homepage": "http://github.com/awslabs/aws-lambda-redshift-loader",
66
"bugs": {
77
"url": "http://github.com/awslabs/aws-lambda-redshift-loader/issues",
@@ -17,7 +17,8 @@
1717
"pgpass": "1.0.2",
1818
"regex": "^0.1.1",
1919
"uuid": "3.3.3",
20-
"winston": "^3.2.1"
20+
"winston": "^3.2.1",
21+
"lodash": ">=4.17.19"
2122
},
2223
"keywords": [
2324
"amazon",

0 commit comments

Comments
 (0)