From 8b2668bf560d9b406ed70b607ac5ad2688ace6d3 Mon Sep 17 00:00:00 2001 From: Souradeep Nanda Date: Fri, 6 Sep 2019 13:05:05 +0000 Subject: [PATCH] website/docs oss backend: Clarification for type of primary key (#22591) The primary key of the TableStore must be a string. --- website/docs/backends/types/oss.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/backends/types/oss.html.md b/website/docs/backends/types/oss.html.md index e63dbf6f9..08e3a11f8 100644 --- a/website/docs/backends/types/oss.html.md +++ b/website/docs/backends/types/oss.html.md @@ -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`, 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 -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