Refactored DB schema. Channels table to have uuid as primary key. Modified endpoints accordingly
Some checks failed
AWS Deploy on Push / build (push) Failing after 1m9s

This commit is contained in:
2025-05-22 11:34:04 -05:00
parent 5ee6cb4be4
commit 9e8df169fc
5 changed files with 72 additions and 18 deletions

View File

@@ -209,6 +209,13 @@ 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's IP"
)
# Create RDS PostgreSQL instance (free tier compatible - db.t3.micro)
db = rds.DatabaseInstance(