Skip to content

Commit

Permalink
Add build_type
Browse files Browse the repository at this point in the history
  • Loading branch information
drselump14 committed Jan 30, 2023
1 parent 6050ef5 commit dd82c7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ module "codebuild" {
enabled = module.this.enabled
source = "cloudposse/codebuild/aws"
version = "1.0.0"
build_type = var.build_type
build_image = var.build_image
build_compute_type = var.build_compute_type
build_timeout = var.build_timeout
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ variable "build_timeout" {
description = "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"
}

variable "build_type" {
type = string
default = "LINUX_CONTAINER"
description = "The type of build environment, e.g. 'LINUX_CONTAINER' or 'WINDOWS_CONTAINER' or 'ARM_CONTAINER'"
}

variable "buildspec" {
type = string
default = ""
Expand Down

0 comments on commit dd82c7e

Please sign in to comment.