Update CloudFormation stack

Follow these steps to change the DynanoDB table configuration and simulate an operational event:

  1. Open the CloudFormation template file cfn-shops-monitoroper-code.yaml in Cloud9 editor (just double-click the file name under directory generate-devopsguru-insights) and update the ReadCapacityUnits value from 5 to 1, as shown below. This will reduce the read capacity from the DynamoDB table.

Now save the file by clicking the File menu -> Save.

CloudFormation showing read capacity settings to modify
  1. Run the following command to deploy the updated CloudFormation template:
aws cloudformation update-stack --stack-name myServerless-Stack \
    --template-body file:///$PWD/cfn-shops-monitoroper-code.yaml \