Skip to content

Commit

Permalink
[feat] Provide scrape_org_role_arn config (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias authored Oct 11, 2024
1 parent f91a0c6 commit f00c994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collect_coordinator/worker_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ def handle_aws_account() -> None:
"profiles": [aws_profile],
"prefer_profile_as_account_name": aws_account_name is not None,
}
if arn := account.get("scrape_org_role_arn"):
worker_config["aws"]["scrape_org_role_arn"] = arn

if account["kind"] == "aws_account_information":
handle_aws_account()
Expand Down

0 comments on commit f00c994

Please sign in to comment.