#!/bin/bash # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 USAGE="Usage: $(basename $0) bucket" usage() { echo -e "$USAGE" >&2; exit 2; } bucket=$1 if [ -z "$bucket" ]; then usage fi aws s3 rb s3://$bucket --force