-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
98 lines (77 loc) · 1.6 KB
/
variables.tf
File metadata and controls
98 lines (77 loc) · 1.6 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
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
variable "AWS_ACCESS_KEY_ID" {
description = "AWS Access Key"
}
variable "AWS_SECRET_ACCESS_KEY" {
description = "AWS Secret Key"
}
variable "AWS_SSH_KEY_NAME" {
description = "Name of the SSH keypair to use in AWS."
}
variable "AWS_DEFAULT_REGION" {
description = "AWS Region"
}
//General Cluster Settings
variable "aws_cluster_name" {
description = "Name of AWS Cluster"
}
//AWS VPC Variables
variable "aws_vpc_cidr_block" {
description = "CIDR Block for VPC"
}
variable "aws_cidr_subnets_public" {
description = "CIDR Blocks for public subnets in Availability Zones"
type = list(string)
}
variable "aws_cidr_subnets_private" {
description = "CIDR Blocks for private subnets in Availability Zones"
type = list(string)
}
/*
* EC2 Source/Dest Check
*
*/
variable "aws_src_dest_check" {
description = "Instance source/destination check of Kubernetes Cluster"
type = bool
default = true
}
variable "default_tags" {
description = "Default tags for all resources"
type = map(string)
}
variable "spot_instance" {
type = bool
default = false
}
variable "aws_instance_type" {
type = list(string)
default = ["t3.medium"]
}
variable "aws_eks_instance_size" {
type = map(string)
default = {
"desired" = 1
"min" = 1
"max" = 3
}
}
variable "aws_instance_disk_size" {
type = number
default = 40
}
variable "aws_bastion_size" {
type = string
default = "t3.micro"
}
variable "aws_bastion_num" {
type = number
default = 1
}
variable "cluster_log_types" {
type = list
default = []
}
variable "cluster_version" {
type = string
default = "1.21"
}