-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariable.tf
More file actions
110 lines (90 loc) · 2.3 KB
/
variable.tf
File metadata and controls
110 lines (90 loc) · 2.3 KB
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
variable "region" {
type = string
default = "eu-west-1"
}
variable "name" {
default = "fg-demo"
}
variable "cluster_autoscaling_min_size" {
type = number
default = 1
}
variable "cluster_autoscaling_max_size" {
type = number
default = 2
}
variable "cluster_autoscaling_minimum_scaling_step_size" {
type = number
default = 1
}
variable "cluster_autoscaling_maximum_scaling_step_size" {
type = number
default = 1
}
variable "cluster_autoscaling_is_managed_by_ecs" {
type = string
default = "ENABLED" # supported values: ENABLED or DISABLED
}
variable "cluster_autoscaling_target_capacity" {
type = number
default = 100 # number between 1 and 100
description = "Target utilization for the ECS capacity provider. A number between 1 and 100."
}
variable "cloudwatch_retention" {
type = number
default = 1
description = "The cloudwatch retention in days"
}
variable "registration_location" {
type = string
default = "/opt/registration"
description = "location of the registration folder in the host machine"
}
variable "ec2_type" {
type = string
default = "t2.micro"
}
variable "flexgateway_docker_image" {
type = string
default = "mulesoft/flex-gateway"
}
variable "flexgateway_docker_image_version" {
type = string
default = "1.6.2"
}
variable "flexgateway_task_memory" {
type = number
default = 256
}
variable "flexgateway_desired_replicas_count" {
type = number
default = 1
}
variable "flexgateway_autoscaling_min_capacity" {
type = number
default = 1
}
variable "flexgateway_autoscaling_max_capacity" {
type = number
default = 2
}
variable "flexgateway_autoscaling_avg_cpu_target" {
type = number
default = 80
description = "Target value for the cpu matric to trigger scale"
}
variable "flexgateway_autoscaling_avg_mem_target" {
type = number
default = 80
description = "Target value for the memory matric to trigger scale"
}
variable "flexgateway_autoscaling_scale_in_cooldown" {
type = number
default = 300
description = "Amount of time, in seconds, after a scale in activity completes before another scale in activity can start."
}
variable "flexgateway_autoscaling_scale_out_cooldown" {
type = number
default = 300
description = "Amount of time, in seconds, after a scale out activity completes before another scale out activity can start."
}