HAPPY HACKING Oouchi's BLOG

PSE(ポンコツエンジニア)の技術ブログ

AWS-CloudFormation

【DynamoDB エラー】Number of attributes in KeySchema does not exactly match number of attributes defined in AttributeDefinitions

はじめに 初めてCloudFormationを使用してDynamoDBのテーブルを作成したときのエラーです。 本題 最初に作成した定義ファイル AWSTemplateFormatVersion: 2010-09-09 Description: DynamoDb. Parameters: Env: Type: String AllowedValues: - prod - stg - d…