Skip to content

Commit 6e10ba0

Browse files
committed
Major changes to Lambda code
1 parent f17bdf8 commit 6e10ba0

File tree

1,671 files changed

+86
-627776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,671 files changed

+86
-627776
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ Further details about [AutoScaling Lifecyle Hooks](http://docs.aws.amazon.com/au
1111
Module Input Variables
1212
----------------------
1313

14+
- `region` - The AWS Region where the resources reside.
1415
- `autoscaling_group_name` - The Name of the AutoScaling Group used by the ECS Cluster.
16+
- `cluster_name` - The Name of the ECS Cluster to target
17+
- `function_sleep_time` - Number of seconds the Lambda function should sleep before checking ECS Instance Task Count again. Defaults to 15 seconds.
1518
- `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).
1619
- `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
1720
- `enabled` - boolean expression. If false, the Lifecycle Hook is removed from the AutoScaling Group. Defaults to `true`.
@@ -27,7 +30,9 @@ resource "aws_autoscaling_group" "ecs" {
2730
module "ecs_instance_draining_on_scale_in" {
2831
source = "github.com/terraform-community-modules/tf_aws_ecs_instance_draining_on_scale_in"
2932

33+
region = "eu-west-1"
3034
autoscaling_group_name = "${aws_autoscaling_group.ecs.asg_name}"
35+
cluster-name = "my-cluster"
3136
hook_heartbeat_timeout = 1800
3237
hook_default_result = "ABANDON"
3338
}

index/_markerlib/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

index/_markerlib/__init__.pyc

-1.33 KB
Binary file not shown.

index/_markerlib/markers.py

Lines changed: 0 additions & 119 deletions
This file was deleted.

index/_markerlib/markers.pyc

-5.6 KB
Binary file not shown.

index/boto3-1.4.4.dist-info/DESCRIPTION.rst

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)