Skip to content

Commit acdcf6b

Browse files
committed
chore(registration): Detach GuardianAccessSecurityGroup security group from EC2 instances
The `GuardianAccessSecurityGroup` security group enables ingress on port 22. We've been using https://github.com/guardian/ssm-scala for a while, thus direct port 22 access is redundant. Removing security groups has an amount of orchestration: 1. Remove usage of the security group 2. Remove the security group This is part 1.
1 parent 8d8764f commit acdcf6b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

registration/conf/registration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Resources:
143143
- !GetAtt LoadBalancerToPrivateASG.DNSName
144144
TTL: 60
145145
Type: CNAME
146+
147+
# TODO remove this resource as it's redundant following adoption of https://github.com/guardian/ssm-scala.
146148
GuardianAccessSecurityGroup:
147149
Type: AWS::EC2::SecurityGroup
148150
Properties:
@@ -290,7 +292,6 @@ Resources:
290292
InstanceType: !FindInMap [StageVariables, !Ref Stage, InstanceType]
291293
SecurityGroups:
292294
- !Ref InstanceSecurityGroup
293-
- !Ref GuardianAccessSecurityGroup
294295
- !Ref VPCSecurityGroup
295296
MetadataOptions:
296297
HttpTokens: required

0 commit comments

Comments
 (0)