Skip to content

Commit 9f4296a

Browse files
committed
add
1 parent 9f90011 commit 9f4296a

File tree

2 files changed

+0
-80
lines changed

2 files changed

+0
-80
lines changed

tencentcloud/services/cos/resource_tc_cos_bucket.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -130,46 +130,6 @@ EOF
130130
}
131131
```
132132

133-
Using verbose acl with CDC
134-
135-
```hcl
136-
data "tencentcloud_user_info" "info" {}
137-
138-
locals {
139-
app_id = data.tencentcloud_user_info.info.app_id
140-
}
141-
142-
resource "tencentcloud_cos_bucket" "bucket_with_acl" {
143-
bucket = "bucketwith-acl-${local.app_id}"
144-
cdc_id = "cluster-262n63e8"
145-
# NOTE: Specify the acl_body by the priority sequence of permission and user type with the following sequence: `CanonicalUser with READ`, `CanonicalUser with WRITE`, `CanonicalUser with FULL_CONTROL`, `CanonicalUser with WRITE_ACP`, `CanonicalUser with READ_ACP`, then specify the `Group` of permissions same as `CanonicalUser`.
146-
acl_body = <<EOF
147-
<AccessControlPolicy
148-
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
149-
<Owner>
150-
<ID>qcs::cam::uin/100023201586:uin/100023201586</ID>
151-
</Owner>
152-
<AccessControlList>
153-
<Grant>
154-
<Grantee
155-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
156-
<ID>qcs::cam::uin/100023201586:uin/100023201586</ID>
157-
</Grantee>
158-
<Permission>FULL_CONTROL</Permission>
159-
</Grant>
160-
<Grant>
161-
<Grantee
162-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
163-
<ID>100015006748</ID>
164-
</Grantee>
165-
<Permission>READ</Permission>
166-
</Grant>
167-
</AccessControlList>
168-
</AccessControlPolicy>
169-
EOF
170-
}
171-
```
172-
173133
Static Website
174134

175135
```hcl

website/docs/r/cos_bucket.html.markdown

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -141,46 +141,6 @@ EOF
141141
}
142142
```
143143

144-
### Using verbose acl with CDC
145-
146-
```hcl
147-
data "tencentcloud_user_info" "info" {}
148-
149-
locals {
150-
app_id = data.tencentcloud_user_info.info.app_id
151-
}
152-
153-
resource "tencentcloud_cos_bucket" "bucket_with_acl" {
154-
bucket = "bucketwith-acl-${local.app_id}"
155-
cdc_id = "cluster-262n63e8"
156-
# NOTE: Specify the acl_body by the priority sequence of permission and user type with the following sequence: `CanonicalUser with READ`, `CanonicalUser with WRITE`, `CanonicalUser with FULL_CONTROL`, `CanonicalUser with WRITE_ACP`, `CanonicalUser with READ_ACP`, then specify the `Group` of permissions same as `CanonicalUser`.
157-
acl_body = <<EOF
158-
<AccessControlPolicy
159-
xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
160-
<Owner>
161-
<ID>qcs::cam::uin/100023201586:uin/100023201586</ID>
162-
</Owner>
163-
<AccessControlList>
164-
<Grant>
165-
<Grantee
166-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
167-
<ID>qcs::cam::uin/100023201586:uin/100023201586</ID>
168-
</Grantee>
169-
<Permission>FULL_CONTROL</Permission>
170-
</Grant>
171-
<Grant>
172-
<Grantee
173-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
174-
<ID>100015006748</ID>
175-
</Grantee>
176-
<Permission>READ</Permission>
177-
</Grant>
178-
</AccessControlList>
179-
</AccessControlPolicy>
180-
EOF
181-
}
182-
```
183-
184144
### Static Website
185145

186146
```hcl

0 commit comments

Comments
 (0)