#!/usr/bin/env bash # shellcheck disable=SC2015 # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2019-11-07 14:25:06 +0000 (Thu, 07 Nov 2019) # # https://github.com/harisekhon/bash-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback # # https://www.linkedin.com/in/harisekhon # # https://aws.amazon.com/blogs/aws/new-ec2-spot-instance-termination-notices/ set -euo pipefail [ -n "${DEBUG:-}" ] && set -x usage(){ cat <