Skip to content

Commit 66e3c20

Browse files
authored
Merge pull request #33274 from davendu/main
docs/backends/cos: add necessary permission list for using the backend
2 parents 1e6b2d0 + 8b8a4c4 commit 66e3c20

File tree

1 file changed

+4
-1
lines changed
  • website/docs/language/settings/backends

1 file changed

+4
-1
lines changed

Diff for: website/docs/language/settings/backends/cos.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ description: >-
99

1010
Stores the state as an object in a configurable prefix in a given bucket on [Tencent Cloud Object Storage](https://intl.cloud.tencent.com/product/cos) (COS).
1111

12-
This backend supports [state locking](/terraform/language/state/locking).
12+
This backend supports [state locking](/terraform/language/state/locking). Storing your state in a COS bucket requires the following permissions:
13+
14+
- `CreateTag`, `DeleteTag`, and `DescribeTags` on the tag key `tencentcloud-terraform-lock`
15+
- `Put`, `Get`, and `Delete` files for the specified bucket's prefix
1316

1417
~> **Warning!** It is highly recommended that you enable [Object Versioning](https://intl.cloud.tencent.com/document/product/436/19883)
1518
on the COS bucket to allow for state recovery in the case of accidental deletions and human error.

0 commit comments

Comments
 (0)