-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
56 lines (44 loc) · 2.02 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
# A lookup table made the most sense to do this in a terraform plan
variable "card_table" {
description = "List of card names for instances"
type = "list"
default = ["2ofhearts", "3ofhearts", "4ofhearts", "5ofhearts", "6ofhearts", "7ofhearts", "8ofhearts", "9ofhearts", "10ofhearts", "jackofhearts", "queenofhearts", "kingofhearts", "aceofhearts", "2ofclubs", "3ofclubs", "4ofclubs", "5ofclubs", "6ofclubs", "7ofclubs", "8ofclubs", "9ofclubs", "10ofclubs", "jackofclubs", "queenofclubs", "kingofclubs", "aceofclubs", "2ofdiamonds", "3ofdiamonds", "4ofdiamonds", "5ofdiamonds", "6ofdiamonds", "7ofdiamonds", "8ofdiamonds", "9ofdiamonds", "10ofdiamonds", "jackofdiamonds", "queenofdiamonds", "kingofdiamonds", "aceofdiamonds", "2ofspades", "3ofspades", "4ofspades", "5ofspades", "6ofspades", "7ofspades", "8ofspades", "9ofspades", "10ofspades", "jackofspades", "queenofspades", "kingofspades", "aceofspades"]
}
# Set this to how many students we're making instances for
variable "student_count" {
description = "How many students we need to make nodes for"
}
variable "aws_ami" {
description = "which ami to use for this environment"
default = "ami-0131ad79"
}
variable "aws_ami_user" {
description = "Username for SSH to Training AMI"
default = "centos"
}
variable "aws_region" {
description = "The AWS Region in which to deploy instances"
default = "us-west-2"
}
variable "student_automate_instance_type" {
description = "Automate server ec2 instance type"
default = "t2.medium"
}
variable "student_workstation_instance_type" {
description = "Runner server ec2 instance type"
default = "t2.micro"
}
variable "aws_key_name" {
description = "Name of the SSH keypair to use in AWS."
}
variable "aws_key_path" {
description = "Path to the SSH key to auth to AWS"
default = "~/.ssh/id_rsa"
}
variable "chefdk_url" {
description = "URL of ChefDK to install"
default = "https://packages.chef.io/files/stable/chefdk/2.5.3/el/7/chefdk-2.5.3-1.el7.x86_64.rpm"
}
variable "aws_profile" {
description = "AWS Account to use"
}