When AWS_ID is the placeholder value, act as though AWS not setup (#13850)

* When AWS_ID is the placeholder value, act as though AWS not setup

We have "Optional" as the placeholder in the .env_sample

When that's the "final" value in the .env file, assume we're actually
going to use local storage instead.

* Clear placeholder AWS values from env_sample

Revert the change to the carrierwave initializer (don't hardcode the
placeholder value).

Mimics choices we made for Cloudinary in #13767
This commit is contained in:
Daniel Uber 2021-05-26 13:54:16 -05:00 committed by GitHub
parent ac898238c1
commit 682ea4473e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,10 +73,10 @@ HONEYBADGER_API_KEY="Optional"
HONEYBADGER_JS_API_KEY="Optional"
# AWS for images storages
AWS_ID="Optional"
AWS_SECRET="Optional"
AWS_BUCKET_NAME="Optional"
AWS_UPLOAD_REGION=""
AWS_ID=
AWS_SECRET=
AWS_BUCKET_NAME=
AWS_UPLOAD_REGION=
# AWS for video storage
AWS_S3_INPUT_BUCKET="Optional"