title: Dynamo DB : inserting data while creating the table through a lambda function
body: <p>I have a lambda function which I am using to create the DynamoDB table.</p>
  
  <p>I have a requirement, wherein I need to insert some data in this table, after the table is created.</p>
  
  <p>In DynamoDB, Create table is an asynchronous call. While the table is being created, it is in <code>"CREATING"</code> state and after that it goes into <code>"ACTIVE"</code> state.</p>
  
  <p>The challenge is, I can't insert the data in this table, till it is not in <code>"ACTIVE"</code> state and I get <code>ResourceNotFoundException</code> exception.</p>
  
  <p>Is there any way, I can insert this data in the table while it is created?</p>
  
  <p>I want to complete the table creation and the data insertion in the same Lambda function call.</p>