-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
70 lines (59 loc) · 1.62 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
variable "project_id" {
description = "admintuts"
default= "admintuts"
}
variable "region" {
description = "The region to host the cluster in"
default = "europe-west4"
}
variable "zones" {
description = "The region to host the cluster in"
default = ["europe-west4-a","europe-west4-b","europe-west4-c"]
}
variable "cluster_name" {
description = "The name for the GKE cluster"
default = "kubedemo"
}
variable "env_name" {
description = "The environment for the GKE cluster"
default = "prod"
}
variable "network" {
description = "The VPC network created to host the cluster in"
default = "gke-network"
}
variable "subnetwork" {
description = "The subnetwork created to host the cluster in"
default = "gke-subnet"
}
variable "subnetwork_ipv4_cidr_range" {
description = "The subnetwork ip cidr block range."
default = "10.20.0.0/14"
}
variable "ip_range_pods_name" {
description = "The secondary ip range to use for pods"
default = "ip-range-pods"
}
variable "pod_ipv4_cidr_range" {
description = "The cidr ip range to use for pods"
default = "10.24.0.0/14"
}
variable "ip_range_services_name" {
description = "The secondary ip range name to use for services"
default = "ip-range-services"
}
variable "services_ipv4_cidr_range" {
description = "The cidr ip range to use for services"
default = "10.28.0.0/20"
}
variable "ssh_user" {
description = "The user that Ansible will use"
default = "root"
}
variable "key_pairs" {
type = map
default = {
root_public_key = "keys/root_id_ed25519.pub",
root_private_key = "keys/root_id_ed25519"
}
}