contrib/automation/hgautomation/__init__.py
changeset 42277 dd6a9723ae2b
parent 42024 b05a3e28cf24
child 43076 2372284d9457
--- a/contrib/automation/hgautomation/__init__.py	Fri Apr 19 05:15:43 2019 -0700
+++ b/contrib/automation/hgautomation/__init__.py	Fri Apr 19 05:20:33 2019 -0700
@@ -53,7 +53,7 @@
 
         return password
 
-    def aws_connection(self, region: str):
+    def aws_connection(self, region: str, ensure_ec2_state: bool=True):
         """Obtain an AWSConnection instance bound to a specific region."""
 
-        return AWSConnection(self, region)
+        return AWSConnection(self, region, ensure_ec2_state=ensure_ec2_state)