Skip to content

Commit 19adf72

Browse files
add fhir etl sg internal traffic rule
1 parent 3647f90 commit 19adf72

File tree

1 file changed

+9
-0
lines changed
  • infrastructure/nonprod/networking

1 file changed

+9
-0
lines changed

infrastructure/nonprod/networking/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,15 @@ resource "aws_security_group" "fhir_etl_sg" {
144144
vpc_id = var.vpc_id
145145
}
146146

147+
resource "aws_vpc_security_group_ingress_rule" "fhir_etl_sg_internal_traffic" {
148+
description = "Allow traffic between entities in the same group"
149+
security_group_id = aws_security_group.fhir_etl_sg.id
150+
from_port = 0
151+
to_port = 0
152+
ip_protocol = "tcp"
153+
referenced_security_group_id = aws_security_group.fhir_etl_sg.id
154+
}
155+
147156
resource "aws_vpc_security_group_ingress_rule" "dagster_alb_security_group_to_dagster_website" {
148157
description = "Allows the application load balancer to access the dagster web ui"
149158
security_group_id = aws_security_group.fhir_etl_sg.id

0 commit comments

Comments
 (0)