Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tencentcloud/resource_tc_cos_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ resource "tencentcloud_cos_bucket" "mycos" {
}
```


Creation of multiple available zone bucket

```hcl
resource "tencentcloud_cos_bucket" "mycos" {
bucket = "mycos-1258798060"
acl = "private"
multi_az = true
versioning_enable = true
}
```

Using verbose acl
```hcl
resource "tencentcloud_cos_bucket" "with_acl_body" {
Expand Down
11 changes: 11 additions & 0 deletions website/docs/r/cos_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ resource "tencentcloud_cos_bucket" "mycos" {
}
```

Creation of multiple available zone bucket

```hcl
resource "tencentcloud_cos_bucket" "mycos" {
bucket = "mycos-1258798060"
acl = "private"
multi_az = true
versioning_enable = true
}
```

Using verbose acl

```hcl
Expand Down