title: Creating dynamodb table using aws cli "--cli-input-json"
body: <p>i have been trying to create a dynamo db table using the following json(testbootstraptable.json) file:</p>
  
  <pre><code>{
          "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
          }
  }
  </code></pre>
  
  <p>I have tried multiple times with different variations based on google search but keep getting the following error:</p>
  
  <pre><code>Error parsing parameter 'cli-input-json': Invalid JSON: Expecting value: line 1 column 1 (char 0)
  JSON received: testbootstraptable.json
  </code></pre>
  
  <p><strong>AWS Command:</strong></p>
  
  <pre><code>$ aws dynamodb create-table --cli-input-json testbootstraptable.json --region us-west-2
  </code></pre>