File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 4
4
ver=` cat package.json | grep " version" | cut -d: -f2 | sed -e " s/[\" \,]//g" | tr -d ' [:space:]' `
5
5
token=AWSLambdaRedshiftLoader
6
6
7
+ if [[ " $1 " == " " ]] ; then
8
+ echo " Please provide argument of 'binary', 'yaml', or 'all' to deploy to S3."
9
+ exit -1
10
+ fi
11
+
12
+ if [[ " $ver " == " " ]]; then
13
+ echo " Please run deploy.sh from project root directory, as ./bin/deploy.sh <deploy type>"
14
+ exit -1
15
+ fi
16
+
7
17
echo " Deploying Lambda Redshift Loader $ver to AWSLabs S3 Buckets"
8
18
9
19
for r in ` aws ec2 describe-regions --query Regions[* ].RegionName --output text` ; do
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ Resources:
119
119
- Arn
120
120
Code :
121
121
S3Bucket : !Sub awslabs-code-${AWS::Region}
122
- S3Key : ' LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.8.2 .zip'
122
+ S3Key : ' LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.8.3 .zip'
123
123
Runtime : nodejs12.x
124
124
VpcConfig :
125
125
SecurityGroupIds :
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Resources:
98
98
- Arn
99
99
Code :
100
100
S3Bucket : !Sub awslabs-code-${AWS::Region}
101
- S3Key : ' LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.8.2 .zip'
101
+ S3Key : ' LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.8.3 .zip'
102
102
Runtime : nodejs12.x
103
103
104
104
You can’t perform that action at this time.
0 commit comments