/terraform-aws-ecs

A collection of modules to manage aws ECS

Primary LanguageHCLMIT LicenseMIT

A collection of Terraform Module to work with AWS ECS

This repository contains multiple modules to manage or facilitate work with ECS.

Included modules:

  • cluster: create an autoscaling group for your ECS cluster.
  • lambda_ecs_draining: create a lambda to correctly handle scale-down events of an autoscaling group of ECS.
  • scheduled_task: create a CloudWatch event that will run a task periodically (cron-style or rate expression)
  • service: create a task and its service (with possibility to add the service to an Application Load Balancer).