-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
102 lines (79 loc) · 2.68 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
variable "deployment_project_id" {
type = string
description = "The ID of a GCP project that will be generated."
}
variable "deployment_project_name" {
type = string
description = "The name of a GCP project that will be generated."
}
variable "deployment_project_folder_id" {
type = string
description = "The ID of a GCP project folder, in which to create a generated GCP project."
}
variable "deployment_project_labels" {
type = map(string)
nullable = false
default = {}
description = "Optional labels to apply to the GCP project"
}
variable "create_projects" {
type = bool
default = true
description = "Whether to create the projects in this module or not"
}
variable "deployment_project_billing_account" {
type = string
nullable = true
default = null
description = "The GCP billing account to use for the generated project."
}
variable "compute_project_id" {
type = string
default = null
nullable = true
description = "The ID of the GCP project used for executing pipeline tasks. This project is not generated by this script unless it is set to the deployment_project_id (the default)."
}
variable "billing_project_id" {
type = string
default = null
nullable = true
description = "The ID of the GCP project used for billing. This project is not generated by this script unless it is set to the deployment_project_id (the default)."
}
variable "region" {
type = string
default = "us-central1"
validation {
condition = contains([
"us-central1", "us-west2", "northamerica-northeast1", "europe-west2", "europe-west4", "asia-southeast1",
"asia-southeast2"
], var.region)
error_message = "Region must be one of: us-central1, us-west2, northamerica-northeast1, europe-west2, europe-west4, asia-southeast1, asia-southeast2"
}
description = "The GCP region in which to deploy Cromwell and where pipeline jobs are executed."
}
variable "zone" {
type = string
default = "us-central1-c"
description = "The GCP zone to use for the Cromwell deployment and any associated zonal resources."
}
variable "db_tier" {
type = string
default = "db-f1-micro"
description = "The tier of database instance to use for Cromwell's MySQL database."
}
variable "credential_version" {
type = number
default = 1
description = "A variable to force generated database credentials to rotate."
}
variable "allow_deletion" {
type = bool
default = false
description = "Set this to true in order to allow destroying stateful resources (buckets, DBs, etc.)"
}
variable "cromwell_version" {
type = string
nullable = false
default = 85
description = "Set the version of Cromwell to install"
}