Skip to content

Commit 880ac8f

Browse files
committed
image loader
1 parent 043ef29 commit 880ac8f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pages/aws/config/overrides/image_loader.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ It uses the `@aws-sdk/client-s3` to interact with S3.
1515

1616
- You need to provide the `BUCKET_KEY_PREFIX`, `BUCKET_NAME` environment variables to your server.
1717

18+
### s3-lite
19+
20+
The `s3-lite` ImageLoader will load images from an S3 bucket. It uses the `aws4fetch` to interact with S3.
21+
22+
##### Requirements
23+
24+
- You need to provide the `BUCKET_KEY_PREFIX`, `BUCKET_NAME` environment variables to your server.
25+
- Can also provide `BUCKET_REGION`. It fallbacks to `AWS_REGION` ?? `AWS_DEFAULT_REGION`. This should be set by AWS automatically. You can read more about how this works on AWS Lambdas [here](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime).
26+
1827
### host
1928

2029
The Host ImageLoader will load images from the host.

0 commit comments

Comments
 (0)