-
Notifications
You must be signed in to change notification settings - Fork 1
/
vars.tf
42 lines (34 loc) · 1.02 KB
/
vars.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
variable "name_prefix" {
description = "Name associated with the autoscaling group"
}
variable "asg_min" {
description = "Minimum number of instances required in the ASG"
default = 0
}
variable "asg_max" {
description = "Maximum number of instances required in the ASG"
default = 0
}
variable "asg_desired" {
description = "Desired number of instances in the ASG"
default = 0
}
variable "launch_template_name" {
description = "Name of a launch template used to provision instances"
}
variable "schedule_up" {
description = "A cron expression describing when the ASG should be scaled up based on the specified min, max, desired values"
default = null
}
variable "schedule_down" {
description = "A cron expression describing when the ASG should be scaled down to zero instances (i.e. when not required)"
default = null
}
variable "vpc" {
description = "Name of the VPC to deploy to"
default = null
}
variable "subnets" {
description = "Subnets to deploy into"
default = null
}