Photo by Danist Soh on Unsplash
YAML_FILE_ERROR Message: Unknown runtime version named
AWS/AWS CodeBuild
- outline
Images used in CodeBuild are various depending on the application version. If the run-time version specified in the buildspec is not supported in the codebuild image, an error occurs as follows.
- error message
Phase context status code: YAML_FILE_ERROR Message: Unknown runtime version named
- how-to-change-image
choose codebuild project -> Environment Edit -> Override image -> choose "image"
- reference
https://docs.aws.amazon.com/codebuild/latest/userguide/available-runtimes.html