We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c431c1e commit f489d60Copy full SHA for f489d60
terraform/modules/app/sg.tf
@@ -27,6 +27,16 @@ resource "aws_vpc_security_group_ingress_rule" "rds_from_phl" {
27
cidr_ipv4 = "10.0.0.0/8"
28
}
29
30
+resource "aws_vpc_security_group_ingress_rule" "rds_from_variety" {
31
+ security_group_id = aws_security_group.rds.id
32
+
33
+ description = "RDS inbound access from Citygeo Variety"
34
+ ip_protocol = "tcp"
35
+ from_port = 5432
36
+ to_port = 5432
37
+ cidr_ipv4 = "100.64.0.0/16"
38
+}
39
40
// EC2 security group
41
resource "aws_security_group" "ec2" {
42
name = "${var.app_name}-${var.env_name}-ec2"
0 commit comments