-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
90 lines (73 loc) · 1.87 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
variable "region" {
description = "AWS region of the service to be deployed"
type = string
}
variable "service_name" {
description = "Name of service"
type = string
}
variable "service_port" {
description = "Ingress port of the service"
type = number
}
variable "desired_capacity" {
description = "Desired instance number for asg"
type = number
}
variable "min_size" {
description = "Minimum instance number for an asg"
type = number
}
variable "max_size" {
description = "Maximum instance number for an asg"
type = string
}
variable "default_cooldown" {
description = "Default cooldown value for each check"
type = number
}
variable "health_check_grace_period" {
description = "health check grace period in seconds."
type = number
default = 180
}
variable "health_check" {
description = "ASG Health Check Type"
type = string
}
variable "disk_volume_size_in_GB" {
description = "Size of the EBS volume."
type = number
}
variable "iam_profile" {
description = "IAM role of the instance."
type = string
}
variable "instance_type" {
description = "Type of the EC2 instance."
type = string
}
variable "key_name" {
description = "EC2 Key pair name."
type = string
}
variable "dns_record_name" {
description = "Domain name of the instance to be registered"
type = string
}
variable "hosted_zone_id" {
description = "Route53 hosted zone ID"
type = string
}
variable "ttl" {
description = "TTL for DNS cache"
type = number
}
variable "scale_up_networkIn_threshold_in_bytes" {
description = "Scale up threshold metric by incoming network bytes"
type = number
}
variable "scale_down_networkIn_threshold_in_bytes" {
description = "Scale down threshold metric by incoming network bytes"
type = number
}