-
Notifications
You must be signed in to change notification settings - Fork 1
/
codebuild.tf
50 lines (39 loc) · 1.54 KB
/
codebuild.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module "codebuild" {
source = "rms1000watt/codebuild/aws"
version = "0.1.16"
project_name = "${local.project_name}"
project_description = "${var.project_description}"
build_spec = "${var.build_spec}"
build_timeout = "${var.build_timeout}"
tags = "${var.tags}"
artifacts_type = "${var.artifacts_type}"
builder_size = "${var.builder_size}"
builder_image = "${var.builder_image}"
builder_role_arn = "${local.builder_role_arn}"
github_repo = "${local.codebuild_github_repo}"
github_clone_depth = "${var.github_clone_depth}"
env_keys = ["${var.env_keys}"]
env_vals = ["${var.env_vals}"]
vpc_id = "${var.vpc_id}"
subnets = ["${var.subnets}"]
security_groups = ["${var.security_groups}"]
}
module "codebuild_integration_test" {
source = "rms1000watt/codebuild/aws"
version = "0.1.16"
project_name = "${local.project_name_integration_test}"
project_description = "${var.project_description}"
build_spec = "${var.test_spec}"
build_timeout = "${var.build_timeout}"
tags = "${var.tags}"
builder_size = "${var.builder_size}"
builder_image = "${var.builder_image}"
builder_role_arn = "${local.builder_role_arn}"
github_repo = "${local.codebuild_github_repo}"
github_clone_depth = "${var.github_clone_depth}"
env_keys = ["${var.env_keys}"]
env_vals = ["${var.env_vals}"]
vpc_id = "${var.vpc_id}"
subnets = ["${var.subnets}"]
security_groups = ["${var.security_groups}"]
}