-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
51 lines (40 loc) · 968 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
variable "public_key_path" {
default = "~/.ssh/terrafrom.pub"
}
variable "aws_key_name" {
description = "Desired name of AWS key pair"
default = "terraform"
}
#variable "aws_secret_key" {}
#variable "aws_key_path" {}
#variable "aws_key_name" {}
variable "aws_region" {
description = "EC2 Region for the VPC"
default = "eu-west-1"
}
variable "aws_availability_zone" {
description = "EC2 Region for the VPC"
default = "eu-west-1a"
}
variable "amis" {
description = "AMIs by region"
default = {
eu-west-1 = "ami-1b791862"
}
}
variable "vpc_cidr" {
description = "CIDR for the whole VPC"
default = "10.0.0.0/16"
}
variable "public_subnet_cidr" {
description = "CIDR for the Public Subnet"
default = "10.0.0.0/24"
}
variable "private_subnet_cidr" {
description = "CIDR for the Private Subnet"
default = "10.0.1.0/24"
}
variable "vpc_id" {
description = "VPC ID"
default = "vpc-2a4d5b4d"
}