variables.tf 1.42 KB
Newer Older
1
2
3
4
5
6
7
variable "billing_id" {
  type        = string
  description = "The Billing Account ID of the customer's GCP at U-M billing account."
}

variable "division" {
  type = string
8
  description = "Must be one of \"campus\",\"its\", \"mm\", or \"hipaa\""
9
10

  validation {
11
12
    condition     = var.division == "campus" || var.division == "its" || var.division == "mm" || var.division == "hipaa"
    error_message = "The division value must be one of \"campus\",\"its\", \"mm\", or \"hipaa\"."
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  }
}

variable "folder_id" {
  type        = string
  description = "The Folder ID of the customer's GCP at U-M folder."
}

variable "mcomm_group_email" {
  type = string
  description = "The MCommunity Group of the GCP Customer Folder"
}

variable "database_function_url" {
    type = string
Kenny Moore's avatar
Kenny Moore committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
}

variable "shortcode" {
  type = string
  description = "The default shortcode to associate with the billing subaccount"
}

variable "environment" {
  type = string
  description = "The environment the customer folder will be created in.  Defaults to \"prod\""  

    validation {
    condition     = var.environment == "dev" || var.environment == "test" || var.environment == "prod"
    error_message = "The environment value must be one of \"dev\",\"test\", or \"prod\"."
  }
Kenny Moore's avatar
Kenny Moore committed
43
44
45
46
47
48
49
50
51
52
53
}

variable "audit_logs_access" {
  type = string
  description = "MCommunity group that will be given permission to GCS bucket and/or BQ dataset"
}

# variable "big_query" {
#   type = bool
  
# }