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

Commit c9b5bbd

Browse files
Merge pull request #5 from trend-scottb/develop
Updated the templates for Deep Security 10.0
2 parents 9bc98bc + 9ce58bd commit c9b5bbd

27 files changed

+4184
-1216
lines changed

templates/Common/DB/DSDBAbstract.template

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"AWSTemplateFormatVersion" : "2010-09-09",
3-
"Description" : "v2016-01-08: This template is an abstraction layer for choosing Oracle or MSSQL when deploying Deep Security Manager",
3+
"Description" : "v5.0: This template is an abstraction layer for choosing Oracle or MSSQL when deploying Deep Security Manager",
44
"Parameters" : {
55
"DBIRDSInstanceSize" : {
66
"Default" : "db.m3.large",
@@ -98,10 +98,6 @@
9898
],
9999
"Default" : "false"
100100
},
101-
"DBIInstanceIdentifier" : {
102-
"Description" : "Choose RDS Instance ID",
103-
"Type" : "String"
104-
},
105101
"DBISubnetGroupName" : {
106102
"Type" : "String",
107103
"Default" : ""
@@ -118,7 +114,7 @@
118114
},
119115
"CfnUrlPrefix" : {
120116
"Type" : "String",
121-
"Default" : "https://s3.amazonaws.com/trend-micro-quick-start/v3.7/"
117+
"Default" : "https://s3.amazonaws.com/quickstart-reference/trendmicro/deepsecurity/latest/templates"
122118
}
123119
},
124120
"Resources" : {
@@ -158,7 +154,6 @@
158154
"RDSSG" : {
159155
"Ref" : "RDSSG"
160156
},
161-
"DBIInstanceIdentifier" : { "Ref" : "DBIInstanceIdentifier" },
162157
"DBISubnetGroupName" : { "Ref" : "DBISubnetGroup" },
163158
"MultiAZ" : { "Ref" : "MultiAZ" }
164159
}
@@ -200,7 +195,6 @@
200195
"RDSSG" : {
201196
"Ref" : "RDSSG"
202197
},
203-
"DBIInstanceIdentifier" : { "Ref" : "DBIInstanceIdentifier" },
204198
"DBISubnetGroupName" : { "Ref" : "DBISubnetGroup" },
205199
"MultiAZ" : { "Ref" : "MultiAZ" }
206200
}

templates/Common/DB/DSDBOracleRDS.template

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"AWSTemplateFormatVersion" : "2010-09-09",
3-
"Description" : "v2016-01-08: This template deploys an Oracle RDS instance for Deep Security Manager",
3+
"Description" : "v5.0: This template deploys an Oracle RDS instance for Deep Security Manager",
44
"Parameters" : {
55
"DBIRDSInstanceSize" : {
66
"Default" : "db.m3.large",
@@ -85,10 +85,6 @@
8585
"RDSSG" : {
8686
"Type" : "AWS::EC2::SecurityGroup::Id"
8787
},
88-
"DBIInstanceIdentifier" : {
89-
"Description" : "Choose RDS Instance ID",
90-
"Type" : "String"
91-
},
9288
"DBISubnetGroupName" : {
9389
"Type" : "String"
9490
},
@@ -117,7 +113,13 @@
117113
"DBInstanceClass" : {
118114
"Ref" : "DBIRDSInstanceSize"
119115
},
120-
"Engine" : "oracle-se1",
116+
"Engine" : {
117+
"Fn::If" : [
118+
"RegionIsUsGovCloud",
119+
"oracle-se1",
120+
"oracle-se2"
121+
]
122+
},
121123
"MasterUsername" : {
122124
"Ref" : "DBICAdminName"
123125
},
@@ -131,12 +133,31 @@
131133
"BackupRetentionPeriod" : {
132134
"Ref" : "DBPBackupDays"
133135
},
134-
"DBInstanceIdentifier" : { "Ref" : "DBIInstanceIdentifier" },
135136
"DBSubnetGroupName" : { "Ref" : "DBISubnetGroupName" },
136-
"StorageType" : { "Ref" : "StorageType" }
137+
"StorageType" : { "Ref" : "StorageType" },
138+
"Tags" : [
139+
{
140+
"Key" : "Application",
141+
"Value" : "Deep Security Manager"
142+
}
143+
]
137144
}
138145
}
139146
},
147+
"Conditions" : {
148+
"RegionIsUsGovCloud" : {
149+
"Fn::Equals" : [
150+
{ "Ref" : "AWS::Region" },
151+
"us-gov-west-1"
152+
]
153+
},
154+
"MultiAZ" : {
155+
"Fn::Equals" : [
156+
{ "Ref": "MultiAZ" },
157+
"true"
158+
]
159+
}
160+
},
140161
"Outputs" : {
141162
"DSDBEndpoint" : {
142163
"Description" : "Endpoint to be passed to DSM installation properties file",

0 commit comments

Comments
 (0)