-
Notifications
You must be signed in to change notification settings - Fork 16
/
variables.tf
104 lines (88 loc) · 2.84 KB
/
variables.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
variable "repo_name" {
type = string
description = "Name of the CodeCommit repository"
}
variable "name_prefix" {
type = string
description = "Prefix to attach to repo name"
default = ""
nullable = false
}
variable "schedule_expression" {
type = string
description = "CloudWatch Event schedule that triggers the CodeBuild job"
}
variable "buildspec" {
type = string
description = "Buildspec used when a tag reference is created or updated"
default = ""
}
variable "badge_enabled" {
type = bool
description = "Generates a publicly-accessible URL for the projects build badge"
default = null
}
variable "build_timeout" {
type = number
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"
default = null
}
variable "queued_timeout" {
type = number
description = "How long in minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it times out"
default = null
}
variable "encryption_key" {
type = string
description = "The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts"
default = null
}
variable "source_version" {
type = string
description = "A version of the build input to be built for this project. If not specified, the latest version is used"
default = null
}
variable "tags" {
type = map(string)
description = "A map of tags to assign to the resource"
default = {}
}
variable "artifacts" {
type = map(string)
description = "Map defining an artifacts object for the CodeBuild job"
default = {}
}
variable "environment" {
type = map(string)
description = "Map describing the environment object for the CodeBuild job"
default = {}
}
variable "environment_variables" {
type = list(map(string))
description = "List of environment variable map objects for the CodeBuild job"
default = []
}
variable "vpc_config" {
description = "Object of inputs for the VPC configuration of the CodeBuild job"
type = object({
security_group_ids = list(string)
subnets = list(string)
vpc_id = string
})
default = null
}
variable "policy_arns" {
type = list(string)
description = "List of IAM policy ARNs to attach to the CodeBuild service role or null to support ignoring externally attached policies"
default = []
}
variable "policy_override" {
type = string
description = "IAM policy document in JSON that extends the basic inline CodeBuild service role"
default = ""
}
variable "python_runtime" {
type = string
description = "Python runtime for the handler Lambda function"
default = null
}