-
Notifications
You must be signed in to change notification settings - Fork 121
/
variables.tf
62 lines (50 loc) · 1.99 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
variable "name" {
description = "the name of your stack, e.g. \"demo\""
}
variable "environment" {
description = "the name of your environment, e.g. \"prod\""
default = "prod"
}
variable "region" {
description = "the AWS region in which resources are created, you must set the availability_zones variable as well if you define this value to something other than the default"
default = "eu-central-1"
}
variable "availability_zones" {
description = "a comma-separated list of availability zones, defaults to all AZ of the region, if set to something other than the defaults, both private_subnets and public_subnets have to be defined as well"
default = ["eu-central-1a", "eu-central-1b", "eu-central-1c"]
}
variable "cidr" {
description = "The CIDR block for the VPC."
default = "10.0.0.0/16"
}
variable "private_subnets" {
description = "a list of CIDRs for private subnets in your VPC, must be set if the cidr variable is defined, needs to have as many elements as there are availability zones"
default = ["10.0.0.0/20", "10.0.32.0/20", "10.0.64.0/20"]
}
variable "public_subnets" {
description = "a list of CIDRs for public subnets in your VPC, must be set if the cidr variable is defined, needs to have as many elements as there are availability zones"
default = ["10.0.16.0/20", "10.0.48.0/20", "10.0.80.0/20"]
}
variable "service_desired_count" {
description = "Number of tasks running in parallel"
default = 2
}
variable "container_port" {
description = "The port where the Docker is exposed"
default = 8000
}
variable "container_cpu" {
description = "The number of cpu units used by the task"
default = 256
}
variable "container_memory" {
description = "The amount (in MiB) of memory used by the task"
default = 512
}
variable "health_check_path" {
description = "Http path for task health check"
default = "/health"
}
variable "tsl_certificate_arn" {
description = "The ARN of the certificate that the ALB uses for https"
}