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

Deploying China region using --use-s3-bucket #187

Closed
toshilam opened this issue May 5, 2019 · 3 comments
Closed

Deploying China region using --use-s3-bucket #187

toshilam opened this issue May 5, 2019 · 3 comments
Assignees
Labels

Comments

@toshilam
Copy link

toshilam commented May 5, 2019

  • Expected behaviour:
    when deploying lambda function to China region "cn-north-1" using --, calling : "claudia create"
    the full command :
claudia create --profile cn --name cn-func-prod --region cn-north-1 --api-module src/index --timeout 15 --memory 1024 --config claudia.cn.prod.json --version prod --role lambda-vpc-execution-role --use-s3-bucket xxx
  • What actually happens:
    always return :
    The AWS Access Key Id you provided does not exist in our records.

To fix this issue, passing region when initialize aws S3 in lambda-code.js "uploadToS3"

s3 = loggingWrap(new aws.S3({signatureVersion: 'v4', region: "targeted-region"}), {log: logger.logApiCall, logName: 's3'}),
@toshilam toshilam changed the title Deploy to China region using --use-s3-bucket Deploying China region using --use-s3-bucket May 5, 2019
@gojko gojko added the bug label May 6, 2019
@gojko gojko self-assigned this May 6, 2019
@gojko
Copy link
Member

gojko commented May 15, 2019

claudia 5.5.0 is now on NPM, should fix this. can you please try and let me know if it's OK?

@toshilam
Copy link
Author

claudia 5.5.0 is now on NPM, should fix this. can you please try and let me know if it's OK?

cool. will give it a try this weekend. thank you gojko

@gojko
Copy link
Member

gojko commented Jun 27, 2019

closing this due to inactivity. if something still needs to be done here, please reopen.

@gojko gojko closed this as completed Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants