Posts in Devops

CodeBuild with the Amazon Linux 2 environment

If you're using AWS CodeBuild to build your software, there's a gotcha if you're using the new Amazon Linux 2 environment. If you use your old buildspec.yml you will run into an error

Phase context status code: YAML_FILE_ERROR Message: This build image requires selecting at least one runtime version …

Written on by Michael Anckaert