Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add brief pointer comment at IAM client call sites
  • Loading branch information
chadwpetersen committed Jun 25, 2026
commit 77d8b2c0f04898a3701adc9b3524689a990c47a3
1 change: 1 addition & 0 deletions resources/cloudformation-stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func (l *CloudFormationStackLister) List(_ context.Context, o interface{}) ([]re
opts := o.(*nuke.ListerOpts)

svc := cloudformation.New(opts.Session)
// Pinned to aws-global; see awsutil.SkipRegionalForGlobalService.
iamSvc := iam.NewFromConfig(*opts.Config, func(o *iam.Options) {
o.Region = "aws-global"
})
Expand Down
1 change: 1 addition & 0 deletions resources/ssmquicksetup-configuration-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (l *SSMQuickSetupConfigurationManagerLister) List(ctx context.Context, o in
for _, p := range res.ConfigurationManagersList {
resources = append(resources, &SSMQuickSetupConfigurationManager{
svc: svc,
// Pinned to aws-global; see awsutil.SkipRegionalForGlobalService.
iamSvc: iam.NewFromConfig(*opts.Config, func(o *iam.Options) {
o.Region = "aws-global"
}),
Expand Down
Loading