This repository was archived by the owner on Jun 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
66 lines (54 loc) · 1.7 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
variable "project" {
description = "Name of GCP project."
type = string
}
variable "region" {
description = "Region of GCP project."
type = string
}
variable "zone" {
description = "Zone of GCP project - optional parameter, if not set, the instances will be spread across the available zones."
default = null
}
variable "instance_name" {
description = "Base for GCE instances name."
}
variable "cluster_ipv4_cidr" {
description = "IPv4 CIDR of k8s cluster used for ES communication."
}
variable "node_count" {
description = "Number of ES nodes to deploy."
default = "1"
}
variable "heap_size" {
description = "Heap size setting for ES."
default = "1800m"
type = string
}
variable "cluster_name" {
description = "ES cluster name."
type = string
}
variable "raw_image_source" {
description = "URL of tar archive containing RAW source for ES image (you can use Packer image template to generate image, as mentioned above)."
default = "https://storage.googleapis.com/ackee-images/ackee-elasticsearch-7-disk-79.tar.gz"
type = string
}
variable "data_disk_type" {
description = "Type of disk used as a persistent storage."
default = "pd-ssd"
type = string
}
variable "data_disk_size" {
description = "Persistent disk size specified in GB."
}
variable "k8s_enable" {
description = "Enable k8s extension to deploy endpoints to cluster members and internal load balancer as a k8s service, use only with k8s provider setup previously"
type = bool
default = false
}
variable "namespace" {
default = "production"
description = "K8s namespace used to deploy endpoints and services."
type = string
}