This repo contains a Terraform module to autoscale
an AWS ECS service based on the QueueBacklog
and QueueRequiresConsumer
AWS CloudWatch
metrics. Additionally, this repo contains a nested module to deploy an
AWS Lambda function that computes the two metrics.
This repo has the following folder structure:
- modules: This folder contains modules to create resources that use and compute
QueueBacklog
andQueueRequiresConsumer
. - root: The root directory exposes a simplified interface to the modules in order to implement service autoscaling.