-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
76 lines (76 loc) · 2.12 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
variable "gcp_region" {
description = "Cloud region"
}
variable "gcp_project" {
description = "Cloud GCP project"
}
variable "node_type" {
description = "Machine type for nodes"
default = "n1-standard-2"
}
variable "gcp_zone" {
description = "availability zones"
}
variable "gke_cluster" {
description = "Name of your cluster "
}
variable "numnodes" {
description = "Number of nodes of the cluster"
default=3
}
variable "consul_nodes" {
description = "Number of Consul nodes (pods) of the Consul server cluster"
default=3
}
# variable "consul_hostname" {
# description = "FQDN of your Consul cluster"
# default=""
# }
variable "regional_k8s" {
description = "Set this to true if you want regional cluster with a master per zone"
default = false
}
variable "owner" {
description = "Owner name to tag clusters"
}
variable "gcs_bucket" {
description = "Bucket to save template files created"
}
variable "service_account" {
description = "Service Account to be used as scope permissions"
}
variable "default_gke" {
description = "Set it to true if you want to speed up GKE cluster creation by creating a default NodePool"
default = false
}
variable "default_network" {
description = "Set it to true if we want to use the default network in GCP where creating GKE clusters"
default = false
}
variable "dns_zone" {
description = "Cloud DNS zone to create record"
default = null
}
variable "consul_license" {
description = "License for Consul Enterprise"
default = null
}
variable "create_federation" {
description = "Set it to true if you want to deploy 2 Consul federated cluster"
default = true
}
variable "consul_enterprise" {
description = "Using Enterprise version if true"
default = false
}
variable "consul_version" {
description = "Consul version"
default = "1.8.6"
}
# variable "envoy_version" {
# description = "Envoy proxy version. Check supported matrix: https://www.consul.io/docs/connect/proxies/envoy#supported-versions"
# }
variable "chart_version" {
description = "Consul Helm chart version: https://www.consul.io/docs/k8s/upgrade/compatibility#supported-consul-versions"
default = "0.26.0"
}