forked from cthain/consul-eks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
74 lines (59 loc) · 1.65 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
variable "name" {
description = "The name of this deployment. If this is not provided a random ID will be used."
type = string
default = ""
}
# AWS
## VPC
variable "region" {
description = "The AWS region to create resources in."
type = string
default = "us-west-2"
}
variable "vpc_cidr" {
description = "VPC CIDR block."
type = string
default = "10.0.0.0/16"
}
variable "private_subnets" {
description = "List of private subnet CIDR blocks."
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}
variable "public_subnets" {
description = "List of public subnet CIDR blocks."
type = list(string)
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
}
## K8S
variable "k8s_version" {
type = string
description = "Version of Kubernetes to deploy to EKS."
default = "1.22"
}
# Consul
variable "consul_chart_version" {
description = "Version of the Helm chart used to install Consul."
type = string
default = "0.49.0"
}
variable "consul_datacenter" {
description = "The name of the Consul datacenter."
type = string
default = "dc1"
}
variable "consul_image" {
type = string
description = "The Consul version to deploy"
default = "hashicorp/consul:1.13.3"
}
variable "consul_secrets_name" {
description = "The name of the Kubernetes secret that holds Consul secrets."
type = string
default = "consul-secrets"
}
variable "consul_license_path" {
description = "The path to a valid Consul license file if using a Consul enterprise image."
type = string
default = ""
}