Configures an ECS task set to run a specified percentage of the service's desired count and ignores any external changes to the scale.

Terraform Template

resource "aws_ecs_task_set" "example" {

  lifecycle {
    ignore_changes = ["scale"]
  }
}