The specified bucket is not S3 v2 safe

I ran into this error when running ec2-upload-bundle:The specified bucket is not S3 v2 safe (see S3 documentation for details)This was due to uppercase letters or underscores. Later I also ran into an issue with periods in bucket names which showed up as this error message:ERROR: Error talking to S3: Server.AccessDenied(403): Access DeniedHere is an … Continue reading The specified bucket is not S3 v2 safe

Have bash warn you about uninitialized variables with set -u

By default, Bash treats uninitialized variables the same way as Perl -- they are blank strings. If you want them treated more like Python, you can issue the following command in your bash script: set -u You will then start seeing warning messages like the following: ./my_script.sh: line 419: FOO_BAR: unbound variable Note that this … Continue reading Have bash warn you about uninitialized variables with set -u