appleboy / lambda-action

GitHub Action for Deploying Lambda code to an existing function
https://github.com/marketplace/actions/aws-lambda-deploy
MIT License
392 stars 56 forks source link

invalid header field value for "Authorization" #69

Open ryan-horizon opened 1 year ago

ryan-horizon commented 1 year ago

Hi,

We are trying to deploy a lambda and we are getting this error

2023/06/24 04:12:53 Update function configuration ...
2023/06/[24](https://github.com/Her-Black-Book/cloudinary/actions/runs/5362433867/jobs/9729410188#step:6:25) 04:12:53 RequestError: send request failed
caused by: Get "https://lambda.ap-southeast-2.amazonaws.com/2015-03-31/functions/CloudinaryStagingLambda/configuration": net/http: invalid header field value for "Authorization"

For testing we granted admin policy access to the User we using for deployment and also the Role for the lambda, but we are still getting the same error. Any leads as to what might be causing this?

Regards