From eafcd90260731e3360ce960571f07dee8f521327 Mon Sep 17 00:00:00 2001 From: Julius Unverfehrt Date: Fri, 24 Mar 2023 12:50:13 +0100 Subject: [PATCH] fix bug in storage connection from endpoint --- pyinfra/storage/storage_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinfra/storage/storage_info.py b/pyinfra/storage/storage_info.py index 362872f..65b1084 100644 --- a/pyinfra/storage/storage_info.py +++ b/pyinfra/storage/storage_info.py @@ -126,7 +126,7 @@ def get_storage_info_from_endpoint(public_key: str, endpoint: str, x_tenant_id: access_key=maybe_s3["key"], secret_key=secret, region=maybe_s3["region"], - bucket_name=maybe_s3, + bucket_name=maybe_s3["bucketName"], ) else: raise UnknownStorageBackend()