Skip to content

Commit ce9882f

Browse files
committed
use accountmultiplex
1 parent 6f2efc0 commit ce9882f

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

plugins/source/aws/resources/services/backup/global_settings.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func GlobalSettings() *schema.Table {
1212
Name: "aws_backup_global_settings",
1313
Description: `https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeGlobalSettings.html`,
1414
Resolver: fetchBackupGlobalSettings,
15-
Multiplex: client.ServiceAccountRegionMultiplexer("backup"),
15+
Multiplex: client.AccountMultiplex,
1616
Transform: transformers.TransformWithStruct(&backup.DescribeGlobalSettingsOutput{}),
1717
Columns: []schema.Column{
1818
{
@@ -23,14 +23,6 @@ func GlobalSettings() *schema.Table {
2323
PrimaryKey: true,
2424
},
2525
},
26-
{
27-
Name: "region",
28-
Type: schema.TypeString,
29-
Resolver: client.ResolveAWSRegion,
30-
CreationOptions: schema.ColumnCreationOptions{
31-
PrimaryKey: true,
32-
},
33-
},
3426
},
3527
}
3628
}

0 commit comments

Comments
 (0)