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
Some checks failed
AWS Deploy on Push / build (push) Failing after 1m9s
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user