forked from dcallao/consul-gcp-lab
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
68 lines (57 loc) · 1.55 KB
/
variables.tf
File metadata and controls
68 lines (57 loc) · 1.55 KB
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
variable "project_name" {
type = string
default = "my-demo"
description = "Name of the GCP project to create resources in."
}
variable "region" {
type = string
default = "us-east1"
description = "GCP region to create resources in."
}
variable "zone" {
type = string
default = "us-east1-c"
description = "GCP zone to create resources in."
}
variable "machine_type" {
type = string
default = "g1-small"
description = "Machine type to use."
}
variable "datacenter" {
type = string
default = "us-east1"
description = "Datacenter name to use."
}
variable "network" {
type = string
default = "my-network"
description = "Network to use."
}
variable "consul_nodes" {
default = "1"
description = "Number of Consul instances"
}
variable "bootstrap_consul_vm" {
type = bool
default = false
description = "Initial Consul on VM bootstrap configurations"
}
variable "bootstrap_docker_consul_container" {
type = bool
default = true
description = "Initial docker Consul and clients bootstrap configurations"
}
variable "consul_cluster_version" {
default = "0-0-1"
description = "Custom Version Tag for Upgrade Migrations"
}
variable "gcp_health_check_cidr" {
type = list(string)
default = ["35.191.0.0/16", "130.211.0.0/22", "209.85.152.0/22", "209.85.204.0/22"]
}
variable "allowed_inbound_cidrs" {
type = list(string)
description = "List of CIDR blocks to permit inbound Consul access from"
default = ["0.0.0.0/0"]
}