forked from WahidSyed/Workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (50 loc) · 1.12 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
variable "aws_region" {
description = "Region for the VPC"
default = "eu-west-1"
}
variable "statebucket" {
description = "S3 state bucket"
default = "mystatebucket"
}
variable "statekey" {
description = "S3 state object key"
default = "myterraformapps/dev/terraform.tfstate"
}
variable "dynamostatetable" {
description = "DynamoDB state table"
default = "terraformstate"
}
variable "keypair" {
description = "Keypair for instances"
default = "IrelandKeyPair"
}
variable "vpc_cidr" {
description = "CIDR for the VPC"
default = "20.0.0.0/16"
}
variable "public_subnet_cidr" {
description = "CIDR for the public subnet"
default = "20.0.1.0/24"
}
variable "private_subnet_cidr" {
description = "CIDR for the private subnet"
default = "20.0.2.0/24"
}
/*
variable "availability_zones" {
default = [
"eu-west-1a",
"eu-west-1b",
"eu-west-1c",
]
type = "list"
}
*/
variable "ami" {
description = "AMI for EC2"
default = "ami-0ea3405d2d2522162"
}
variable "key_path" {
description = "SSH Public Key path"
default = "~/.ssh/gitreader.pem.pub"
}