aws-lambda-jenkins-plugin
aws-lambda-jenkins-plugin copied to clipboard
Plugin does not recognize env variable
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