File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,6 +268,14 @@ exports[`The Registration stack matches the snapshot for CODE 1`] = `
268268 },
269269 " ToPort" : 22 ,
270270 },
271+ {
272+ " FromPort" : 22 ,
273+ " IpProtocol" : " tcp" ,
274+ " SourceSecurityGroupId" : {
275+ " Fn::ImportValue" : " NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup" ,
276+ },
277+ " ToPort" : 22 ,
278+ },
271279 ],
272280 " Tags" : [
273281 {
@@ -1137,6 +1145,14 @@ exports[`The Registration stack matches the snapshot for PROD 1`] = `
11371145 },
11381146 " ToPort" : 22 ,
11391147 },
1148+ {
1149+ " FromPort" : 22 ,
1150+ " IpProtocol" : " tcp" ,
1151+ " SourceSecurityGroupId" : {
1152+ " Fn::ImportValue" : " NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup" ,
1153+ },
1154+ " ToPort" : 22 ,
1155+ },
11401156 ],
11411157 " Tags" : [
11421158 {
Original file line number Diff line number Diff line change @@ -114,6 +114,10 @@ Resources:
114114 FromPort : 22
115115 IpProtocol : tcp
116116 ToPort : 22
117+ - SourceSecurityGroupId : !ImportValue NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup
118+ FromPort : 22
119+ IpProtocol : tcp
120+ ToPort : 22
117121 VpcId : !Ref VpcId
118122 HighCPUAlarm :
119123 Type : AWS::CloudWatch::Alarm
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ Resources:
152152 FromPort : 22
153153 IpProtocol : tcp
154154 ToPort : 22
155+ - SourceSecurityGroupId : !ImportValue NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup
156+ FromPort : 22
157+ IpProtocol : tcp
158+ ToPort : 22
155159 VpcId : !Ref VpcId
156160 HighCPUAlarm :
157161 Type : AWS::CloudWatch::Alarm
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ Resources:
8585 FromPort : 22
8686 IpProtocol : tcp
8787 ToPort : 22
88+ - SourceSecurityGroupId : !ImportValue NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup
89+ FromPort : 22
90+ IpProtocol : tcp
91+ ToPort : 22
8892 VpcId : !Ref VpcId
8993
9094 HighCpuAlarm :
You can’t perform that action at this time.
0 commit comments