From 8ea9de85f153389705cf4eb6c9f43cd7994b940b Mon Sep 17 00:00:00 2001 From: wullub Date: Tue, 7 Jan 2025 14:36:20 +0000 Subject: [PATCH] Update locals_test.tf --- terraform/environments/oasys/locals_test.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/terraform/environments/oasys/locals_test.tf b/terraform/environments/oasys/locals_test.tf index fafd18588de..6249154a162 100644 --- a/terraform/environments/oasys/locals_test.tf +++ b/terraform/environments/oasys/locals_test.tf @@ -114,6 +114,17 @@ locals { t2-oasys-web-c = merge(local.ec2_autoscaling_groups.web, { # For SAN project (OASYS replacement) requested by Howard Smith # Autoscaling disabled as initially server will be configured manually + autoscaling_group = { + desired_capacity = 1 + max_size = 1 + force_delete = true + vpc_zone_identifier = module.environment.subnets["private"].ids + warm_pool = { + min_size = 0 + max_group_prepared_capacity = 1 + reuse_on_scale_in = true + } + } config = merge(local.ec2_autoscaling_groups.web.config, { ami_name = "oasys_webserver_release_*" availability_zone = "eu-west-2a"