-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
113 lines (95 loc) · 2.35 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
variable "terraform_state" {
description = "Terraform backend state setup for S3"
type = map(string)
default = {}
}
variable "region" {
description = "region"
type = string
default = "eu-west-1"
}
variable "namespace" {
description = "Namespace"
type = string
default = ""
}
variable "name" {
description = "Name (e.g. project name)"
type = string
default = ""
}
variable "stage" {
description = "Stage (e.g. environment)"
type = string
default = ""
}
variable "attributes" {
description = "Additional attributes (e.g. `policy` or `role`)"
type = list(string)
default = []
}
variable "delimiter" {
description = "Delimiter to be used between `name`, `namespace`, `environment`, etc."
type = string
default = "-"
}
variable "tags" {
description = "Tags"
type = map(string)
default = {}
}
variable "codebuild_project_description" {
description = "Description of CodeBuild project"
type = string
default = ""
}
variable "codebuild_iam_policy_arns" {
description = "IAM Policy to be attached to role"
type = list(string)
default = []
}
variable "codepipeline_iam_policy_arns" {
description = "IAM Policy to be attached to role"
type = list(string)
default = []
}
variable "codebuild_env_vars" {
description = "A map of env vars to set in CodeBuild"
type = list(any)
default = []
}
variable "codebuild_compute_type" {
description = "CodeBuild compute type"
type = string
default = "BUILD_GENERAL1_SMALL"
}
variable "codebuild_image" {
description = "CodeBuild image"
type = string
default = "aws/codebuild/standard:2.0"
}
variable "codebuild_type" {
description = "CodeBuild image type"
type = string
default = "LINUX_CONTAINER"
}
variable "github_owner" {
description = "Github Repo owner/user"
type = string
default = ""
}
variable "github_repo" {
description = "Github repo name"
type = string
default = ""
}
variable "git_branch" {
description = "Git branch to build"
type = string
default = "master"
}
variable "ssm_param_name_github_token" {
description = "The SSM parameter store, parameter name which stores the github ouath token"
type = string
default = ""
}