Skip to content

Commit c3d3733

Browse files
committed
add
1 parent 6ef59a6 commit c3d3733

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.changelog/3530.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-data-source
2+
tencentcloud_tag_keys
3+
```

tencentcloud/services/tag/data_source_tc_tag_keys_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ func TestAccTencentCloudTagKeysDataSource_basic(t *testing.T) {
1717
Providers: tcacctest.AccProviders,
1818
Steps: []resource.TestStep{{
1919
Config: testAccTagKeysDataSource,
20-
Check: resource.ComposeTestCheckFunc(resource.AccCheckTencentCloudDataSourceID("data.tencentcloud_tag_keys.tag_keys")),
20+
Check: resource.ComposeTestCheckFunc(
21+
tcacctest.AccCheckTencentCloudDataSourceID("data.tencentcloud_tag_keys.tags"),
22+
),
2123
}},
2224
})
2325
}
2426

2527
const testAccTagKeysDataSource = `
26-
27-
data "tencentcloud_tag_keys" "tag_keys" {
28-
}
28+
data "tencentcloud_tag_keys" "tags" {}
2929
`

0 commit comments

Comments
 (0)