From 2e84bb9c9948fa7c4b2f33cc3ab8dd9f4c88aed7 Mon Sep 17 00:00:00 2001 From: Evan Carter Date: Mon, 14 Sep 2015 18:31:22 -0400 Subject: [PATCH] fixing termination policies for ec2_asg --- cloud/amazon/ec2_asg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/amazon/ec2_asg.py b/cloud/amazon/ec2_asg.py index c78bf462a8a..93d2d6b96b7 100644 --- a/cloud/amazon/ec2_asg.py +++ b/cloud/amazon/ec2_asg.py @@ -392,6 +392,7 @@ def create_autoscaling_group(connection, module): wait_for_instances = module.params.get('wait_for_instances') as_groups = connection.get_all_groups(names=[group_name]) wait_timeout = module.params.get('wait_timeout') + termination_policies = module.params.get('termination_policies') if not vpc_zone_identifier and not availability_zones: region, ec2_url, aws_connect_params = get_aws_connection_info(module)