Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Example: Access level - Org | Compute - Lambda (4 GB) | Mode - Container

module "codebuild_project" {
  source = "git@github.com:flexion/aws-codebuild-runner-project-tf-module.git?ref=1.0.0"

  name                     = "my-codebuild-project"
  description              = "Builds on workflow events"
  build_timeout            = 10
  service_role_arn         = aws_iam_role.codebuild-exec-role.arn
  // All environment variable defaults except Memory
  environment_compute_type = "BUILD_LAMBDA_4GB"
  // As the access level is org; source_location must be CODEBUILD_DEFAULT_WEBHOOK_SOURCE_LOCATION (this is default as well)
  // source_location          = "https://github.com/my-org/my-repo"
  codeconnections_arn      = aws_codeconnections_connection.private-code-connection.arn
  github_org_name          = "my-org"
}