-
Notifications
You must be signed in to change notification settings - Fork 8
/
variables.tf
130 lines (108 loc) · 2.75 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
variable "name" {
description = "The name of the Build"
type = string
}
variable "reponame" {
type = string
description = "The name of the repository"
default = ""
}
variable "force_artifact_destroy" {
type = string
description = "Force the removal of the artifact S3 bucket on destroy (default: false)."
default = false
}
variable "build_timeout" {
description = "The time to wait for a CodeBuild to complete before timing out in minutes (default: 5)"
type = string
default = "60"
}
variable "role" {
description = "Override for providing a role"
default = ""
type = string
}
variable "common_tags" {
type = map(any)
description = "An AWS tagging scheme"
}
variable "artifact" {
description = "Populates the Artifact block"
default = {
packaging = "NONE"
namespace_type = "NONE"
}
}
variable "projectroot" {
description = "The name of the parent project for SSM"
type = string
default = "core"
}
variable "description" {
description = "Yeah it's the description"
type = string
default = ""
}
variable "bucketname" {
description = ""
default = ""
type = string
}
variable "defaultbranch" {
description = "The default git branch"
type = string
default = "master"
}
variable "environment" {
description = "A map to describe the build environment and populate the environment block"
type = map(any)
default = {
privileged_mode = "false"
type = "LINUX_CONTAINER"
image = "aws/codebuild/nodejs:6.3.1"
compute_type = "BUILD_GENERAL1_SMALL"
}
}
variable "sourcecode" {
description = "A map to describe where your sourcecode comes from, to fill the sourcecode block in a Codebuild project "
type = map(any)
default = {
type = "CODECOMMIT"
location = ""
buildspec = ""
}
}
variable "sse_algorithm" {
description = "The type of encryption algorithm to use"
type = string
default = "aws:kms"
}
variable "encryption_disabled" {
description = "Disable the encryption of artifacts"
type = bool
default = false
}
variable "artifact_type" {
description = "The Artifact type, S3, CODEPIPELINE or NO_ARTIFACT"
type = string
default = "S3"
}
variable "versioning" {
type = string
description = "Set bucket to version"
default = "Enabled"
}
variable "mfa_delete" {
type = string
description = "Require MFA to delete"
default = "Disabled"
}
variable "kms_key_id" {
type = string
description = "Your Custom KMS key"
default = ""
}
variable "logs_bucket" {
type = string
description = "The bucket id and path for storing the logs "
}