-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvariables.tf
89 lines (74 loc) · 2.22 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
variable "region" {
type = string
description = "the name of the region you wish to deploy into"
default = "us-east-1"
}
variable "name" {
description = "Name given resources"
type = string
default = "aws-ia"
}
variable "service_name" {
type = string
default = "nginx"
description = "A name for the service"
}
variable "image_url" {
type = string
default = "nginx"
description = "the url of a docker image that contains the application process that will handle the traffic for this service"
}
variable "container_port" {
type = number
default = 80
description = "What port number the application inside the docker container is binding to"
}
variable "container_cpu" {
type = number
default = 256
description = "How much CPU to give the container. 1024 is 1 CPU"
}
variable "container_memory" {
type = number
default = 512
description = "How much memory in megabytes to give the container"
}
variable "lb_public_access" {
type = bool
default = true
description = "Make LB accessible publicly"
}
variable "lb_path" {
type = string
default = "*"
description = "A path on the public load balancer that this service should be connected to. Use * to send all load balancer traffic to this service."
}
variable "routing_priority" {
type = number
default = 1
description = "The priority for the routing rule added to the load balancer. This only applies if your have multiple services which have been assigned to different paths on the load balancer."
}
variable "desired_count" {
type = number
default = 2
description = "How many copies of the service task to run"
}
variable "remote_cidr_blocks" {
type = list(any)
default = ["10.0.0.0/32"]
description = "By default cidr_blocks are locked down. (Update to 0.0.0.0/0 if full public access is needed)"
}
variable "vpc_id" {
description = "ECS VPC ID"
type = string
}
variable "name_prefix" {
description = "Name Prefix"
type = string
default = "fw"
}
variable "network_tag" {
description = "Tags used to filter ecs subnets "
type = string
default = "ecs-subnets"
}