-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (49 loc) · 1.12 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
#
# Variables Configuration
#
variable "cluster-name" {
default = "terraform-eks-demo"
type = "string"
}
variable "vpc-cidr-block" {
type = "string"
description = "CIDR blocks for vpc"
default = "10.0.0.0/16"
}
variable "public-subnet-blocks" {
type = "map"
description = "CIDR blocks for each public subnet of vpc"
default = {
"0" = "10.0.0.0/24"
"1" = "10.0.1.0/24"
"2" = "10.0.2.0/24"
}
}
variable "private-subnet-blocks" {
type = "map"
description = "CIDR blocks for each private subnet of vpc"
default = {
"0" = "10.0.10.0/24"
"1" = "10.0.11.0/24"
"2" = "10.0.12.0/24"
}
}
variable "num-public-subnets" {
default = 3
}
variable "num-private-subnets" {
default = 3
}
variable "ami_id" {
type = "string"
}
variable "ssh_public_key_name" {
type = "string"
description = "The key name - will be computed based on stage name if left empty"
default = ""
}
variable "ssh_public_key_file" {
type = "string"
description = "The public key file location - will be computed based on stage name if left empty"
default = ""
}