-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (66 loc) · 1.1 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
variable "aws_region" {
description = "AWS region to launch VPC."
default = "eu-west-2"
}
variable "vpc_name" {
description = "VPC Name"
default = "General"
}
variable "vpc_ip_base" {
default = "10.10"
}
variable "vpc_mask" {
default = "16"
}
variable "tenancy" {
default = "default"
}
variable "enable_dns_hostnames" {
default = true
}
variable "enable_dns_support" {
default = true
}
variable "assign_generated_ipv6_cidr_block" {
default = true
}
variable "vpc_increment" {
default = 16
}
variable "subnet_mask" {
default = 20
}
variable "availability_zones" {
type = list(string)
default = ["a", "b", "c"]
}
variable "sec_grp_name" {
default = "default"
}
variable "sec_grp_desc" {
default = "VPC Default Security Group"
}
variable "public_ports" {
type = list(string)
default = [
80, #http
443 #https
]
}
variable "private_ports" {
type = list(string)
default = [
3306, #MySQL
6379, #Redis
2049, #NFS
9200, #elasticsearch
5601 #kibana
]
}
variable "secure_ports" {
type = list(string)
default = [
22, #ssh
3389 #rdp
]
}