From 3ab250a869c98e6f7c06396391f8d9d95e9733fc Mon Sep 17 00:00:00 2001 From: alesapin Date: Tue, 21 Dec 2021 16:47:23 +0300 Subject: [PATCH] Add region name: --- tests/ci/keeper_jepsen_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ci/keeper_jepsen_check.py b/tests/ci/keeper_jepsen_check.py index a25be94ddcc..380bd501d3d 100644 --- a/tests/ci/keeper_jepsen_check.py +++ b/tests/ci/keeper_jepsen_check.py @@ -69,7 +69,7 @@ def get_instances_addresses(ec2_client, instance_ids): def prepare_autoscaling_group_and_get_hostnames(): - asg_client = boto3.client('autoscaling') + asg_client = boto3.client('autoscaling', region_name='us-east-1') asg_client.set_desired_capacity(AutoScalingGroupName=JEPSEN_GROUP_NAME, DesiredCapacity=DESIRED_INSTANCE_COUNT) instances = get_autoscaling_group_instances_ids(asg_client, JEPSEN_GROUP_NAME) @@ -81,7 +81,7 @@ def prepare_autoscaling_group_and_get_hostnames(): if counter > 30: raise Exception("Cannot wait autoscaling group") - ec2_client = boto3.client('ec2') + ec2_client = boto3.client('ec2', region_name='us-east-1') return get_instances_addresses(ec2_client, instances)