aws-deployment-framework: CodeBuild error COMMAND_EXECUTION_ERROR

Not sure if this is fixed in 1.2.2, but I get this error in CodeBuild codepipeline/aws-deployment-framework-bootstrap-pipeline on the master acccount


[Container] 2019/07/29 09:49:26 Phase complete: PRE_BUILD State: SUCCEEDED 
[Container] 2019/07/29 09:49:26 Phase context status code:  Message:  
[Container] 2019/07/29 09:49:26 Entering phase BUILD 
[Container] 2019/07/29 09:49:26 Running command sam build -t deployment/global.yml 
/usr/local/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.3) or chardet (3.0.4) doesn't match a supported version! 
  RequestsDependencyWarning) 
Error: Template file not found at /codebuild/output/src794385070/src/deployment/global.yml 
 
[Container] 2019/07/29 09:49:26 Command did not exit successfully sam build -t deployment/global.yml exit status 1 
[Container] 2019/07/29 09:49:26 Phase complete: BUILD State: FAILED 
[Container] 2019/07/29 09:49:26 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sam build -t deployment/global.yml. Reason: exit status 1 
[Container] 2019/07/29 09:49:26 Entering phase POST_BUILD 
[Container] 2019/07/29 09:49:26 Phase complete: POST_BUILD State: SUCCEEDED 
[Container] 2019/07/29 09:49:26 Phase context status code:  Message:  

Going to give a try after cleanup with 1.2.2

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16

Most upvoted comments

Hi @sbkok I had solved the problem. Thanks for reaply.

finlly, image thank you @bundyfx

@bundyfx I have same problem in the Codebuild, I have done Build Action and all ok and fine after same code give problem:

PRE_BUILD Failed COMMAND_EXECUTION_ERROR: Error while executing command: chmod +x codebuild/*. Reason: exit status 1

Could you help me, thanks