-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
50 lines (37 loc) · 865 Bytes
/
variables.tf
File metadata and controls
50 lines (37 loc) · 865 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
49
50
variable "aws_access_key" {
// obtained from environment
}
variable "aws_secret_key" {
// obtained from environment
}
variable "ami" {
type = "map"
description = "Debian Linux AMI"
default = {
instance_ami = "ami-c7ab5fa0"
instance_type = "t2.micro"
}
}
variable "region" {
description = "Region for the VPC"
default = "eu-west-2"
}
variable "vpc_cidr" {
description = "CIDR for the VPC"
default = "192.168.0.0/16"
}
variable "public_subnet1_cidr" {
description = "CIDR for the public subnet"
default = "192.168.0.0/18"
}
variable "any_IP_cidr" {
description = "CIDR for routing to any ip 0.0.0.0/0"
default = "0.0.0.0/0"
}
variable "local_IP_cidr" {
description = "CIDR for routing to any ip 192.168.0.0/16"
default = "192.168.0.0/16"
}
variable "Availability_Zone_A" {
// obtained from terraform.tfvars
}