aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 178 forks source link

Error upload lambda function to AWS #128

Open anupamatrey opened 5 years ago

anupamatrey commented 5 years ago

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).

zhangzhx commented 5 years ago

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

deydeepankar2012 commented 5 years ago

@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=.

zhangzhx commented 5 years ago

It could be the same reason to #114.