diff --git a/infrastructure/stack.py b/infrastructure/stack.py index 48d77e7..8437321 100644 --- a/infrastructure/stack.py +++ b/infrastructure/stack.py @@ -217,13 +217,6 @@ class IptvUpdaterStack(Stack): ec2.Port.tcp(5432), "Allow PostgreSQL access from EC2 instance" ) - - # Allow PostgreSQL access from developer's IP - rds_sg.add_ingress_rule( - ec2.Peer.ipv4("47.189.88.48/32"), # Replace with your actual IP - ec2.Port.tcp(5432), - "Allow PostgreSQL access from developer IP" - ) # Create RDS PostgreSQL instance (free tier compatible - db.t3.micro) db = rds.DatabaseInstance(