-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
80 lines (66 loc) · 1.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
variable "name" {
default = "Default"
type = string
description = "Name of the VPC"
}
variable "project" {
type = string
description = "Name of project this VPC is meant to house"
}
variable "environment" {
type = string
description = "Name of environment this VPC is targeting"
}
variable "region" {
default = "us-east-1"
type = string
description = "Region of the VPC"
}
variable "key_name" {
type = string
description = "EC2 Key pair name for the bastion"
}
variable "cidr_block" {
default = "10.0.0.0/16"
type = string
description = "CIDR block for the VPC"
}
variable "public_subnet_cidr_blocks" {
default = ["10.0.0.0/24", "10.0.2.0/24"]
type = list
description = "List of public subnet CIDR blocks"
}
variable "private_subnet_cidr_blocks" {
default = ["10.0.1.0/24", "10.0.3.0/24"]
type = list
description = "List of private subnet CIDR blocks"
}
variable "availability_zones" {
default = ["us-east-1a", "us-east-1b"]
type = list
description = "List of availability zones"
}
variable "bastion_ami" {
type = string
description = "Bastion Amazon Machine Image (AMI) ID"
}
variable "bastion_ebs_optimized" {
default = false
type = bool
description = "If true, the bastion instance will be EBS-optimized"
}
variable "bastion_instance_type" {
default = "t3.nano"
type = string
description = "Instance type for bastion instance"
}
variable "tags" {
default = {}
type = map(string)
description = "Extra tags to attach to the VPC resources"
}
variable "bastion_iam_instance_profile" {
default = null
type = string
description = "IAM Instance Profile to launch the instance with. Specified as the name of the Instance Profile"
}