-
Notifications
You must be signed in to change notification settings - Fork 13
/
variables.tf
32 lines (26 loc) · 909 Bytes
/
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
# note that by default AWS seems to limit the number of instances to 20
variable "desired_web_server_count" {
default = 4
}
# "nano" AWS instances seem too slow/buggy for this demo, use "micro" or above
variable "instance_type" {
default = "t2.micro"
}
# the CentOS AMI should be HVM: https://wiki.centos.org/Cloud/AWS
# (make sure the AMI is for the proper aws region)
variable "aws_centos_ami" {
default = "ami-6d1c2007"
}
# if you change the region you'll have to find the proper AMI to include above
variable "aws_region" {
default = "us-east-1"
}
########################
# PERSONAL/SECRET VARS #
########################
# personal variables, should only be entered in `terraform.tfvars` file
variable "aws_pem_key_file_path" {}
variable "aws_key_name" {}
# secret variables, should also only be entered in `terraform.tfvars` file
variable "aws_access_key" {}
variable "aws_secret_key" {}