fixing termination policies for ec2_asg

reviewable/pr18780/r1
Evan Carter 9 years ago
parent 70ed99ec26
commit 2e84bb9c99

@ -392,6 +392,7 @@ def create_autoscaling_group(connection, module):
wait_for_instances = module.params.get('wait_for_instances') wait_for_instances = module.params.get('wait_for_instances')
as_groups = connection.get_all_groups(names=[group_name]) as_groups = connection.get_all_groups(names=[group_name])
wait_timeout = module.params.get('wait_timeout') wait_timeout = module.params.get('wait_timeout')
termination_policies = module.params.get('termination_policies')
if not vpc_zone_identifier and not availability_zones: if not vpc_zone_identifier and not availability_zones:
region, ec2_url, aws_connect_params = get_aws_connection_info(module) region, ec2_url, aws_connect_params = get_aws_connection_info(module)

Loading…
Cancel
Save