diff --git a/terraform/environments/tribunals/load_balancer.tf b/terraform/environments/tribunals/load_balancer.tf index 2c1237b611e..c8ecba87fd8 100644 --- a/terraform/environments/tribunals/load_balancer.tf +++ b/terraform/environments/tribunals/load_balancer.tf @@ -157,39 +157,39 @@ resource "aws_lb_listener_rule" "tribunals_lb_rule" { } # Maintenance page - uncomment whenever a maintenance page is needed -resource "aws_lb_listener_rule" "maintenance_page" { - listener_arn = aws_lb_listener.tribunals_lb.arn - priority = 1 - -action { - type = "fixed-response" - fixed_response { - content_type = "text/html" - message_body = < - - - - - Maintenance - We'll be back soon - - -
-
🔧
-

We'll be back soon!

-

We are currently performing scheduled maintenance to improve our services. We apologize for any inconvenience.

-

Please check back shortly. Thank you for your patience.

-
- - -EOF - status_code = "503" - } - } - - condition { - host_header { - values = ["*.*"] - } - } -} +# resource "aws_lb_listener_rule" "maintenance_page" { +# listener_arn = aws_lb_listener.tribunals_lb.arn +# priority = 1 + +# action { +# type = "fixed-response" +# fixed_response { +# content_type = "text/html" +# message_body = < +# +# +# +# +# Maintenance - We'll be back soon +# +# +#
+#
🔧
+#

We'll be back soon!

+#

We are currently performing scheduled maintenance to improve our services. We apologize for any inconvenience.

+#

Please check back shortly. Thank you for your patience.

+#
+# +# +# EOF +# status_code = "503" +# } +# } + +# condition { +# host_header { +# values = ["*.*"] +# } +# } +# }