Skip to content

Commit

Permalink
Merge pull request #3607 from ministryofjustice/NIT-858-delius-db-fix…
Browse files Browse the repository at this point in the history
…-unhealthy-weblogic-app-and-point-to-ec-2-db-server

Delius-core: alb to weblogic  sg rule
  • Loading branch information
shazChaudhry authored Oct 6, 2023
2 parents 820073a + 367ff2f commit c35132f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@ resource "aws_security_group" "weblogic" {
}
}

resource "aws_vpc_security_group_ingress_rule" "name" {
security_group_id = aws_security_group.weblogic.id
description = "Allow traffic from ALB to weblogic task"
from_port = var.weblogic_config.frontend_container_port
to_port = var.weblogic_config.frontend_container_port
ip_protocol = "TCP"
referenced_security_group_id = aws_security_group.delius_core_frontend_security_group.id
}

resource "aws_security_group_rule" "weblogic_allow_all_egress" {
description = "Allow all outbound traffic to any IPv4 address"
type = "egress"
Expand Down

0 comments on commit c35132f

Please sign in to comment.