Skip to content

Commit

Permalink
add aws provider name to org scan (#2043)
Browse files Browse the repository at this point in the history
(cherry picked from commit 164781a)
  • Loading branch information
orouz authored and mergify[bot] committed Mar 19, 2024
1 parent 88642ed commit f93ca4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flavors/benchmark/aws_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (a *AWSOrg) initialize(ctx context.Context, log *logp.Logger, cfg *config.C
return m, nil
}))

return reg, cloud.NewDataProvider(), nil, nil
return reg, cloud.NewDataProvider(cloud.WithAccount(*awsIdentity)), nil, nil
}

func (a *AWSOrg) getAwsAccounts(ctx context.Context, log *logp.Logger, initialCfg awssdk.Config, rootIdentity *cloud.Identity) ([]preset.AwsAccount, error) {
Expand Down

0 comments on commit f93ca4c

Please sign in to comment.