Created
May 26, 2014 09:46
-
-
Save rch850/807bc3776bf1673286cf to your computer and use it in GitHub Desktop.
I want this bucket
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
#!/bin/sh | |
# sh i-want-this-bucket.sh bucket-name region-name | |
while :; do | |
date | |
aws s3api create-bucket --bucket $1 --create-bucket-configuration LocationConstraint=$2 && break | |
sleep 60 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment