forked from tuier/tfm-vpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
73 lines (61 loc) · 1.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
variable "region" {}
variable "azs_count" {
default = "3"
}
variable "azs_name" {
default = {
eu-west-1 = "a,b,c"
ap-southeast-1 = "a,b"
ap-southeast-2 = "a,b"
eu-central-1 = "a,b"
ap-northeast-1 = "a,b,c"
us-east-1 = "b,c,d,e"
sa-east-1 = "a,b,c"
us-west-1 = "b,c"
us-west-2 = "a,b,c"
}
}
variable "network_number" {
default = "200"
}
# https://aws.amazon.com/amazon-linux-ami/
variable "ami_bastion" {
default = {
us-east-1 = "ami-6869aa05"
us-west-2 = "ami-7172b611"
us-west-1 = "ami-31490d51"
eu-west-1 = "ami-f9dd458a"
eu-central-1 = "ami-ea26ce85"
ap-southeast-1 = "ami-a59b49c6"
ap-northeast-1 = "ami-374db956"
ap-southeast-2 = "ami-dc361ebf"
sa-east-1 = "ami-6dd04501"
}
}
variable "instance_type_bastion" {
default = "m3.medium"
}
variable "aws_key_name" {
default = ""
}
variable "cluster_name" {
default = "vpc-test"
}
variable "route_zone_id" {
default = ""
description = "dn zone where you want the dn record in, AWS ID of the FLD"
}
variable "fqdn" {
default = ""
description = "domain name that you want the bastion on, should use a subdomain, result bastion-<cluster_name>.<fqdn>"
}
variable "user_data" {
default = ""
description = "extra user data added to the bastion, must be shell"
}
variable "tag_product" {
default = "devops"
}
variable "tag_purpose" {
default = "research"
}