-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
134 lines (112 loc) · 2.58 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
variable "aws_account" {
description = "ID of AWS Account"
default = "*"
}
variable "name" {
description = "Name prefix for all VPC resources."
default = "App"
}
variable "cluster" {
description = "ECS cluster name"
default = ""
}
variable "tags" {
description = "A mapping of tags to assign to the resource."
default = {}
}
variable "definition_file" {
description = "Container definition JSON file"
default = ""
}
variable "definition_vars" {
description = "Container definition vars"
default = {}
}
variable "balancer" {
description = "Listener configurations for ALB"
default = {
name = ""
condition_values = ""
container_name = ""
container_port = 0
}
}
variable "health_check" {
type = map
description = "Health checks for Target Group"
default = {
health_check_path = "/"
healthy_threshold = "5"
unhealthy_threshold = "2"
interval = "30"
timeout = "5"
protocol = "HTTP"
}
}
variable "volumes" {
type = list
description = "List of Volumes used by the service"
default = []
}
variable "desired" {
description = "Desired count of tasks in service"
default = 0
}
variable "grace_period" {
description = "health_check_grace_period_seconds"
default = 0
}
variable "repositories" {
description = "Images repositories"
default = {}
}
variable "compatibilities" {
description = "Requires compatibilities"
default = []
}
variable "network_mode" {
description = "The valid values are none, bridge, awsvpc, and host"
default = "none"
}
variable "registry" {
description = "The ARN for Service Discovery Registry"
default = ""
}
variable "target_type" {
description = "Target Type for Target Group"
default = "instance"
}
variable "subnets" {
type = list
default = []
description = "Used for Networking in Service Discovery"
}
variable "security_group" {
description = "Used for Networking in Service Discovery"
default = ""
}
variable "enable_ssm" {
description = "Compatibility for old versions without support for SSM"
default = false
}
variable "proto_http" {
description = "Use HTTP Protocol by default for ALB Target Group"
default = true
}
variable "target_group" {
description = "Set existing Target Group for new service"
default = ""
}
variable "placement_constraints" {
description = "(Optional) A set of rules that are taken during task placement"
#type = "list"
default = {
type = ""
expression = ""
}
}
variable "parameters" {
type = list
description = "List of parameters used by the service form Parameters Store"
default = []
}