fixing termination policies for ec2_asg

This commit is contained in:
Evan Carter 2015-09-14 18:31:22 -04:00
parent 70ed99ec26
commit 2e84bb9c99

View file

@ -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)