Skip to content

Commit

Permalink
Merge pull request #2 from sclausson/master
Browse files Browse the repository at this point in the history
Major changes to Lambda code
  • Loading branch information
sclausson committed May 15, 2019
2 parents f17bdf8 + 6e10ba0 commit 4b18251
Show file tree
Hide file tree
Showing 1,671 changed files with 86 additions and 627,776 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Further details about [AutoScaling Lifecyle Hooks](http://docs.aws.amazon.com/au
Module Input Variables
----------------------

- `region` - The AWS Region where the resources reside.
- `autoscaling_group_name` - The Name of the AutoScaling Group used by the ECS Cluster.
- `cluster_name` - The Name of the ECS Cluster to target
- `function_sleep_time` - Number of seconds the Lambda function should sleep before checking ECS Instance Task Count again. Defaults to 15 seconds.
- `hook_heartbeat_timeout` - Amount of time, in seconds, the lifecycle hook should wait before giving up and moving onto the default result. Defaults to 900 (15 mins).
- `hook_default_result` - Can be one of either ABANDON or CONTINUE. ABANDON stops any remaining actions, such as other lifecycle hooks, while CONTINUE allows any other lifecycle hooks to complete. Default is ABANDON
- `enabled` - boolean expression. If false, the Lifecycle Hook is removed from the AutoScaling Group. Defaults to `true`.
Expand All @@ -27,7 +30,9 @@ resource "aws_autoscaling_group" "ecs" {
module "ecs_instance_draining_on_scale_in" {
source = "github.com/terraform-community-modules/tf_aws_ecs_instance_draining_on_scale_in"

region = "eu-west-1"
autoscaling_group_name = "${aws_autoscaling_group.ecs.asg_name}"
cluster-name = "my-cluster"
hook_heartbeat_timeout = 1800
hook_default_result = "ABANDON"
}
Expand Down
16 changes: 0 additions & 16 deletions index/_markerlib/__init__.py

This file was deleted.

Binary file removed index/_markerlib/__init__.pyc
Binary file not shown.
119 changes: 0 additions & 119 deletions index/_markerlib/markers.py

This file was deleted.

Binary file removed index/_markerlib/markers.pyc
Binary file not shown.
116 changes: 0 additions & 116 deletions index/boto3-1.4.4.dist-info/DESCRIPTION.rst

This file was deleted.

Loading

0 comments on commit 4b18251

Please sign in to comment.