All Products
Search
Document Center

Tablestore:Does Terraform support the auto-increment primary key column feature?

Last Updated:Jan 23, 2025

You cannot use the auto-increment primary key column feature when you use Terraform to specify the primary key of a table.

You can use the Tablestore console, CLI, or SDKs to specify the auto-increment primary key column when you create a data table. For more information, see Configure an auto-increment primary key column.

Important

You can specify at most one auto-increment primary key column for a data table. You cannot specify the partition key as an auto-increment primary key column.