-
Notifications
You must be signed in to change notification settings - Fork 1
/
vars.tf
85 lines (68 loc) · 1.8 KB
/
vars.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
## Secrets ##
variable "project_name" {
type = string
description = "Project Name"
}
variable "instance_name" {
type = string
description = "Instance Name"
}
variable "ssh_keys" {
type = list(object({
key = string
user = string
}))
description = "List of SSH accounts to be created on Instance"
}
variable "credentials_file" {
type = string
description = "JSON file from Service Account Key creation"
default = "./creds.json"
}
## Ubuntu Versions ##
variable "ubuntu_min_1804" {
type = string
description = "Ubuntu Minimal - 18.04 - Bionic - LTS"
default = "ubuntu-os-cloud/ubuntu-minimal-1804-lts"
}
variable "ubuntu_min_2004" {
type = string
description = "Ubuntu Minimal - 20.04 - Focal - LTS"
default = "ubuntu-os-cloud/ubuntu-minimal-2004-lts"
}
variable "ubuntu_min_2204" {
type = string
description = "Ubuntu Minimal - 22.04 - Jammy - LTS"
default = "ubuntu-os-cloud/ubuntu-minimal-2204-lts"
}
## Free Tier ##
variable "machine_type_free" {
type = string
description = "Free VM type"
default = "e2-micro"
}
variable "zone_free_oregon" {
type = string
description = "Free Zone Oregon"
default = "us-west1-c"
}
variable "zone_free_iowa" {
type = string
description = "Free Zone Iowa"
default = "us-central1-c"
}
variable "zone_free_south_carolina" {
type = string
description = "Free Zone South Carolina"
default = "us-east1-c"
}
variable "disk_size_free" {
type = number
description = "Maximum allowed hard drive space in GB"
default = 30
}
variable "disk_type_free" {
type = string
description = "Allowed type of persistence"
default = "pd-standard"
}