Using the EB CLI with AWS CodeBuild
You can use the EB CLI to build your application from your source code using AWS CodeBuild. With AWS CodeBuild, you can compile your source code, run unit tests, and produce artifacts that are ready to deploy.
Creating an Application
You can use the Elastic Beanstalk CLI to create an application that uses AWS CodeBuild to compile your source code.
If you run
eb init in a folder with a
Elastic Beanstalk detects the file and parses it to detect any Elastic Beanstalk settings.
Elastic Beanstalk extends the
format of the buildspec.yml file
to include the following additional settings, as described in