mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 13:47:27 +00:00
iam: explicitly set a region for the iam client
Avoids region not defined errors Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
This commit is contained in:
parent
48be90a64e
commit
045ad2f46e
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ def get_tenant_client(client_config=None):
|
|||
def get_tenant_iam_client():
|
||||
|
||||
client = boto3.client(service_name='iam',
|
||||
region_name='us-east-1',
|
||||
aws_access_key_id=config.tenant_access_key,
|
||||
aws_secret_access_key=config.tenant_secret_key,
|
||||
endpoint_url=config.default_endpoint,
|
||||
|
|
Loading…
Reference in a new issue