diff --git a/terraform/environments/oasys/locals_test.tf b/terraform/environments/oasys/locals_test.tf index f1ac033e956..dfc46ff1128 100644 --- a/terraform/environments/oasys/locals_test.tf +++ b/terraform/environments/oasys/locals_test.tf @@ -111,34 +111,34 @@ locals { oracle-db-sid = "T2OASYS2" }) }) - t2-oasys-web-c = merge(local.ec2_autoscaling_groups.web, { - # For SAN project (OASYS replacement) requested by Howard Smith - autoscaling_group = merge(local.ec2_autoscaling_groups.web.autoscaling_group, { - warm_pool = { - min_size = 0 - reuse_on_scale_in = true - } - }) - config = merge(local.ec2_autoscaling_groups.web.config, { - ami_name = "oasys_webserver_release_*" - availability_zone = "eu-west-2b" - iam_resource_names_prefix = "ec2-web-t2" - instance_profile_policies = concat(local.ec2_autoscaling_groups.web.config.instance_profile_policies, [ - "Ec2T2WebPolicy", - ]) - }) - user_data_cloud_init = merge(local.ec2_autoscaling_groups.web.user_data_cloud_init, { - args = merge(local.ec2_autoscaling_groups.web.user_data_cloud_init.args, { - branch = "main" - }) - }) - tags = merge(local.ec2_autoscaling_groups.web.tags, { - description = "t2 oasys web" - oasys-environment = "t2" - oracle-db-hostname = "db.t2.oasys.hmpps-test.modernisation-platform.internal" - oracle-db-sid = "T2OASYS2" - }) - }) + # t2-oasys-web-c = merge(local.ec2_autoscaling_groups.web, { + # # For SAN project (OASYS replacement) requested by Howard Smith + # autoscaling_group = merge(local.ec2_autoscaling_groups.web.autoscaling_group, { + # warm_pool = { + # min_size = 0 + # reuse_on_scale_in = true + # } + # }) + # config = merge(local.ec2_autoscaling_groups.web.config, { + # ami_name = "oasys_webserver_release_*" + # availability_zone = "eu-west-2b" + # iam_resource_names_prefix = "ec2-web-t2" + # instance_profile_policies = concat(local.ec2_autoscaling_groups.web.config.instance_profile_policies, [ + # "Ec2T2WebPolicy", + # ]) + # }) + # user_data_cloud_init = merge(local.ec2_autoscaling_groups.web.user_data_cloud_init, { + # args = merge(local.ec2_autoscaling_groups.web.user_data_cloud_init.args, { + # branch = "main" + # }) + # }) + # tags = merge(local.ec2_autoscaling_groups.web.tags, { + # description = "t2 oasys web" + # oasys-environment = "t2" + # oracle-db-hostname = "db.t2.oasys.hmpps-test.modernisation-platform.internal" + # oracle-db-sid = "T2OASYS2" + # }) + # }) # t2-oasys-san-web-a = merge(local.ec2_autoscaling_groups.web, { # # For SAN project (OASYS replacement) requested by Howard Smith # # Autoscaling disabled as initially server will be configured manually @@ -440,22 +440,22 @@ locals { } ] } - t2-web-c-http-8080 = { - priority = 160 - actions = [{ - type = "forward" - target_group_name = "t2-oasys-web-c-pb-http-8080" - }] - conditions = [ - { - host_header = { - values = [ - "t2-c.oasys.service.justice.gov.uk", - ] - } - } - ] - } + # t2-web-c-http-8080 = { + # priority = 160 + # actions = [{ + # type = "forward" + # target_group_name = "t2-oasys-web-c-pb-http-8080" + # }] + # conditions = [ + # { + # host_header = { + # values = [ + # "t2-c.oasys.service.justice.gov.uk", + # ] + # } + # } + # ] + # } t1-web-http-8080 = { priority = 300 actions = [{ @@ -519,22 +519,22 @@ locals { } ] } - t2-web-c-http-8080 = { - priority = 160 - actions = [{ - type = "forward" - target_group_name = "t2-oasys-web-c-pv-http-8080" - }] - conditions = [ - { - host_header = { - values = [ - "t2-c-int.oasys.service.justice.gov.uk", - ] - } - } - ] - } + # t2-web-c-http-8080 = { + # priority = 160 + # actions = [{ + # type = "forward" + # target_group_name = "t2-oasys-web-c-pv-http-8080" + # }] + # conditions = [ + # { + # host_header = { + # values = [ + # "t2-c-int.oasys.service.justice.gov.uk", + # ] + # } + # } + # ] + # } t1-web-http-8080 = { priority = 300 actions = [{