Answers4AWS / graffiti-monkey

Goes around tagging things
Apache License 2.0
255 stars 88 forks source link

How to run graffity-monkey in all regions #39

Open joncolas opened 7 years ago

joncolas commented 7 years ago

is it possible to run graffity-monkey in all regions or i have to execute again changing region flag?

Thanks, great tool!

paulwakeford commented 7 years ago

I would just wrap it in a bash script or similar.

razorsedge commented 5 years ago

#!/bin/bash
for X in $(aws ec2 describe-regions --query 'Regions[].{Name:RegionName}' --output text); do
  echo "*** $X"
  graffiti-monkey --region $X --config graffiti.yaml
done```