serverless-components / aws-dynamodb

⚡ Easily provision AWS DynamoDB tables using Serverless Components.
https://www.serverless.com
Apache License 2.0
59 stars 11 forks source link

Can't define attribute of type BOOL #23

Open aleksanderhayes opened 3 years ago

aleksanderhayes commented 3 years ago
inputs:
  name: ${name}-${stage}
  attributeDefinitions:
    - AttributeName: mobileNumber
      AttributeType: S
    - AttributeName: orderId
      AttributeType: S
    - AttributeName: isSettle
      AttributeType: BOOL

1 validation error detected: Value 'BOOL' at 'attributeDefinitions.3.member.attributeType' failed to satisfy constraint: Member must satisfy enum value set: [B, N, S]