The integration of Meterian with AWS CodeBuild is very simple and it requires just a couple of steps.
Create a new project or edit an existing one.
In the "Environment section":
Click on "Override image" and make sure the "Privileged" flag is checked
Specify here the METERIAN_API_TOKEN by clicking on "Additional configuration" at the bottom of the page.
In the buildspec (or yaml script) under the ‘build>commands’ section add this snippet:
# build:# commands:- docker pull -q meterian/cli- docker run meterian/cli [Meterian CLI Options]
Learn more about the Meterian Client here.