Skip to content

Commit

Permalink
update LB to recommended tls security policy on DTS Legacy apps (dacp…
Browse files Browse the repository at this point in the history
…, ncas, pra, tipstaff)
  • Loading branch information
mark-butler-solirius committed May 22, 2024
1 parent e4d7fe5 commit bf7db5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion terraform/environments/dacp/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ resource "aws_lb_listener" "dacp_lb" {
load_balancer_arn = aws_lb.dacp_lb.arn
port = local.application_data.accounts[local.environment].server_port_2
protocol = local.application_data.accounts[local.environment].lb_listener_protocol_2
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-2016-08"
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-TLS13-1-2-2021-06"

default_action {
type = "forward"
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/ncas/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ resource "aws_lb_listener" "ncas_lb" {
load_balancer_arn = aws_lb.ncas_lb.arn
port = local.application_data.accounts[local.environment].server_port_2
protocol = local.application_data.accounts[local.environment].lb_listener_protocol_2
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-2016-08"
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-TLS13-1-2-2021-06"

default_action {
type = "forward"
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/pra-register/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ resource "aws_lb_listener" "pra_lb" {
load_balancer_arn = aws_lb.pra_lb.arn
port = local.application_data.accounts[local.environment].server_port_2
protocol = local.application_data.accounts[local.environment].lb_listener_protocol_2
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-2016-08"
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-TLS13-1-2-2021-06"

default_action {
type = "forward"
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/tipstaff/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ resource "aws_lb_listener" "tipstaff_lb" {
load_balancer_arn = aws_lb.tipstaff_lb.arn
port = local.application_data.accounts[local.environment].server_port_2
protocol = local.application_data.accounts[local.environment].lb_listener_protocol_2
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-2016-08"
ssl_policy = local.application_data.accounts[local.environment].lb_listener_protocol_2 == "HTTP" ? "" : "ELBSecurityPolicy-TLS13-1-2-2021-06"

default_action {
type = "forward"
Expand Down

0 comments on commit bf7db5a

Please sign in to comment.