aws-samples / aws-kube-code-service

The Code Services Continuous Deployment reference architecture demonstrates how to achieve continuous deployment of an application to a Kubernetes cluster using AWS CodePipeline, AWS CodeCommit, AWS CodeBuild and AWS Lambda.
Apache License 2.0
190 stars 159 forks source link

Getting error in Codesuite-Demo-Pipeline lambda which is failing the deployment #17

Open deepak94bs opened 4 years ago

deepak94bs commented 4 years ago

Hi,

We were implementing the solution in our test account but we are getting below error in Codesuite-Demo-Pipeline lambda which is not giving response to code deploy and the deployment is getting failed. Error: time="2020-02-17T14:39:37Z" level=fatal msg="unable to get deployment file" error="AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'\n\tstatus code: 400, request id: 6AF30721E6C2AC3E, host id: 7nZTwF7VC8wXcpUJT4szML5HD0KrZNZ1vUU+h+U2V+XbxYsXin/zykfvErJkQXch5iS2BliZ7L4="

The lambda code is go language which we can't see the code.

jimmyherron commented 4 years ago

+1

muhyousri commented 4 years ago

+1 I am getting the same error

Aymansaif commented 3 years ago

Hi getting similar -below- error despite the bucket is in eu-west-1 ? any idea ?

time="2021-06-11T22:28:04Z" level=fatal msg="unable to get deployment file" error="BucketRegionError: incorrect region, the bucket is not in 'eu-west-1' region\n\tstatus code: 301, request id: , host id: " time="2021-06-11T22:28:04Z" level=fatal msg="unable to get deployment file" error="BucketRegionError: incorrect region, the bucket is not in 'eu-west-1' region\n\tstatus code: 301, request id: , host id: "