Browse Source

Remove hard aws credentials restriction

AWS Credentials are not always a requirement if you are using ECS as it supports IAM Roles for Tasks.
pull/58/head
Rafael Amorim 8 years ago
committed by GitHub
parent
commit
30164d65c9
  1. 6
      mysql-backup-s3/backup.sh

6
mysql-backup-s3/backup.sh

@ -3,13 +3,11 @@
set -e set -e
if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then
echo "You need to set the S3_ACCESS_KEY_ID environment variable."
exit 1
echo "Warning: You did not set the S3_ACCESS_KEY_ID environment variable."
fi fi
if [ "${S3_SECRET_ACCESS_KEY}" == "**None**" ]; then if [ "${S3_SECRET_ACCESS_KEY}" == "**None**" ]; then
echo "You need to set the S3_SECRET_ACCESS_KEY environment variable."
exit 1
echo "Warning: You did not set the S3_SECRET_ACCESS_KEY environment variable."
fi fi
if [ "${S3_BUCKET}" == "**None**" ]; then if [ "${S3_BUCKET}" == "**None**" ]; then

Loading…
Cancel
Save