-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
166 lines (131 loc) · 3.87 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
#########################################
############# Variables #################
#########################################
# Geo-Cluster VPC & Subnets
variable "geocluster_vpc" {
description = "Check Point Geocluster VPC ID"
default = ""
}
variable "public_subnet1" {
description = "Geocluster Public Subnet AZ1 ID"
default = ""
}
variable "public_subnet2" {
description = "Geocluster Public Subnet AZ2 ID"
default = ""
variable "private_subnet1" {
description = "Geocluster Private Subnet AZ1 ID"
default = ""
}
variable "private_subnet2" {
description = "Geocluster Private Subnet AZ2 ID"
default = ""
}
variable "tgw_subnet1" {
description = "Geocluster TGW Subnet AZ1 ID"
default = ""
}
variable "tgw_subnet2" {
description = "Geocluster TGW Subnet AZ2 ID"
default = ""
}
variable "tgwha_public_rt" {
description = "Existing Subnet RT ID associated to geocluster public subnets"
default = ""
}
variable "tgwha_private_rt" {
description = "Subnet RT ID associated to geocluster private subnets"
default = ""
}
# Spoke1 VPC & Subnets
variable "spoke1_vpc" {
description = "Spoke1 VPC"
default = ""
}
variable "spoke1_subnet" {
description = "Spoke1 Subnet for test VM"
default = ""
}
# Spoke2 VPC & Subnets
variable "spoke2_vpc" {
description = "Spoke2 VPC"
default = ""
}
variable "spoke2_subnet" {
description = "Spoke2 Subnet for test VM"
default = ""
}
# Management VPC
variable "mgmt_vpc" {
description = "Check Point Management VPC"
default = ""
}
variable "mgmt_subnet" {
description = "Subnet for Check Point Mgmt"
default = ""
}
# Spokes SuperNetwork
variable "allspokes_cidr" {
description = "Supernet for all spoke VPCs for ease of routing"
default = "10.0.0.0/8"
}
# Other Variables
variable "primary_az" {
description = "Primary AZ of selected region"
default = "us-east-2a"
}
variable "secondary_az" {
description = "Secondary AZ of selected region"
default = "us-east-2b"
}
#######################################################
############# Check Point Settings ####################
#######################################################
# Hashed password for the Check Point servers - you can generate this with the command 'openssl passwd -1 <PASSWORD>'
# (Optional) You can instead SSH into the server and run (from clish): 'set user admin password', fowlloed by 'save config'
variable "password_hash" {
description = "Hashed password for the Check Point servers - Optional but recommended"
default = "$1$5b8270b8$XTwkTQUC.Ddce5rSALyBj/"
}
variable "sic_key" {
description = "OTP to establish connectivity between Mgmt & Security Gateway"
default = "vpn123vpn123"
}
variable "cpversion" {
description = "Check Point version"
default = "R80.40-BYOL"
}
variable "key_name" {
description = "Key Pair to SSH into Check Point instances"
default = ""
}
variable "mgmt_instance_type" {
default = "m5.large"
}
variable "mgmt_iamrole" {
description = "Already Existing IAM Role for CP Mgmt"
default = ""
}
variable "mgmt_hostname" {
description = "CP Mgmt Hostname"
default = "CPMgmt"
}
variable "gateway_instance_type" {
default = "c5.large"
}
variable "kmskey_identifier" {
description = "KMS or CMK key Identifier - Use key ID, alias or ARN. Key alias should be prefixed with 'alias/' "
default = "alias/aws/ebs"
}
variable "gateway_iamrole" {
description = "IAM Role Name for Geocluster Instances API Failover"
default = ""
}
variable "gateway_name" {
description = "Name of Geocluster Instances"
default = "TGWHA"
}
variable "gateway_hostname" {
description = "Geocluster Instances Hostname"
default = "tgwha"
}