--- a/contrib/automation/hgautomation/cli.py Fri Apr 19 05:15:43 2019 -0700
+++ b/contrib/automation/hgautomation/cli.py Fri Apr 19 05:20:33 2019 -0700
@@ -95,12 +95,12 @@
def terminate_ec2_instances(hga: HGAutomation, aws_region):
- c = hga.aws_connection(aws_region)
+ c = hga.aws_connection(aws_region, ensure_ec2_state=False)
aws.terminate_ec2_instances(c.ec2resource)
def purge_ec2_resources(hga: HGAutomation, aws_region):
- c = hga.aws_connection(aws_region)
+ c = hga.aws_connection(aws_region, ensure_ec2_state=False)
aws.remove_resources(c)