Skip to content

Commit

Permalink
Fixing #211
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMeyers committed Jul 3, 2020
1 parent 7c67097 commit d646c2a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions common.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@ function createS3EventSource (s3, lambda, bucket, prefix, functionName, callback
callback();
}
});
} else {
callback("Configuration Already Exists");
}
}
});
Expand Down
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.6.zip'
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7 .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.6.zip'
S3Key: 'LambdaRedshiftLoader/AWSLambdaRedshiftLoader-2.7.7.zip'
Runtime: nodejs12.x


Binary file added dist/AWSLambdaRedshiftLoader-2.7.7.zip
Binary file not shown.
5 changes: 2 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion 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.6",
"version": "2.7.7 ",
"homepage": "http://github.com/awslabs/aws-lambda-redshift-loader",
"bugs": {
"url": "http://github.com/awslabs/aws-lambda-redshift-loader/issues",
Expand Down

1 comment on commit d646c2a

@taoweng100
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo with the version. extra space at the end of 2.7.7.
I got this error:
error Can't add "aws-lambda-redshift-loader": invalid package version "2.7.7 ".

could you please fix?

Please sign in to comment.