Skip to content

Commit

Permalink
fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhammerl committed Oct 11, 2023
1 parent 97b8009 commit bd3857c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion steps/list/src/handler/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit bd3857c

Please sign in to comment.