Skip to content

Commit 80a830e

Browse files
committed
add
1 parent 017e637 commit 80a830e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tencentcloud/services/cos/data_source_tc_cos_buckets.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,11 @@ func DataSourceTencentCloudCosBuckets() *schema.Resource {
261261
// Description: "",
262262
//},
263263
"follow_http_headers": {
264-
Type: schema.TypeList,
265-
Optional: true,
264+
Type: schema.TypeSet,
265+
Optional: true,
266+
Set: func(i interface{}) int {
267+
return helper.HashString(i.(string))
268+
},
266269
Description: "Specifies the pass through headers when accessing the origin server.",
267270
Elem: &schema.Schema{Type: schema.TypeString},
268271
},

0 commit comments

Comments
 (0)