fixing termination policies for ec2_asg

pull/18777/head
Evan Carter 9 years ago committed by Matt Clay
parent e9c04cfdfd
commit 5cd3217fc8

@ -391,6 +391,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