Skip to main content
Version: Next

codebuild_project

Table to manage AWS CodeBuild project entities. AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces ready-to-deploy software packages.

A build project includes information about how to run a build, including where to get the source code, which build environment to use, which build commands to run, and where to store the build output.

A Codebuild project can be created, then successful builds can be triggered for that specific project.

See

https://docs.aws.amazon.com/codebuild/latest/userguide/builds-working.html

TODO support buildspec file in repo

Columns

Optional arn: string

AWS ARN for the Codebuild project

Optional build_spec: string

Text blob with the content of the BuildSpec for the project

See

https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html

compute_type: compute_type

Type of compute instance where to build the project

environment_type: environment_type

Type of environment where to build the project

Optional environment_variables: [{ name: string ; type: PLAINTEXT ; value: string }]

Internal environment variables to pass to the project builds

See

https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html

image: string

Base image where to build the project

See

https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html

privileged_mode: boolean

Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The AWS default setting is false.

project_name: string

Name for codebuild project

region: string

Region for the Codebuild project

service_role: iam_role

Service role used to manage the CodeBuild project interactions

See

https://docs.aws.amazon.com/codebuild/latest/userguide/setting-up.html#setting-up-service-role

source_location: string

Path for the project's source code For a GitHub repository, the HTTPS clone URL with the source code location

See

https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ProjectSource.html

source_type: source_type

Type of source code used in the project

Optional source_version: string

Version identifier for this specific project

See

https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html