From bd3857c8f2f83435e2f28742f8b75cdc86e202b0 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Wed, 11 Oct 2023 18:06:57 +0200 Subject: [PATCH] fix formatting issue --- steps/list/src/handler/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/list/src/handler/list.py b/steps/list/src/handler/list.py index e5a77db..6d2b9b4 100644 --- a/steps/list/src/handler/list.py +++ b/steps/list/src/handler/list.py @@ -13,7 +13,7 @@ def list_accounts(event, context): account["Id"] for account in accounts if account.get("Status") == "ACTIVE" ] - payer_account_id = boto3.client('sts').get_caller_identity().get('Account') + payer_account_id = boto3.client("sts").get_caller_identity().get("Account") ignored_account_ids = [payer_account_id] return list(set(accounts) - set(ignored_account_ids))