Trigger a build on demand.
Name | Version |
---|---|
terraform | >= 0.12 |
No providers.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
repo_name | Name of the CodeCommit repository | string |
n/a | yes |
artifacts | Map defining an artifacts object for the CodeBuild job | map(string) |
{} |
no |
badge_enabled | Generates a publicly-accessible URL for the projects build badge | bool |
null |
no |
build_timeout | How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed | number |
null |
no |
buildspec | Buildspec used when a tag reference is created or updated | string |
"" |
no |
encryption_key | The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts | string |
null |
no |
environment | Map describing the environment object for the CodeBuild job | map(string) |
{} |
no |
environment_variables | List of environment variable map objects for the CodeBuild job | list(map(string)) |
[] |
no |
name_prefix | Prefix to attach to repo name | string |
"" |
no |
policy_arns | List of IAM policy ARNs to attach to the CodeBuild service role or null to support ignoring externally attached policies | list(string) |
[] |
no |
policy_override | IAM policy document in JSON that extends the basic inline CodeBuild service role | string |
"" |
no |
queued_timeout | How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out | number |
null |
no |
source_version | A version of the build input to be built for this project. If not specified, the latest version is used | string |
null |
no |
tags | A map of tags to assign to the resource | map(string) |
{} |
no |
vpc_config | Object of inputs for the VPC configuration of the CodeBuild job | object({ |
null |
no |
Name | Description |
---|---|
codebuild_project_arn | ARN of the CodeBuild Project |
codebuild_project_name | Name of the CodeBuild Project |
codebuild_project_service_role | ARN of the CodeBuild Project Service Role |