Delete the baseline template

  • Delete the infrastructure deployed by the baseline template.

    # Define variables #
    STACK_NAME=$(jq < cfn-output.json -r '.StackName');
    # Delete cloudformation stack #
    aws cloudformation delete-stack \
    --stack-name $STACK_NAME
    aws cloudformation wait stack-delete-complete \
    --stack-name $STACK_NAME