forked from plus3it/terraform-aws-codecommit-flow-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
74 lines (64 loc) · 2.13 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
variable "repo_name" {
type = string
description = "Name of the CodeCommit repository"
}
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 "policy_arns" {
type = list(string)
description = "List of IAM policy ARNs to attach to the CodeBuild service role"
default = []
}
variable "policy_override" {
type = string
description = "IAM policy document in JSON that extends the basic inline CodeBuild service role"
default = ""
}