0
私は、次のJSON(testbootstraptable.json)を使用して、ダイナモdbテーブルを作成しようとしているが、AWSを使用してDynamoDBのテーブルを作成するファイル:CLI "--cli入力-JSON"
{
"AttributeDefinitions": [
{
"AttributeName": "test1",
"AttributeType": "S"
},
{
"AttributeName": "test2",
"AttributeType": "S"
}
],
"TableName": "BOOTSTRAP_TEST_TBL",
"KeySchema": [
{
"AttributeName": "test1",
"KeyType": "HASH"
},
{
"AttributeName": "test2",
"KeyType": "RANGE"
}
],
"ProvisionedThroughput": {
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 35,
"WriteCapacityUnits": 35
}
}
私が試してみました、複数のさまざまなバリエーションを持つ回Google検索に基づいていますが、次のエラー取得維持:
Error parsing parameter 'cli-input-json': Invalid JSON: Expecting value: line 1 column 1 (char 0)
JSON received: testbootstraptable.json
AWSコマンド:
$ aws dynamodb create-table --cli-input-json testbootstraptable.json --region us-west-2