-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
63 lines (50 loc) · 1.42 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
variable "aws_profile" {
}
variable "userid" {
description = "The prefix for the AWS Resources"
}
variable "aws_region" {
description = "The AWS region to create things in."
default = "ap-southeast-2"
}
variable "az_count" {
description = "Number of AZs to cover in a given AWS region"
default = "2"
}
variable "app_image" {
description = "Docker image to run in the ECS cluster"
default = "0000000000000.dkr.ecr.ap-southeast-2.amazonaws.com/ecr:nginx"
}
variable "app_port" {
description = "Port exposed by the docker image to redirect traffic to"
default = 80
}
variable "app_count" {
description = "Number of docker containers to run"
default = 4
}
variable "fargate_task_cpu" {
description = "Fargate instance CPU units to provision (1 vCPU = 1024 CPU units)"
default = "512"
}
variable "fargate_task_memory" {
description = "Fargate instance memory to provision (in MiB)"
default = "1024"
}
variable "fargate_container_cpu" {
description = "Fargate instance CPU units to provision (1 vCPU = 1024 CPU units)"
default = "256"
}
variable "fargate_container_memory" {
description = "Fargate instance memory to provision (in MiB)"
default = "512"
}
variable "lw_token" {
}
variable "lw_serverurl" {
default = "https://api.lacework.net"
}
variable "cw-log-group" {
description = "Cloudwatch log group to log to"
default = "/ecs/datacollector-sidecar-demo"
}