Skip to content

Commit

Permalink
DSOS-2918: planetfm: revert lb config (#7543)
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj authored Aug 19, 2024
1 parent 1fc339e commit 501c7ab
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions terraform/environments/planetfm/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ locals {
web-3637-80 = merge(local.lbs.private.instance_target_groups.web-80, {
attachments = [
{ ec2_instance_name = "pd-cafm-w-36-b" },
# { ec2_instance_name = "pd-cafm-w-37-a" }, # removing temporarily for migration test
{ ec2_instance_name = "pd-cafm-w-37-a" },
]
})
web-38-80 = merge(local.lbs.private.instance_target_groups.web-80, {
Expand All @@ -290,25 +290,6 @@ locals {
}

listeners = merge(local.lbs.private.listeners, {
http = merge(local.lbs.private.listeners.http, {
rules = {
# Temporary rule for investigation info prod migration issue
web-3637-80 = {
priority = 3637
actions = [{
type = "forward"
target_group_name = "web-3637-80"
}]
conditions = [{
host_header = {
values = [
"cafmwebx2.planetfm.service.justice.gov.uk",
]
}
}]
}
}
})
https = merge(local.lbs.private.listeners.https, {
alarm_target_group_names = [
"web-3637-80",
Expand Down

0 comments on commit 501c7ab

Please sign in to comment.