Skip to content

Commit

Permalink
update the role arn
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed Oct 11, 2024
1 parent 3bbc814 commit 402497a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fixbackend/dispatcher/dispatcher_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,10 @@ async def account_information() -> Optional[AccountInformation]:
aws_account_id=account.account_id,
aws_account_name=account.final_name(),
aws_role_arn=AwsARN(f"arn:aws:iam::{account.account_id}:role/{role_name}"),
scrape_org_role_arn=AwsARN(
f"arn:aws:iam::{privileged_account_id}:role/FixCrossAccountAccessRole"
scrape_org_role_arn=(
AwsARN(f"arn:aws:iam::{privileged_account_id}:role/{role_name}")
if privileged_account_id
else None
),
external_id=external_id,
)
Expand Down

0 comments on commit 402497a

Please sign in to comment.