forked from wardviaene/terraform-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
37 lines (35 loc) · 724 Bytes
/
vars.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
variable "AWS_REGION" {
default = "eu-west-1"
}
variable "PATH_TO_PRIVATE_KEY" {
default = "mykey"
}
variable "PATH_TO_PUBLIC_KEY" {
default = "mykey.pub"
}
variable "ECS_INSTANCE_TYPE" {
default = "t2.micro"
}
variable "ECS_AMIS" {
type = "map"
default = {
us-east-1 = "ami-1924770e"
us-west-2 = "ami-56ed4936"
eu-west-1 = "ami-c8337dbb"
}
}
# Full List: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
variable "AMIS" {
type = "map"
default = {
us-east-1 = "ami-13be557e"
us-west-2 = "ami-06b94666"
eu-west-1 = "ami-844e0bf7"
}
}
variable "INSTANCE_DEVICE_NAME" {
default = "/dev/xvdh"
}
variable "JENKINS_VERSION" {
default = "2.19.1"
}