-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
48 lines (39 loc) · 966 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
variable "env" {
description = "Environment we are running in"
default = "default"
}
variable "instance_type" {
description = "instance_type to use for bastion host"
default = "t2.nano"
}
variable "ami" {
description = "AMI to use for bastion host"
default = "ami-3ecc8f46"
}
variable "vpc_id" {
description = "VPC ID that bastion host will reside in"
}
variable "vpc_ids_count" {
description = "count of vpc_ids"
default = 1
}
variable "vpc_ids" {
type = "list"
description = "VPC IDs that hosts will exist in"
}
variable "security_groups" {
type = "list"
description = "Security groups for bastion"
}
variable "subnets" {
type = "list"
description = "Subnet ids for bastion"
}
variable "bastion_count" {
description = "Number of bastiones (defaults to one per subnet)"
default = false
}
variable "key_name" {
description = "name of EC2 key for instance"
default = false
}