Skip to content

Commit 6659712

Browse files
author
Vaughn Dice
authored
Merge pull request #186 from vdice/fix-aws-cred-logic
fix(001_setup_envdir.sh): inspect actual var instead of literal string
2 parents 7fa8297 + c9f6e01 commit 6659712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [[ "$DATABASE_STORAGE" == "s3" || "$DATABASE_STORAGE" == "minio" ]]; then
3030
echo "s3://$BUCKET_NAME" > WALE_S3_PREFIX
3131
# if these values are empty, then the user is using IAM credentials so we don't want these in the
3232
# environment
33-
if [[ "$AWS_ACCESS_KEY_ID" != "" && "AWS_SECRET_ACCESS_KEY" != "" ]]; then
33+
if [[ "$AWS_ACCESS_KEY_ID" != "" && "$AWS_SECRET_ACCESS_KEY" != "" ]]; then
3434
echo $AWS_ACCESS_KEY_ID > AWS_ACCESS_KEY_ID
3535
echo $AWS_SECRET_ACCESS_KEY > AWS_SECRET_ACCESS_KEY
3636
fi

0 commit comments

Comments
 (0)