diff --git a/go.sum b/go.sum index ab612db..96af7eb 100644 --- a/go.sum +++ b/go.sum @@ -339,8 +339,6 @@ github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OK github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/selefra/selefra-provider-sdk v0.0.17-0.20230104134642-11483463e01d h1:AiVhfam8cOkTYbziYMBp3qu3NLnUJdKgrNdubNRhj5U= -github.com/selefra/selefra-provider-sdk v0.0.17-0.20230104134642-11483463e01d/go.mod h1:o0/4RWphTrg78ja9oedg9EEMpE4A4y+DeVzlnkpnq1s= github.com/selefra/selefra-provider-sdk v0.0.17 h1:AG1ZD/TNzMN/3FSGBzUMrrrOljcZ5KNeQ/ntca+FlIM= github.com/selefra/selefra-provider-sdk v0.0.17/go.mod h1:o0/4RWphTrg78ja9oedg9EEMpE4A4y+DeVzlnkpnq1s= github.com/selefra/selefra-utils v0.0.2 h1:Z3cAmMoTr6XePiZJakRmLVi7CvMjZ4ypt8TO73M03F0= diff --git a/tables/alicloud_oss_bucket.go b/tables/alicloud_oss_bucket.go index 5193883..14544db 100644 --- a/tables/alicloud_oss_bucket.go +++ b/tables/alicloud_oss_bucket.go @@ -29,7 +29,9 @@ func (x *TableAlicloudOssBucketGenerator) GetVersion() uint64 { } func (x *TableAlicloudOssBucketGenerator) GetOptions() *schema.TableOptions { - return &schema.TableOptions{} + return &schema.TableOptions{ + PrimaryKeys: []string{"name", "location"}, + } } func (x *TableAlicloudOssBucketGenerator) GetDataSource() *schema.DataSource {