You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/language/settings/backends/cos.mdx
+4-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,10 @@ description: >-
9
9
10
10
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).
11
11
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
13
16
14
17
~> **Warning!** It is highly recommended that you enable [Object Versioning](https://intl.cloud.tencent.com/document/product/436/19883)
15
18
on the COS bucket to allow for state recovery in the case of accidental deletions and human error.
0 commit comments