This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ $# -lt 2 ] | |
then | |
cat << EOF | |
usage: `basename "$0"` [-g <group-name> ] <source-instance-name> <cloned-instance-name1> [<cloned-instance-name2>... N] | |
Clone the source instance in the same region N+1 times and possbliy put all cones into a new unmanaged instance group | |
-g <group name>(optional)- use this flag to put all newly created instnaces into |