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 Manage the Wide Column model in the Tablestore console, Tablestore CLI, and Auto-increment of primary key columns.
Important You can specify at most one auto-increment primary key column for a data table. You cannot set a partition key to an auto-increment primary key column.