AWS CodePipeline, build failed & getting error as YAML_FILE_ERROR M
The YAML file being referenced is the buildspec.yml file required by CodeBuild. More information can be found at http://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html