generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables_net_hub.tf
157 lines (148 loc) · 3.71 KB
/
variables_net_hub.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
# Copyright (c) 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# ------------------------------------------------------
# ----- Networking - Hub
#-------------------------------------------------------
variable "hub_deployment_option" {
type = string
default = "No"
}
variable "existing_drg_ocid" {
type = string
default = null
}
# Determines where the Hub VCN routes traffic to for inbound internal (cross-vcn) traffic (East/West).
# The value is the private OCID of the indoor Network Load Balancer.
variable "hub_vcn_east_west_entry_point_ocid" {
type = string
default = null
}
# Determines where the Hub VCN routes traffic to for inbound external traffic (North South).
# The value is the private OCID of the outdoor Network Load Balancer.
variable "hub_vcn_north_south_entry_point_ocid" {
type = string
default = null
}
variable "hub_vcn_name" {
type = string
default = null
}
variable "hub_vcn_cidrs" {
type = list(string)
default = ["192.168.0.0/26"]
}
variable "hub_vcn_dns" {
type = string
default = null
}
# ------------------------------------------------------
# ----- Networking - Firewall settings
#-------------------------------------------------------
variable "hub_vcn_deploy_firewall_option" {
type = string
default = "No"
}
variable "fw_instance_name_prefix" {
type = string
default = "firewall-instance"
}
variable "fw_instance_shape" {
type = string
default = "VM.Standard.E4.Flex"
}
variable "fw_instance_flex_shape_memory" {
type = number
default = 56
}
variable "fw_instance_flex_shape_cpu" {
type = number
default = 4
}
variable "fw_instance_boot_volume_size" {
type = number
default = 60
}
variable "fw_instance_public_rsa_key" {
type = string
default = null
}
variable "customize_hub_vcn_subnets" {
type = bool
default = false
}
# -------------------------------------------
# ----- Networking - Hub Web Subnet
#--------------------------------------------
variable "hub_vcn_web_subnet_name" {
type = string
default = null
}
variable "hub_vcn_web_subnet_cidr" {
type = string
default = null
}
variable "hub_vcn_web_subnet_dns" {
type = string
default = null
}
variable "hub_vcn_web_subnet_is_private" {
type = bool
default = false
}
variable "hub_vcn_web_subnet_jump_host_allowed_cidrs" {
type = list(string)
default = []
}
# -------------------------------------------
# ----- Networking - Hub Mgmt Subnet
#--------------------------------------------
variable "hub_vcn_mgmt_subnet_name" {
type = string
default = null
}
variable "hub_vcn_mgmt_subnet_cidr" {
type = string
default = null
}
variable "hub_vcn_mgmt_subnet_dns" {
type = string
default = null
}
variable "hub_vcn_mgmt_subnet_external_allowed_cidrs_for_http" {
type = list(string)
default = []
}
variable "hub_vcn_mgmt_subnet_external_allowed_cidrs_for_ssh" {
type = list(string)
default = []
}
# -------------------------------------------
# ----- Networking - Hub Outdoor Subnet
#--------------------------------------------
variable "hub_vcn_outdoor_subnet_name" {
type = string
default = null
}
variable "hub_vcn_outdoor_subnet_cidr" {
type = string
default = null
}
variable "hub_vcn_outdoor_subnet_dns" {
type = string
default = null
}
# -------------------------------------------
# ----- Networking - Hub Indoor Subnet
#--------------------------------------------
variable "hub_vcn_indoor_subnet_name" {
type = string
default = null
}
variable "hub_vcn_indoor_subnet_cidr" {
type = string
default = null
}
variable "hub_vcn_indoor_subnet_dns" {
type = string
default = null
}