This template creates a DynamoDB Table with a Primary Key of Type String instead of Number
MySimpleTable:
Type: 'AWS::Serverless::SimpleTable'
PrimaryKey:
Name: id
Type: Number
ProvisionedThroughput:
ReadCapacityUnits: 5
WriteCapacityUnits: 5
Unless I am misreading the documentation (below), this isn't intended behavior.

https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#primary-key-object
I'm having a similar issue and it seems like the PrimaryKey parameter is ignored entirely. I have it set to Name: button and it still creates pk as id
PrimaryKey should be under properties:
MySimpleTable:
Type: 'AWS::Serverless::SimpleTable'
Properties:
PrimaryKey:
Name: button
Type: Number
I will update the spec to include Properties key in examples because many people are tripping over it.