Created
August 19, 2016 21:31
-
-
Save restump/b6abc79aed9235c8cc2024affefdf5c5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
IFS=$'\n' read -rd '' -a array <<< "$(aws ec2 describe-instances | jq -c .Reservations[])" | |
n=0; for i in "${array[@]}"; do n=$((n+1)); cbc create $n -V "${i}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment