Is an --all-regions flag in keeping with bash-my-aws design philosophy?
duncan-bayne opened this issue · comments
Duncan Bayne commented
I'm currently bash-my-aws regions
command to find EC2 instances in all regions:
for region in $(regions)
do
instances --region "$region"
done
... but I was wondering whether I should open a PR to add --all-regions
, which would allow me to replace the above with:
instances --all-regions
This is technically feasible of course, but is it desirable? Am I trying to go all cat -v on bash-my-aws? Need counsel from the BDFL here @mbailey :)
Justin Lam commented
Perhaps the region-each
command could achieve what you need ?
Duncan Bayne commented
@ninth-dev How did I miss that? 🤦♂️
Thanks :)