-
Notifications
You must be signed in to change notification settings - Fork 17
/
variables.tf
67 lines (51 loc) · 1.5 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
# main creds for AWS connection
variable "aws_access_key_id" {
description = "AWS access key"
}
variable "aws_secret_access_key" {
description = "AWS secret access key"
}
variable "ecs_cluster" {
description = "ECS cluster name"
}
variable "ecs_key_pair_name" {
description = "ECS key pair name"
}
variable "region" {
description = "AWS region"
}
variable "availability_zone" {
description = "availability zone used for the film ratings, based on region"
default = {
eu-west-1 = "eu-west-1"
}
}
variable "db_password" {
description = "Database password"
}
variable "film_ratings_app_image" {
description = "Docker image for the film ratings application"
}
########################### Test VPC Config ################################
variable "film_ratings_vpc" {
description = "VPC for Film Ratings environment"
}
variable "film_ratings_network_cidr" {
description = "IP addressing for Film Ratings Network"
}
variable "film_ratings_public_01_cidr" {
description = "Public 0.0 CIDR for externally accessible subnet"
}
variable "film_ratings_public_02_cidr" {
description = "Public 0.0 CIDR for externally accessible subnet"
}
########################### Autoscale Config ################################
variable "max_instance_size" {
description = "Maximum number of instances in the cluster"
}
variable "min_instance_size" {
description = "Minimum number of instances in the cluster"
}
variable "desired_capacity" {
description = "Desired number of instances in the cluster"
}