Skip to content

Instantly share code, notes, and snippets.

@phstudy
Last active January 4, 2016 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phstudy/8594404 to your computer and use it in GitHub Desktop.
Save phstudy/8594404 to your computer and use it in GitHub Desktop.
S3 sync region check.
# File "/usr/lib/python2.6/site-packages/awscli/customizations/s3/s3.py", line 746, in check_region
if not region and not parsed_region and parsed_endpoint_url is None:
raise Exception("A region must be specified --region or "
"specifying the region\nin a configuration "
"file or as an environment variable.\n"
"Alternately, an endpoint can be specified "
"with --endpoint-url")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment