Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f3`
- do
- echo -e "Enabling GuardDuty in region:'$region'..."
- aws guardduty create-detector --enable --region $region
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement