From 9168ed47366d80f1cbc2ee2fb576d9dcc6962902 Mon Sep 17 00:00:00 2001 From: EC Date: Thu, 17 Sep 2015 15:47:16 -0400 Subject: [PATCH] Fixing ec2_asg termination_policy If this isnt set, it wont launch the instances because it needs to default to "Default" despite what boto docs say. --- cloud/amazon/ec2_asg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_asg.py b/cloud/amazon/ec2_asg.py index 93d2d6b96b7..7d03a7b35f4 100644 --- a/cloud/amazon/ec2_asg.py +++ b/cloud/amazon/ec2_asg.py @@ -794,7 +794,7 @@ def main(): health_check_type=dict(default='EC2', choices=['EC2', 'ELB']), default_cooldown=dict(type='int', default=300), wait_for_instances=dict(type='bool', default=True), - termination_policies=dict(type='list', default=None) + termination_policies=dict(type='list', default='Default') ), )