Skip to content

Commit

Permalink
add aws provider name to org scan
Browse files Browse the repository at this point in the history
  • Loading branch information
orouz committed Mar 18, 2024
1 parent d765314 commit b7a4f0e
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 @@ -103,7 +103,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 b7a4f0e

Please sign in to comment.