@@ -10,6 +10,7 @@ variable "associate_public_ip_address" {
10
10
description = " Add a public IP address"
11
11
default = false
12
12
}
13
+
13
14
variable "desired_capacity" {
14
15
description = " Desired number of instances"
15
16
default = 1
@@ -19,52 +20,64 @@ variable "health_check_grace_period" {
19
20
description = " Auto Scaling Group health check grace period in seconds. Time allowed before starting to test the health check"
20
21
default = " 300"
21
22
}
23
+
22
24
variable "health_check_type" {
23
25
description = " Healthcheck type"
24
- default = " ELB"
26
+ default = " ELB"
25
27
}
28
+
26
29
variable "instance_profile_id" {
27
30
description = " Instance profile ID"
28
31
default = " "
29
32
}
33
+
30
34
variable "instance_type" {
31
35
description = " Instance type"
32
36
default = " t2.micro"
33
37
}
38
+
34
39
variable "key_name" {
35
40
description = " SSH key name to use"
36
41
default = " devops20170606"
37
42
}
43
+
38
44
variable "max_size" {
39
45
description = " Maximum number of instances"
40
46
default = 2
41
47
}
48
+
42
49
variable "min_size" {
43
50
description = " Minimum number of instances"
44
51
default = 1
45
52
}
53
+
46
54
variable "root_volume_size" {
47
55
description = " Size of the root volume"
48
56
default = 8
49
57
}
58
+
50
59
variable "spot_price" {
51
60
description = " Spot price. Set to false to not use spot pricing"
52
61
default = false
53
62
}
63
+
54
64
variable "stack" {
55
65
description = " Name of the service stack"
56
66
default = " wrapper-test"
57
67
}
68
+
58
69
variable "tags" {
59
70
description = " Map of tags"
60
71
type = " map"
61
72
default = {}
62
73
}
74
+
63
75
variable "target_group_arns" {
64
76
description = " List of target group ARNs"
65
77
type = " list"
66
78
default = []
67
79
}
80
+
68
81
variable "user_data" {
69
82
description = " User data script"
70
83
default = " "
0 commit comments