-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
65 lines (51 loc) · 998 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
variable "access_key" {
default = "ec2_access_key"
}
variable "secret_key" {
default = "ec2_secret_key"
}
variable "region" {
default = "eu-west-1"
}
variable "availabilityZone" {
default = "eu-west-1b"
}
//variable "vpc_id" {
// default = "vpc-07e47e9d90d2076da"
//}
variable "vpcCIDRblock" {
default = "172.32.0.0/16"
}
variable "subnetprivateCIDRblock" {
default = "172.32.7.0/24"
}
variable "subnetpublicCIDRblock" {
default = "172.32.8.0/24"
}
variable "destinationCIDRblock" {
default = "0.0.0.0/0"
}
variable "ingressCIDRblock" {
type = list
default = [ "0.0.0.0/0" ]
}
variable "egressCIDRblock" {
type = list
default = [ "0.0.0.0/0" ]
}
variable "mapPublicIP" {
default = true
}
//variable "aws_instance" {
// default = "app_instance"
//}
# IMAGES
variable "amiapp" {
default = "ami-08617e0e0b2d50721"
}
variable "amibastion" {
default = "ami-04e10d7d87e05a3be"
}
variable "amidb" {
default = "ami-0f08f54c187ffa805"
}