Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload lambda to region specific buckets #26

Merged
merged 8 commits into from
Jan 2, 2017

Conversation

lox
Copy link
Contributor

@lox lox commented Dec 23, 2016

Seems like lambda's need to be from a bucket in the same region, so this uploads to multiple regions.

@lox
Copy link
Contributor Author

lox commented Jan 1, 2017

@toolmantim this is currently blocked on needing the latest version of awscli on the build machine.

@toolmantim
Copy link
Contributor

I just updated it:

aws-cli/1.11.35 Python/2.7.6 Linux/3.13.0-77-generic botocore/1.4.92

The error in the build is now:

fatal error: An error occurred (InvalidRequest) when calling the ListObjects operation: You are attempting to operate on a bucket in a region that requires Signature Version 4.  You can fix this issue by explicitly providing the correct region location using the --region argument, the AWS_DEFAULT_REGION environment variable, or the region variable in the AWS CLI configuration file.  You can get the bucket's location by running "aws s3api get-bucket-location --bucket BUCKET".

@lox lox force-pushed the publish-lambda-to-all-regions branch from 3ba57d4 to 7b80bcc Compare January 2, 2017 00:21
@lox lox merged commit bbcb0fe into master Jan 2, 2017
@lox lox deleted the publish-lambda-to-all-regions branch January 2, 2017 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants