-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvariables.tf
More file actions
49 lines (40 loc) · 936 Bytes
/
variables.tf
File metadata and controls
49 lines (40 loc) · 936 Bytes
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
# Region and Availability Zone Setup
variable "region" {
type = string
default = "us-west-2"
}
variable "az" {
type = string
default = "a"
}
# AMIs and size for various boxes
variable "bastion_nat_ami" {
type = string
default = "ami-0553ff0c22b782b45"
}
variable "bastion_nat_size" {
type = string
default = "t2.nano"
}
variable "worker_bee_ami" {
type = string
default = "ami-04b762b4289fba92b"
}
variable "worker_bee_size" {
type = string
default = "t2.nano"
}
# key pair name
variable "ec2_key" {
type = string
# insert key pair name here
# you will not be able to SSH into the instance(s) otherwise
default = "[key pair name goes here]"
}
# Internal, "fake" IPs are allocated to resources in this VPC. In this case,
# the first 16 bits are fixed, 222.33, and the rest is whatever. This allows
# for 256^2 = 65,536 addresses.
variable "cidr_prefix" {
type = string
default = "222.33"
}