-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
107 lines (85 loc) · 2.52 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
95
96
97
98
99
100
101
102
103
104
105
106
107
# required
variable "target_account_id" {}
variable "backend_config_bucket" {}
variable "backend_config_bucket_region" {}
variable "backend_config_tfstate_file_key" {}
variable "backend_config_role_arn" {}
variable "name" {
description = "Name to be used on all the resources as identifier"
default = ""
}
variable "vpc_cidr" {
description = "The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden"
}
variable "azs" {
description = "A list of availability zones in the region"
type = "string"
}
variable "public_subnets" {
description = "A list of public subnets inside the VPC"
type = "string"
}
variable "private_subnets" {
description = "A list of private subnets inside the VPC"
type = "string"
}
# optional
variable "enable_dns_hostnames" {
description = "Should be true to enable DNS hostnames in the VPC"
default = true
}
variable "enable_dns_support" {
description = "Should be true to enable DNS support in the VPC"
default = true
}
variable "enable_nat_gateway" {
description = "Should be true if you want to provision NAT Gateways for each of your private networks"
default = true
}
variable "single_nat_gateway" {
description = "Should be true if you want to provision a single shared NAT Gateway across all of your private networks"
default = true
}
variable "eks_instance_type" {
description = "Instance type to be used to create EKS cluster"
type = "string"
default = "t3.large"
}
variable "eks_asg_desired_capacity" {
description = "Number of EC2 Instances within EKS ASG"
type = "string"
default = "2"
}
variable "eks_asg_max_size" {
description = "Max number of EC2 Instances within EKS ASG"
type = "string"
default = "16"
}
variable "key_name" {
description = "The key name that should be used for the instance"
type = "string"
default = ""
}
variable "route53_genieai_domain" {
description = "The domain which clients' subdomains will be created"
type = "string"
default = "genieai.co"
}
# optional
variable "region" {
default = "eu-west-1"
}
variable "elasticcache_instance_type" {
description = "Instance type for Elastic cache"
type = "string"
default = "cache.m4.large"
}
variable "elasticsearch_host" {
description = "ELK vpc host"
type = "string"
}
variable "cluster_version" {
description = "Kubernetes version to use for the EKS cluster."
type = "string"
default = "1.14"
}