1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixing termination policies for ec2_asg

This commit is contained in:
Evan Carter 2015-09-14 18:31:22 -04:00 committed by Matt Clay
parent e9c04cfdfd
commit 5cd3217fc8

View file

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