website/docs oss backend: Clarification for type of primary key (#22591)
The primary key of the TableStore must be a string.
This commit is contained in:
parent
0c63c7c854
commit
8b2668bf56
|
@ -34,7 +34,7 @@ terraform {
|
||||||
This assumes we have a [OSS Bucket](https://www.terraform.io/docs/providers/alicloud/r/oss_bucket.html) created called `bucket-for-terraform-state`,
|
This assumes we have a [OSS Bucket](https://www.terraform.io/docs/providers/alicloud/r/oss_bucket.html) created called `bucket-for-terraform-state`,
|
||||||
a [OTS Instance](https://www.terraform.io/docs/providers/alicloud/r/ots_instance.html) called `terraform-remote` and
|
a [OTS Instance](https://www.terraform.io/docs/providers/alicloud/r/ots_instance.html) called `terraform-remote` and
|
||||||
a [OTS TableStore](https://www.terraform.io/docs/providers/alicloud/r/ots_table.html) called `statelock`. The
|
a [OTS TableStore](https://www.terraform.io/docs/providers/alicloud/r/ots_table.html) called `statelock`. The
|
||||||
Terraform state will be written into the file `path/mystate/version-1.tfstate`.
|
Terraform state will be written into the file `path/mystate/version-1.tfstate`. The `TableStore` must have a primary key of type `string`.
|
||||||
|
|
||||||
|
|
||||||
## Using the OSS remote state
|
## Using the OSS remote state
|
||||||
|
|
Loading…
Reference in New Issue