From 5cd3217fc83d6e81f1e284884f11d8598efb06af 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 --- lib/ansible/modules/cloud/amazon/ec2_asg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_asg.py b/lib/ansible/modules/cloud/amazon/ec2_asg.py index da2c3cefcd6..855aae1715f 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_asg.py +++ b/lib/ansible/modules/cloud/amazon/ec2_asg.py @@ -391,6 +391,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)