From 3c66992d72e53f2fdd72498a8174eaa1c2b44f8a Mon Sep 17 00:00:00 2001 From: wullub Date: Mon, 4 Dec 2023 10:19:48 +0000 Subject: [PATCH] Update locals_test.tf --- terraform/environments/oasys/locals_test.tf | 50 ++++++++++----------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/terraform/environments/oasys/locals_test.tf b/terraform/environments/oasys/locals_test.tf index 7bdd496a93a..0351fbb82c5 100644 --- a/terraform/environments/oasys/locals_test.tf +++ b/terraform/environments/oasys/locals_test.tf @@ -209,31 +209,31 @@ locals { }) }) - "t1-${local.application_name}-bip-b" = merge(local.bip_b, { - autoscaling_group = merge(local.bip_b.autoscaling_group, { - desired_capacity = 1 - }) - autoscaling_schedules = {} - config = merge(local.bip_b.config, { - instance_profile_policies = concat(local.bip_b.config.instance_profile_policies, [ - "Ec2T1BipPolicy", - ]) - # ami_name = "base_rhel_7_9*" - }) - user_data_cloud_init = merge(module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags, { - args = merge(module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags.args, { - branch = "oasys/bip-build-improvement2" - }) - }) - tags = merge(local.bip_b.tags, { - # instance-scheduling = "skip-scheduling" - oasys-environment = "t1" - bip-db-name = "T1BIPINF" - bip-db-hostname = "t1-oasys-db-a" - oasys-db-name = "T1OASYS" - oasys-db-hostname = "t1-oasys-db-a" - }) - }) + # "t1-${local.application_name}-bip-b" = merge(local.bip_b, { + # autoscaling_group = merge(local.bip_b.autoscaling_group, { + # desired_capacity = 1 + # }) + # autoscaling_schedules = {} + # config = merge(local.bip_b.config, { + # instance_profile_policies = concat(local.bip_b.config.instance_profile_policies, [ + # "Ec2T1BipPolicy", + # ]) + # # ami_name = "base_rhel_7_9*" + # }) + # user_data_cloud_init = merge(module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags, { + # args = merge(module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags.args, { + # branch = "oasys/bip-build-improvement2" + # }) + # }) + # tags = merge(local.bip_b.tags, { + # # instance-scheduling = "skip-scheduling" + # oasys-environment = "t1" + # bip-db-name = "T1BIPINF" + # bip-db-hostname = "t1-oasys-db-a" + # oasys-db-name = "T1OASYS" + # oasys-db-hostname = "t1-oasys-db-a" + # }) + # }) } baseline_ec2_autoscaling_groups = {