aws-toolkit-eclipse icon indicating copy to clipboard operation
aws-toolkit-eclipse copied to clipboard

Error upload lambda function to AWS

Open anupamatrey opened this issue 5 years ago • 3 comments

Hello,

I was trying to write AWS Lambda function in Eclipse using this tutorial: http://docs.aws.amazon.com/toolkit-for-eclipse/v1/user-guide/lambda-tutorial.html

When i tried to upload the function to aws, the dialog in eclipse showed me this error:

Failed to load iam role in US East (Virginia): com.amazonaws.services.identitymanagement.model.AmazonIdentityManagementException: Credential should be scoped to a valid region, not 'us-east-2'. (Service: AmazonIdentityManagement; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: e1a33c7c-ebd8-11e7-ab2c-af22232 c632aa4a6).

anupamatrey avatar Nov 24 '18 19:11 anupamatrey

Sorry for the slow reply. Are you using the latest version of the plugin? You can find out the plugin versions through this https://wiki.eclipse.org/FAQ_How_do_I_find_out_what_plug-ins_have_been_installed%3F

zhangzhx avatar Feb 13 '19 01:02 zhangzhx

@zhangzhx , I am getting similar type of error. I am using 2.3.1v201807201743 version of AWS toolkit for eclipse core.

Failed to load bucket in US East (Ohio): com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 00E2446C761214B7; S3 Extended Request ID: p7danBfKK2Fkq5zZyjF+f7BlMEhW2SCDnBCixsVc2v2/h0NufeSsC92QC3EcAR4qw/9GHG1eWrc=), S3 Extended Request ID: p7danBfKK2Fkq5zZyjF+f7BlMEhW2SCDnBCixsVc2v2/h0NufeSsC92QC3EcAR4qw/9GHG1eWrc=.

deydeepankar2012 avatar Feb 19 '19 20:02 deydeepankar2012

It could be the same reason to #114.

zhangzhx avatar Feb 19 '19 20:02 zhangzhx