mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #33274 from davendu/main
docs/backends/cos: add necessary permission list for using the backend
This commit is contained in:
commit
66e3c20b18
@ -9,7 +9,10 @@ description: >-
|
||||
|
||||
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).
|
||||
|
||||
This backend supports [state locking](/terraform/language/state/locking).
|
||||
This backend supports [state locking](/terraform/language/state/locking). Storing your state in a COS bucket requires the following permissions:
|
||||
|
||||
- `CreateTag`, `DeleteTag`, and `DescribeTags` on the tag key `tencentcloud-terraform-lock`
|
||||
- `Put`, `Get`, and `Delete` files for the specified bucket's prefix
|
||||
|
||||
~> **Warning!** It is highly recommended that you enable [Object Versioning](https://intl.cloud.tencent.com/document/product/436/19883)
|
||||
on the COS bucket to allow for state recovery in the case of accidental deletions and human error.
|
||||
|
Loading…
Reference in New Issue
Block a user