Skip to content

Commit 37811e2

Browse files
committed
add
1 parent 16c13ba commit 37811e2

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.changelog/3527.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
```release-note:enhancement
2-
datasource/tencentcloud_teo_zones: update doc
2+
datasource/tencentcloud_teo_origin_acl: update doc
33
```

tencentcloud/services/teo/data_source_tc_teo_origin_acl.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,12 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
4646
"current_origin_acl": {
4747
Type: schema.TypeList,
4848
Computed: true,
49-
MaxItems: 1,
5049
Description: "Currently effective origin ACLs. This field is empty when origin protection is not enabled.\nNote: This field may return null, which indicates a failure to obtain a valid value.",
5150
Elem: &schema.Resource{
5251
Schema: map[string]*schema.Schema{
5352
"entire_addresses": {
5453
Type: schema.TypeList,
5554
Computed: true,
56-
MaxItems: 1,
5755
Description: "IP range details.\nNote: This field may return null, which indicates a failure to obtain a valid value.",
5856
Elem: &schema.Resource{
5957
Schema: map[string]*schema.Schema{
@@ -97,7 +95,6 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
9795
"next_origin_acl": {
9896
Type: schema.TypeList,
9997
Computed: true,
100-
MaxItems: 1,
10198
Description: "When the origin ACLs are updated, this field will be returned with the next version's origin IP range to take effect, including a comparison with the current origin IP range. This field is empty if not updated or origin protection is not enabled.\nNote: This field may return null, which indicates a failure to obtain a valid value.",
10299
Elem: &schema.Resource{
103100
Schema: map[string]*schema.Schema{
@@ -114,7 +111,6 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
114111
"entire_addresses": {
115112
Type: schema.TypeList,
116113
Computed: true,
117-
MaxItems: 1,
118114
Description: "IP range details.",
119115
Elem: &schema.Resource{
120116
Schema: map[string]*schema.Schema{
@@ -140,7 +136,6 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
140136
"added_addresses": {
141137
Type: schema.TypeList,
142138
Computed: true,
143-
MaxItems: 1,
144139
Description: "The latest origin IP range newly-added compared with the origin IP range in CurrentOrginACL.",
145140
Elem: &schema.Resource{
146141
Schema: map[string]*schema.Schema{
@@ -166,7 +161,6 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
166161
"removed_addresses": {
167162
Type: schema.TypeList,
168163
Computed: true,
169-
MaxItems: 1,
170164
Description: "The latest origin IP range deleted compared with the origin IP range in CurrentOrginACL.",
171165
Elem: &schema.Resource{
172166
Schema: map[string]*schema.Schema{
@@ -192,7 +186,6 @@ func DataSourceTencentCloudTeoOriginAcl() *schema.Resource {
192186
"no_change_addresses": {
193187
Type: schema.TypeList,
194188
Computed: true,
195-
MaxItems: 1,
196189
Description: "The latest origin IP range is unchanged compared with the origin IP range in CurrentOrginACL.",
197190
Elem: &schema.Resource{
198191
Schema: map[string]*schema.Schema{

0 commit comments

Comments
 (0)