Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayne Clausson committed Feb 23, 2017
1 parent b9808b7 commit 7b690ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# ECS Instance Draining on Scale In
===================================

Heavily inspired by this AWS [blog post](https://aws.amazon.com/blogs/compute/how-to-automate-container-instance-draining-in-amazon-ecs/), this module deploys resources and code to support ECS Instance Draning to ensure that running tasks are not obliterated by ASG scale-in events.
Heavily inspired by this AWS [blog post](https://aws.amazon.com/blogs/compute/how-to-automate-container-instance-draining-in-amazon-ecs/), this module deploys resources and code to support ECS Instance Draning and ASG lifecycle hook to ensure that running tasks are not obliterated by ASG scale-in events.

Further details about [AutoScaling Lifecyle Hooks](http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) is available.

![alt tag](https://s3.amazonaws.com/chrisb/Architecture.png)

Further details about [AutoScaling Lifecyle Hooks](http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html) is available.

Module Input Variables
----------------------
Expand All @@ -24,7 +25,7 @@ resource "aws_autoscaling_group" "ecs" {
}

module "ecs_instance_draining_on_scale_in" {
source = "../../../modules/ecs-instance-draining-on-scale-in"
source = "github.com/terraform-community-modules/ecs-instance-draining-on-scale-in"

autoscaling_group_name = "${aws_autoscaling_group.ecs.asg_name}"
hook_heartbeat_timeout = 1800
Expand Down

0 comments on commit 7b690ae

Please sign in to comment.