diff --git a/terraform/environments/performance-hub/module/ecs/main.tf b/terraform/environments/performance-hub/module/ecs/main.tf index 4a5430b69be..0355d433536 100644 --- a/terraform/environments/performance-hub/module/ecs/main.tf +++ b/terraform/environments/performance-hub/module/ecs/main.tf @@ -26,10 +26,6 @@ data "aws_lb_target_group" "target_group" { } } -data "aws_ssm_parameter" "ecs_optimized_ami" { - name = "/aws/service/ami-windows-latest/Windows_Server-2019-English-Full-ECS_Optimized" -} - resource "aws_autoscaling_group" "cluster-scaling-group" { vpc_zone_identifier = sort(data.aws_subnets.shared-private.ids) desired_capacity = var.ec2_desired_capacity @@ -99,7 +95,7 @@ resource "aws_security_group" "cluster_ec2" { } # EC2 launch template - settings to use for new EC2s added to the group -# Note - when updating this you will need to manually terminate the EC2s +# Note - to force a new AMI you will need to manually terminate the EC2s # so that the autoscaling group creates new ones using the new launch template resource "aws_launch_template" "ec2-launch-template" {