forked from Oxalide/terraform-fargate-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
42 lines (34 loc) · 943 Bytes
/
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
variable "aws_region" {
description = "The AWS region to create things in."
default = "eu-west-2"
}
variable "aws_access_key" {
description = "AWS access key"
}
variable "aws_secret_key" {
description = "AWS secret key"
}
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 = "adongy/hostname-docker:latest"
}
variable "app_port" {
description = "Port exposed by the docker image to redirect traffic to"
default = 3000
}
variable "app_count" {
description = "Number of docker containers to run"
default = 2
}
variable "fargate_cpu" {
description = "Fargate instance CPU units to provision (1 vCPU = 1024 CPU units)"
default = "256"
}
variable "fargate_memory" {
description = "Fargate instance memory to provision (in MiB)"
default = "512"
}