Skip to content

Commit 6ddd011

Browse files
authored
fix: cos - add MAZ example (#833)
* fix: cos - add MAZ example * fix: add versioning_enable = true to MAZ * update example relative docs
1 parent c61b9ab commit 6ddd011

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

tencentcloud/resource_tc_cos_bucket.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ resource "tencentcloud_cos_bucket" "mycos" {
1212
}
1313
```
1414
15+
16+
Creation of multiple available zone bucket
17+
18+
```hcl
19+
resource "tencentcloud_cos_bucket" "mycos" {
20+
bucket = "mycos-1258798060"
21+
acl = "private"
22+
multi_az = true
23+
versioning_enable = true
24+
}
25+
```
26+
1527
Using verbose acl
1628
```hcl
1729
resource "tencentcloud_cos_bucket" "with_acl_body" {

website/docs/r/cos_bucket.html.markdown

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ resource "tencentcloud_cos_bucket" "mycos" {
2222
}
2323
```
2424

25+
Creation of multiple available zone bucket
26+
27+
```hcl
28+
resource "tencentcloud_cos_bucket" "mycos" {
29+
bucket = "mycos-1258798060"
30+
acl = "private"
31+
multi_az = true
32+
versioning_enable = true
33+
}
34+
```
35+
2536
Using verbose acl
2637

2738
```hcl

0 commit comments

Comments
 (0)