-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
58 lines (46 loc) · 1.23 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
variable "aws_region" {
description = "The AWS region to create things in."
default = "us-west-2"
}
variable "aws_account_id" {
description = "AWS account ID"
}
# AWS Fargate vars
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 = "rrusakov/nginx-aws_auth-ldap:latest"
}
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 = 3
}
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"
}
# AWS S3 vars
variable "s3_bucket_name" {
description = "The name of the bucket"
type = "string"
default = "test-s3-private-bucket-vpce-3"
}
variable "tags" {
description = "A mapping of tags to assign to the bucket."
default = {
Name = "Nginx s3 test bucket"
Environment = "Test"
}
type = "map"
}