-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
81 lines (60 loc) · 1.2 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
# Mandatory Variables
variable "project" {
type = string
}
variable "domains" {
type = list(string)
}
# Example: account@projectname.iam.gserviceaccount.com
variable "account_email" {
type = string
}
variable "account_json_path" {
type = string
}
variable "ssh_username" {
type = string
}
variable "vault_bucket_name" {
type = string
}
# Optional Global Variables
variable "subdomain" {
default = ""
}
variable "nomad_address" {
default = ""
}
variable "network_name" {
default = "default-network"
}
variable "firewall_name" {
default = "default-firewall"
}
variable "zone" {
default = "us-central1-a"
}
variable "tags" {
default = ["allow-icmp", "consul-join"]
}
# Best Practice: https://cloud.google.com/compute/docs/access/service-accounts?hl=en_US#accesscopesiam
variable "account_scopes" {
default = ["cloud-platform"]
}
variable "network_tier" {
default = "STANDARD"
}
# Optional Client Variables
variable "client_target_size" {
default = 1
}
variable "client_machine_type" {
default = "g1-small"
}
# Optional Server Variables
variable "server_target_size" {
default = 1
}
variable "server_machine_type" {
default = "g1-small"
}