aws-lambda-jenkins-plugin icon indicating copy to clipboard operation
aws-lambda-jenkins-plugin copied to clipboard

Plugin does not recognize env variable

Open mattia85 opened this issue 8 years ago • 0 comments

Hi, i'm trying to deploy lambda function using Use instance credentials option. I have exported the AWS credentials as env variable (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY_), but i'm getting the following error during the deploy.

com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain

I'm able to deploy the lambda function only by passing AWS Access Key Id and Secret explicitly or using default credentials located at ~/.aws Any one have the same problem? I'm using jenkins 2.73.2 with version 0.5.10 of lambda-jenkins-plugin.

Thanks. Mattia

mattia85 avatar Oct 31 '17 16:10 mattia85