-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
66 lines (54 loc) · 1.57 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
##########################################
# GLOBAL
##########################################
variable "create" {
description = "Controls if EKS resources should be created (affects nearly all resources)"
type = bool
default = true
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}
##########################################
# COMPUTE
##########################################
variable "instance_size" {
type = string
description = "The size of the EC2 instance to deploy"
default = "t3.micro"
}
##########################################
# NETWORKING
##########################################
variable "vpc_id" {
type = string
description = "The identifier of VPC to deploy EC2 instance into"
default = ""
}
variable "subnet_id" {
type = string
description = "The identifier of subnet to deploy EC2 instance into"
}
##########################################
# LAUNCH TEMPLATE
##########################################
variable "launch_template_name" {
type = string
description = "The name of the launch template to use"
default = ""
}
variable "launch_template_version" {
type = string
description = "The launch template version"
default = "$Default"
}
##########################################
# IAM
##########################################
variable "additional_security_group_ids" {
type = list(string)
description = "The identifier of a custom security group ID, replaces default"
default = []
}