Skip to content

HappyPathway/terraform-aws-codebuild

Repository files navigation

Requirements

No requirements.

Providers

Name Version
aws 5.53.0

Modules

No modules.

Resources

Name Type
aws_codebuild_project.terraform_codebuild_project resource
aws_iam_role.codebuild resource
aws_iam_role_policy.codebuild resource
aws_iam_policy_document.assume_role data source
aws_iam_policy_document.codebuild data source

Inputs

Name Description Type Default Required
assets_bucket_name Name of the S3 bucket used to store the deployment artifacts string "image-pipeline-assets" no
build_project_source Information about the build output artifact location string n/a yes
build_projects List of Names of the CodeBuild projects to be created
list(object({
name = string,
vars = optional(map(string), {})
environment_variables = optional(list(object({
name = string
value = string
type = string
})), [])
buildspec = optional(string)
project_source = optional(string)
}))
n/a yes
builder_compute_type Information about the compute resources the build project will use string n/a yes
builder_image Docker image to use for the build project string "happypathway/aws-codebuild-image-pipeline:latest" no
builder_image_pull_credentials_type Type of credentials AWS CodeBuild uses to pull images in your build. string n/a yes
builder_images n/a map(string) n/a yes
builder_type Type of build environment to use for related builds string n/a yes
docker_build n/a bool false no
environment_variables n/a
list(object({
name = string
value = string
type = string
}))
[] no
kms_key_arn ARN of KMS key for encryption string n/a yes
packer_config Name of Packer Config in Repo string "build.pkr.hcl" no
packer_version Packer CLI Version string "1.10.3" no
project_name Unique name for this project string n/a yes
required_packages n/a
list(object({
src = string
dest = string
}))
[] no
role_arn Codepipeline IAM role arn. string "" no
s3_bucket_name Name of the S3 bucket used to store the deployment artifacts string n/a yes
state n/a
object({
bucket = string
key = string
region = string
dynamodb_table = string
})
n/a yes
tags Tags to be applied to the codebuild project map(any) n/a yes
terraform_version n/a string n/a yes
test_project_source Information about the test output artifact location string n/a yes
troubleshoot n/a bool false no
vpc_config n/a
object({
security_group_ids = list(string)
subnets = list(string)
vpc_id = string
})
null no

Outputs

Name Description
arn The ARN of the CodeBuild project
badge_url The URL of the build badge when badge_enabled is enabled
id The name (if imported via name) or ARN (if created via Terraform or imported via ARN) of the CodeBuild project
name The name of the CodeBuild project
service_role The ARN of the IAM service role applied to this project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages