Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 540 Bytes

ECS Instance Draining Module

This module deploys a lambda function for automating container instance draining during a scaling event. It is based on the blog post described here: https://aws.amazon.com/blogs/compute/how-to-automate-container-instance-draining-in-amazon-ecs/.

Usage

module "ecs_draining" {
  source = "./modules/app-cluster/aws/ecs-instance-draining"
  name   = "production-app"
}

Outputs

Name Description
lambda_function_arn The ARN of the created Lambda function
You can’t perform that action at this time.