Deleting the serverless stack

When you no longer need your serverless stack, you can delete it in the AWS Management Console under CloudFormation:

  1. Sign in to the AWS Management Console and open the CloudFormation console at https://console.aws.amazon.com/cloudformation/.
  2. From the list, select lambda-dynamo-data-api.
  3. Choose Actions and then Delete Stack.
  4. Choose Yes, Delete when prompted.

Alternatively, you can run the following shell script with ./delete-stack.sh:

#!/usr/bin/env bash
. ./common-variables.sh
aws cloudformation delete-stack --stack-name $template --region $region --profile $profile
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset