Skip to content

Commit dd5b844

Browse files
authored
Prevent default security groups from accessing registration DB (#1718)
1 parent c19ccf1 commit dd5b844

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

registration-db.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ Parameters:
2020
PrivateVpcSubnets:
2121
Description: Private Subnets to use in VPC
2222
Type: List<AWS::EC2::Subnet::Id>
23-
VPCSecurityGroup:
24-
Type: AWS::EC2::SecurityGroup::Id
25-
Description: The default security group of the VPC
2623
MasterUserName:
2724
Type: String
2825
Description: The root user name to create in the database
@@ -54,16 +51,6 @@ Resources:
5451
FromPort: 5432
5552
IpProtocol: tcp
5653
ToPort: 5432
57-
58-
# TODO Remove this rule once all applications are using the PostgresAccessSecurityGroup
59-
- SourceSecurityGroupId: !Ref VPCSecurityGroup
60-
FromPort: 5432
61-
IpProtocol: tcp
62-
ToPort: 5432
63-
- SourceSecurityGroupId: !ImportValue NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup
64-
FromPort: 5432
65-
IpProtocol: tcp
66-
ToPort: 5432
6754
Tags:
6855
- Key: Stage
6956
Value: !Ref Stage

0 commit comments

Comments
 (0)