Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 17c32be

Browse files
committed
Support Oracle SE1 in govcloud; SE2 in commercial
1 parent b1e8f67 commit 17c32be

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

DeepSecurity/Common/DB/DSDBOracleRDS.template

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,13 @@
117117
"DBInstanceClass" : {
118118
"Ref" : "DBIRDSInstanceSize"
119119
},
120-
"Engine" : "oracle-se1",
120+
"Engine" : {
121+
"Fn::If" : [
122+
"RegionIsUsGovCloud",
123+
"oracle-se1",
124+
"oracle-se2"
125+
]
126+
},
121127
"MasterUsername" : {
122128
"Ref" : "DBICAdminName"
123129
},
@@ -137,6 +143,14 @@
137143
}
138144
}
139145
},
146+
"Conditions" : {
147+
"RegionIsUsGovCloud" : {
148+
"Fn::Equals" : [
149+
{ "Ref" : "AWS::Region" },
150+
"us-gov-west-1"
151+
]
152+
}
153+
},
140154
"Outputs" : {
141155
"DSDBEndpoint" : {
142156
"Description" : "Endpoint to be passed to DSM installation properties file",

0 commit comments

Comments
 (0)