-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
55 lines (55 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
53
54
55
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
# except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is distributed on an "AS IS"
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under the License.
variable "region" {
default = "us-west-2"
}
variable "ip_range" {
default = "0.0.0.0/0" # Change to your IP Range!
}
variable "availability_zones" {
# No spaces allowed between az names!
default = "us-west-2a,us-west-2b,us-west-2c"
}
variable "key_name" {
default = "joshcb"
}
variable "instance_type" {
default = "t2.nano"
}
variable "asg_min" {
default = "2"
}
variable "asg_max" {
default = "5"
}
variable "asg_desired" {
default = "2"
}
# Amazon Linux AMI
# Most recent as of 2015-12-02
variable "amis" {
default = {
us-east-1 = "ami-60b6c60a"
us-west-2 = "ami-f0091d91"
}
}
variable "vpc_cidr" {
description = "CIDR for the whole VPC"
default = "10.0.0.0/16"
}
variable "public_subnet_cidr" {
description = "CIDR for the Public Subnet"
default = "10.0.0.0/24"
}
variable "private_subnet_cidr" {
description = "CIDR for the Private Subnet"
default = "10.0.1.0/24"
}