generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables_net_exacs_vcns.tf
161 lines (146 loc) · 5.96 KB
/
variables_net_exacs_vcns.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
# Copyright (c) 2023 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# ------------------------------------------------------
# ----- Networking - Exadata Cloud Service VCN 1
#-------------------------------------------------------
variable "add_exa_vcn1" {
type = bool
default = false
description = "Whether to add a VCN configured for Exadata Cloud Service deployment, with two subnets: client (private) and backup (private). The added VCN is labelled 'EXA-VCN-1'. The label should be used in the '*_routable_vcns' fields of other VCNs for constraining network traffic to those respective VCNs in a Hub/Spoke topology."
}
variable "exa_vcn1_name" {
type = string
default = null
description = "The VCN name. If unassigned, a default name is provided. VCN label: EXA-VCN-1."
}
variable "exa_vcn1_cidrs" {
type = list(string)
default = ["172.16.0.0/20"]
description = "The list of CIDR blocks for the VCN."
}
variable "exa_vcn1_attach_to_drg" {
type = bool
default = false
description = "If true, the VCN is attached to a DRG, enabling cross-vcn traffic routing."
}
variable "exa_vcn1_client_subnet_cidr" {
type = string
default = null
description = "The Client subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn1_client_subnet_name" {
type = string
default = null
description = "The Client subnet name."
}
variable "exa_vcn1_backup_subnet_cidr" {
type = string
default = null
description = "The Backup subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn1_backup_subnet_name" {
type = string
default = null
description = "The Backup subnet name."
}
variable "exa_vcn1_routable_vcns" {
type = list(string)
default = []
description = "The VCN labels that this VCN can send traffic to. Leave unassigned for sending traffic to all VCNs. Only applicable for Hub/Spoke topology where a DRG is deployed as the hub. Valid values: TT-VCN-1, TT-VCN-2, TT-VCN-3, EXA-VCN-2, EXA-VCN3, OKE-VCN-1, OKE-VCN-2, OKE-VCN-3."
}
# ------------------------------------------------------
# ----- Networking - Exadata Cloud Service VCN 2
#-------------------------------------------------------
variable "add_exa_vcn2" {
type = bool
default = false
description = "Whether to add a second VCN configured for Exadata Cloud Service deployment, with two subnets: client (private) and backup (private). The added VCN is labelled 'EXA-VCN-2'. The label should be used in the '*_routable_vcns' fields of other VCNs for constraining network traffic to those respective VCNs in a Hub/Spoke topology."
}
variable "exa_vcn2_cidrs" {
type = list(string)
default = ["172.17.0.0/20"]
description = "The list of CIDR blocks for the VCN."
}
variable "exa_vcn2_attach_to_drg" {
type = bool
default = false
description = "If true, the VCN is attached to a DRG, enabling cross-vcn traffic routing."
}
variable "exa_vcn2_name" {
default = ""
type = string
description = "The VCN name. If unassigned, a default name is provided. VCN label: EXA-VCN-2"
}
variable "exa_vcn2_client_subnet_cidr" {
type = string
default = null
description = "The Client subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn2_client_subnet_name" {
type = string
default = null
description = "The Client subnet name."
}
variable "exa_vcn2_backup_subnet_cidr" {
type = string
default = null
description = "The Backup subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn2_backup_subnet_name" {
type = string
default = null
description = "The Backup subnet name."
}
variable "exa_vcn2_routable_vcns" {
type = list(string)
default = []
description = "The VCN labels that this VCN can send traffic to. Leave unassigned for sending traffic to all VCNs. Only applicable for Hub/Spoke topology where a DRG is deployed as the hub. Valid values: TT-VCN-1, TT-VCN-2, TT-VCN-3, EXA-VCN-1, EXA-VCN3, OKE-VCN-1, OKE-VCN-2, OKE-VCN-3."
}
# ------------------------------------------------------
# ----- Networking - Exadata Cloud Service VCN 3
#-------------------------------------------------------
variable "add_exa_vcn3" {
type = bool
default = false
description = "Whether to add a third VCN configured for Exadata Cloud Service deployment, with two subnets: client (private) and backup (private). The added VCN is labelled 'EXA-VCN-3'. The label should be used in the '*_routable_vcns' fields of other VCNs for constraining network traffic to those respective VCNs in a Hub/Spoke topology."
}
variable "exa_vcn3_cidrs" {
type = list(string)
default = ["172.18.0.0/20"]
description = "The list of CIDR blocks for the VCN."
}
variable "exa_vcn3_attach_to_drg" {
type = bool
default = false
description = "If true, the VCN is attached to a DRG, enabling cross-vcn traffic routing."
}
variable "exa_vcn3_name" {
type = string
default = ""
description = "The VCN name. If unassigned, a default name is provided. Label: EXA-VCN-3."
}
variable "exa_vcn3_client_subnet_cidr" {
type = string
default = null
description = "The Client subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn3_client_subnet_name" {
type = string
default = null
description = "The Client subnet name."
}
variable "exa_vcn3_backup_subnet_cidr" {
type = string
default = null
description = "The Backup subnet CIDR block. It must be within the VCN CIDR blocks."
}
variable "exa_vcn3_backup_subnet_name" {
type = string
default = null
description = "The Backup subnet name."
}
variable "exa_vcn3_routable_vcns" {
type = list(string)
default = []
description = "The VCN labels that this VCN can send traffic to. Leave unassigned for sending traffic to all VCNs. Only applicable for Hub/Spoke topology where a DRG is deployed as the hub. Valid values: TT-VCN-1, TT-VCN-2, TT-VCN-3, EXA-VCN-1, EXA-VCN2, OKE-VCN-1, OKE-VCN-2, OKE-VCN-3."
}