-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
77 lines (64 loc) · 1.86 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
# Inputs
variable "project" {
type = string
description = "Google Cloud project name"
# default = "infra-mlflow-terraform"
}
variable "cred_file" {
type = string
description = "The (relative) path to the json service account credential file."
}
variable "zone" {
type = string
description = "The zone where the vm should be launched."
default = "us-east1-b"
}
variable "disk_name" {
type = string
description = "Name of the disk"
default = "mlflow-data"
}
variable "disk_size" {
type = number
description = "Size of the disk to attach (GB)"
default = 30
}
variable "bucket_name" {
type = string
description = "Name of the S3 bucket storing the models"
default = "mlflow-models"
}
variable "bucket_location" {
type = string
description = "Location of the S3 bucket storing the models"
default = "EUROPE-WEST6"
}
variable "machine_type" {
type = string
description = "The machine type to launch (must be available in the selected zone)."
default = "n1-standard-1"
}
variable "ssh_user" {
type = string
description = "The username that will be used to connect to the instance with the ssh pub key file"
default = "mlflow"
}
variable "ssh_pub_key_file" {
type = string
description = "Public ssh key file path"
default = "~/.ssh/id_rsa.pub"
}
variable "service_account_email" {
type = string
description = "Email of the (predefined) service account for the project (must match with cred_file)"
# default = "infra-mlflow-terraform@infra-mlflow-terraform.iam.gserviceaccount.com"
}
variable "mlflow_version" {
type = string
description = "Version of mlflow"
default = "1.12.1"
}
variable "mlflow_password" {
type = string
description = "Password to access the mlflow UI (with user mlflow)"
}