Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

variables.tf 5.13 KB
Newer Older
Kenny Moore's avatar
Kenny Moore committed
1
variable "project_name" {
2
3
  type        = string
  description = "The display name of the project."
Kenny Moore's avatar
Kenny Moore committed
4
}
5

Kenny Moore's avatar
Kenny Moore committed
6
variable "project_id" {
7
8
9
  type        = string
  default     = ""
  description = "The Project ID for the project. Should not be specified unless bringing in an existing project. Once set, cannot be changed."
Kenny Moore's avatar
Kenny Moore committed
10
}
11

12
variable "folder_id" {
13
14
  type        = string
  description = "The Folder ID of the customer's GCP at U-M folder."
Kenny Moore's avatar
Kenny Moore committed
15
16
}

17
18
19
variable "mcomm_group_email" {
  type        = string
  description = "The MCommunity Group to be given permission to the GCP Project"
Kenny Moore's avatar
Kenny Moore committed
20
}
21

Kenny Moore's avatar
Kenny Moore committed
22
variable "billing_id" {
23
24
  type        = string
  description = "The Billing Account ID of the customer's GCP at U-M billing account."
Kenny Moore's avatar
Kenny Moore committed
25
}
26

Kenny Moore's avatar
Kenny Moore committed
27
variable "security_contact" {
28
29
  type        = string
  description = "A contact to use for security questions about the GCP Project"
Kenny Moore's avatar
Kenny Moore committed
30
}
31

Kenny Moore's avatar
Kenny Moore committed
32
variable "egress_waiver" {
33
34
35
  type        = bool
  description = "Would you like to participate in the Data Egress Waiver? Should be true as long as you are not using this account for Massive Open Online Course (MOOC), video streaming, or hosting a web site hosting service."
  default     = true
Kenny Moore's avatar
Kenny Moore committed
36
}
37
38
39
40
41

variable "red_hat_byol" {
  type        = bool
  description = "Would you like access to Red Hat images that leverage our campus license?"
  default     = false
Kenny Moore's avatar
Kenny Moore committed
42
}
43

Kenny Moore's avatar
Kenny Moore committed
44
variable "log_export_destination" {
45
46
47
  type        = string
  description = "The pub/sub topic that logs will be sent to. This is not a customer facing setting."
  default     = "pubsub.googleapis.com/projects/vci-mcloud-service/topics/vci-service-project-logs-export"
Kenny Moore's avatar
Kenny Moore committed
48
49
}

50
51
52
variable "requestor" {
  type        = string
  description = "The person that made the initial request for the GCP Project"
Kenny Moore's avatar
Kenny Moore committed
53
54
}

55
56
57
variable "shortcode" {
  type        = string
  description = "The default shortcode to associate with the GCP Project"
Kenny Moore's avatar
Kenny Moore committed
58
59
60
}

variable "vpn" {
61
62
63
64
65
66
67
68
69
  type        = bool
  description = "Does the GCP project require a VPN?"
  default     = false
}

variable "vpn_network_size" {
  type        = number
  description = "The size of the network used for the VPN.  Defaults to 256 which creates a /24."
  default     = 256
Kenny Moore's avatar
Kenny Moore committed
70
71
}

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
variable "vpn_bgp_network" {
  type        = list(string)
  description = "The /30 BGP network allocated from UMnet. This is from NetBox (and should go away as a var at some point)."
}

variable "vpn_cloud_asn" {
  type        = string
  description = "The ASN number allocated from UMnet. This is from NetBox (and should go away as a var at some point)."
}

variable "um_vpn_endpoint" {
  type = list(object({
    ip  = string  
    asn = string
  }))

  description = "The UMnet VPN endpoints."
}

variable "gke_vpc_ranges" {
  type        = bool
Kenny Moore's avatar
Kenny Moore committed
93
  description = "If set to true, will create secondary IP address ranges in the first network in the region list"
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
  default     = false
}

variable "vpc_prefix" {
  type    = string
  default = "um-"
}

variable "region" {
  type        = string
  description = "Google regions to provision VPC resources in.  Defaults to [ \"us-central1\", \"us-east1\", \"us-east4\", \"us-west1\" ]."
  default     = [
    "us-central1",
    "us-east1",
    "us-east4",
    "us-west1",
  ]
}
 
variable "dt_phi" {
  type        = bool
  description = "Does or will the GCP project contain Protected Health Information (ePHI, HIPAA)?"
  default     = false
}

variable "dt_ferpa" {
  type        = bool
  description = "Does or will the GCP project contain Student Education Records (FERPA)?"
  default     = false
}

variable "dt_glba" {
  type        = bool
  description = "Does or will the GCP project contain Student Loan Application Information (GLBA)?"
  default     = false
}

variable "dt_hsr" {
  type        = bool
  description = "Does or will the GCP project contain Human Subject Research (HSR)?"
  default     = false
}

variable "dt_ssn" {
  type        = bool
  description = "Does or will the GCP project contain Social Security Numbers (SSN)?"
  default     = false
}

variable "dt_acp" {
  type        = bool
  description = "Does or will the GCP project contain Attorney/Client Privileged Information?"
  default     = false
}

variable "dt_pii" {
  type        = bool
  description = "Does or will the GCP project contain Personally Identifiable Information (PII)?"
  default     = false
}

variable "dt_it_sec_info" {
  type        = bool
  description = "Does or will the GCP project contain IT Security Information?"
  default     = false
}

variable "dt_pci" {
  type        = bool
  description = "Does or will the GCP project contain Credit Card/Payment Card Information (PCI)?"
  default     = false
}

variable "dt_itar" {
  type        = bool
  description = "Does or will the GCP project contain Export Controlled Research (ITAR, EAR)?"
  default     = false
}

variable "dt_fisma" {
  type        = bool
  description = "Does or will the GCP project contain Federal Information Security Management Act Data (FISMA)?"
  default     = false
}

variable "dt_other_data" {
  type        = bool
  description = "Does or will the GCP project contain Other Sensitive Data?  If so, specify in dt_other_data_info."
  default     = false
}

variable "dt_other_data_info" {
  type        = string
  description = "A description of the Other Sensitive Data"
  default     = ""
}