-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (44 loc) · 1.44 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
variable "aws_region" {
description = "The AWS region to deploy resources in"
type = string
default = "us-east-1"
}
variable "aws_account_number" {
description = "AWS account number, used for role ARNs"
type = number
}
variable "ssh_key_pair" {
description = "Public key to be add to the EC2 instances' allow list"
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "employee_photo_s3_bucket_name" {
description = "S3 bucket to store employee photos in"
type = string
default = "employee-photo-bucket-terr-09032023"
}
variable "employee_directory_min_instances" {
description = "Minimum number of EC2 instances running the Employee Directory application"
type = number
default = 2
}
variable "employee_directory_max_instances" {
description = "Scale up to this maximum of EC2 instances running the Employee Directory application"
type = number
default = 4
}
variable "employee_directory_avg_cpu_usage" {
description = "Balance the number of Employee Directory instances to keep the average CPU usage at this number"
type = number
default = 60.0
}
variable "deploy_bastion" {
description = "Whether to deploy the Bastion (SSH jump host) EC2 instance"
type = bool
default = false
}
variable "bastion_instance_name" {
description = "Value of the Name tag for the Bastion EC2 instance"
type = string
default = "Bastion"
}