forked from LeeAMitchell/terraform-aws-ecs-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
120 lines (91 loc) · 1.67 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
108
109
110
111
112
113
114
115
116
117
118
119
variable "project" {
default = "Unknown"
}
variable "environment" {
default = "Unknown"
}
variable "cluster_name" {
default = ""
}
variable "autoscaling_group_name" {
default = ""
}
variable "security_group_name" {
default = ""
}
variable "ecs_for_ec2_service_role_name" {
default = ""
}
variable "vpc_id" {
}
variable "ami_id" {
default = "ami-6944c513"
}
variable "ami_owners" {
default = ["self", "amazon", "aws-marketplace"]
}
variable "lookup_latest_ami" {
default = false
}
variable "root_block_device_type" {
default = "gp2"
}
variable "root_block_device_size" {
default = "8"
}
variable "instance_type" {
default = "t2.micro"
}
variable "instance_type_scheduled_tasks" {
default = "m5.4xlarge"
}
variable "cpu_credit_specification" {
default = "standard"
}
variable "detailed_monitoring" {
default = false
}
variable "key_name" {
}
variable "cloud_config_content" {
}
variable "cloud_config_content_type" {
default = "text/cloud-config"
}
variable "health_check_grace_period" {
default = "600"
}
variable "desired_capacity" {
default = "1"
}
variable "desired_capacity_scheduled_tasks" {
default = "0"
}
variable "min_size" {
default = "1"
}
variable "max_size" {
default = "1"
}
variable "max_size_scheduled_tasks" {
default = "0"
}
variable "min_size_scheduled_tasks" {
default = "0"
}
variable "enabled_metrics" {
default = [
"GroupMinSize",
"GroupMaxSize",
"GroupDesiredCapacity",
"GroupInServiceInstances",
"GroupPendingInstances",
"GroupStandbyInstances",
"GroupTerminatingInstances",
"GroupTotalInstances",
]
type = list(string)
}
variable "subnet_ids" {
type = list(string)
}