-
Notifications
You must be signed in to change notification settings - Fork 43
/
variables.tf
56 lines (46 loc) · 1.17 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
variable "aws_region" {
description = "AWS region"
default = "eu-west-1"
}
/* VPC settings */
variable "vpc_cidr" {
description = "CIDR for VPC"
default = "172.31.0.0/16"
}
variable "public_subnet_az1_cidr" {
description = "CIDR for az1 public subnet"
default = "172.31.0.0/24"
}
variable "public_subnet_az2_cidr" {
description = "CIDR for az2 public subnet"
default = "172.31.1.0/24"
}
variable "public_subnet_az3_cidr" {
description = "CIDR for az3 public subnet"
default = "172.31.2.0/24"
}
variable "private_subnet_az1_cidr" {
description = "CIDR for az1 private subnet"
default = "172.31.3.0/24"
}
variable "private_subnet_az2_cidr" {
description = "CIDR for az2 private subnet"
default = "172.31.4.0/24"
}
variable "private_subnet_az3_cidr" {
description = "CIDR for az3 private subnet"
default = "172.31.5.0/24"
}
/* Ubuntu 14.04 amis by region */
variable "amis" {
description = "Base AMI to launch the instances with"
default = {
us-west-1 = "ami-049d8641"
us-east-1 = "ami-a6b8e7ce"
eu-west-1 = "ami-47a23a30"
}
}
/* Packer baked AMI */
variable "ami" {
description = "AMI Generated by Packer"
}