Merge pull request #2075 from evanccnyc/ec2_asgfix

fixing termination policies for ec2_asg
This commit is contained in:
James Cammarata 2015-09-15 10:29:34 -04:00
commit 8125ae624a

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)