-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathvariable.tf
More file actions
95 lines (87 loc) · 2.49 KB
/
variable.tf
File metadata and controls
95 lines (87 loc) · 2.49 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
#VPC
variable "cluster_name" {
type = string
description = "EKS cluster name."
}
variable "iac_environment_tag" {
type = string
description = "AWS tag to indicate environment name of each infrastructure object."
}
variable "name_prefix" {
type = string
description = "Prefix to be used on each infrastructure object Name created in AWS."
}
variable "main_network_block" {
type = string
description = "Base CIDR block to be used in our VPC."
}
variable "subnet_prefix_extension" {
type = number
description = "CIDR block bits extension to calculate CIDR blocks of each subnetwork."
}
variable "zone_offset" {
type = number
description = "CIDR block bits extension offset to calculate Public subnets, avoiding collisions with Private subnets."
}
#EKS
variable "admin_users" {
type = list(string)
description = "List of Kubernetes admins."
}
variable "developer_users" {
type = list(string)
description = "List of Kubernetes developers."
}
variable "asg_instance_types" {
type = string
description = "EC2 instance machine types to be used in EKS."
}
variable "instance_type" {
type = string
description = "EC2 instance machine types to be used in EKS."
}
variable "autoscaling_minimum_size_by_az" {
type = number
description = "Minimum number of EC2 instances to autoscale our EKS cluster on each AZ."
}
variable "autoscaling_maximum_size_by_az" {
type = number
description = "Maximum number of EC2 instances to autoscale our EKS cluster on each AZ."
}
variable "autoscaling_average_cpu" {
type = number
description = "Average CPU threshold to autoscale EKS EC2 instances."
}
variable "namespaces" {
type = string
description = "namespaces to be created in our EKS Cluster."
}
variable "ansible_user" {
type = string
default = "ubuntu"
}
variable "name" {
description = "Unique name for the key, should also be a valid filename. This will prefix the public/private key."
default = "vpn"
type = string
}
variable "path" {
description = "Path to a directory where the public and private key will be stored."
default = "."
type = string
}
variable "instance_type_ec2" {
description = "Instance type of ec2."
default = "t2.small"
type = string
}
variable "vpc_name" {
description = "vpc name"
default = ""
type = string
}
variable "cidr" {
description = "VPC cidr"
default = ""
type = string
}