title: How to force fail a CodeBuild (AWS)?
body: <p>Just started with exploring AWS CodeBuild. How do I force fail a build in the install or pre_build phase if a mandatory custom environment variable (e.g. TARGET_ENVIRONMENT) is not set? </p>