Skip to content

Commit b004be3

Browse files
committed
Add build_type
1 parent 229e636 commit b004be3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ module "codebuild" {
214214
enabled = module.this.enabled
215215
source = "cloudposse/codebuild/aws"
216216
version = "1.0.0"
217+
build_type = var.build_type
217218
build_image = var.build_image
218219
build_compute_type = var.build_compute_type
219220
build_timeout = var.build_timeout

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ variable "build_timeout" {
6565
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"
6666
}
6767

68+
variable "build_type" {
69+
type = string
70+
default = "LINUX_CONTAINER"
71+
description = "The type of build environment, e.g. 'LINUX_CONTAINER' or 'WINDOWS_CONTAINER' or 'ARM_CONTAINER'"
72+
}
73+
6874
variable "buildspec" {
6975
type = string
7076
default = ""

0 commit comments

Comments
 (0)