-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
94 lines (80 loc) · 2.13 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
82
83
84
85
86
87
88
89
90
91
92
93
94
variable "gcp_region" {
type = string
description = "The target GCP region for the cluster."
}
variable "gcp_zone" {
type = string
description = "The target GCP zone for the cluster."
}
variable "gcp_project" {
type = string
description = "The target GCP project for the cluster."
}
variable "vpc_routing_mode" {
type = string
description = "The network-wide routing mode to use."
}
variable "clustername" {
type = string
description = "The name of the cluster."
}
variable "master_cidr_block" {
type = string
description = <<EOF
The IP address space from which to assign machine IPs.
Default "10.0.0.0/17"
EOF
default = "10.0.0.0/17"
}
variable "worker_cidr_block" {
type = string
description = <<EOF
The IP address space from which to assign machine IPs.
Default "10.0.128.0/17"
EOF
default = "10.0.128.0/17"
}
variable "bastion_cidr_block" {
type = string
description = <<EOF
The IP address space from which to deploy the bastion / jumphost.
Default "10.0.128.0/17"
EOF
default = "10.0.128.0/17"
}
variable "enable_osd_gcp_bastion" {
description = <<EOF
If set to true, deploy a bastion in the OSD in GCP private subnet.
Variable osd_gcp_private needs to be enabled."
EOF
type = bool
default = false
}
variable "osd_gcp_private" {
description = "If set to true, deploy a second vpc/network for a OSD in GCP private install"
type = bool
default = false
}
variable "bastion_machine_type" {
type = string
description = <<EOF
The Machine Type from for our Bastion.
Default "e2-micro"
EOF
default = "e2-micro"
}
variable "bastion_key_loc" {
type = string
default = "~/.ssh/id_rsa.pub"
description = "Public key for bastion host"
}
variable "gcp_sa_file_loc" {
type = string
default = "~/.ssh/id_rsa_sa.json"
description = "Path to private json for OSD on GCP Admin Service Account"
}
variable "only_deploy_infra_no_osd" {
description = "If set to true, only the networking infra will be deployed, not the OSD in GCP cluster"
type = bool
default = false
}