#! /usr/bin/env bash set -e # stop the execution of the script if it fails CONFIG_PATH="/Users/patrickcmd/Projects/sunbirdai/Acres/infra/ecs_config.toml" REGION=$(cfn-toml key deploy.region -t $CONFIG_PATH) STACK_NAME=$(cfn-toml key deploy.stack_name -t $CONFIG_PATH) aws cloudformation delete-stack \ --stack-name $STACK_NAME \ --region $REGION \ --profile sunbirdai