-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
66 lines (55 loc) · 1.55 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
variable "name" {
description = "the name of your GCP project"
type = "string"
}
variable "parent" {
description = "the parent id of the object this will live under (folder or organisation)"
type = "string"
}
variable "billing_id" {
description = "Your gcp billing account id"
type = "string"
}
// Possibly split services into core_services and additional_services (so that core services never need to be respecified)
variable "services" {
description = "List of services to be enabled on the project"
type = set(string)
default = [
"cloudbuild.googleapis.com",
"cloudresourcemanager.googleapis.com",
"compute.googleapis.com",
"container.googleapis.com",
"containerregistry.googleapis.com",
"iam.googleapis.com",
"iamcredentials.googleapis.com",
"oslogin.googleapis.com",
"pubsub.googleapis.com",
"storage-api.googleapis.com",
"websecurityscanner.googleapis.com",
]
}
variable "service_account_name" {
description = "The name of the service account"
default = "ci-account"
}
variable "owners" {
description = "List of Users granted full access to the project"
type = list(string)
default = []
}
variable "developers" {
description = "List of Users with additional cloudbuild permissions"
type = list(string)
default = []
}
variable "viewers" {
description = "List of Users with view only access"
type = list(string)
default = []
}
variable "region" {
default = "europe-west2"
}
variable "suffix_length" {
default = 4
}