Skip to content

Commit e503a7c

Browse files
authored
Merge pull request #3915 from runningonsideprojects/s3-bucket-documentation-improvement
S3 Bucket Configuration Documentation Revisions
2 parents 76e3e97 + 6133404 commit e503a7c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

contributor_docs/s3_configuration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
}
2222
]
2323
```
24-
3. In permissions, add the following bucket policy. Change "YOUR_BUCKET_NAME" to reflect name of the S3 bucket.
24+
3. Uncheck "Block all public access" under "Block public access (bucket settings)".
25+
4. In permissions, add the following bucket policy. Change "YOUR_BUCKET_NAME" to reflect name of the S3 bucket.
2526
```
2627
{
2728
"Version": "2008-10-17",
@@ -39,7 +40,6 @@
3940
]
4041
}
4142
```
42-
4. Uncheck "Block all public access" under "Block public access (bucket settings)".
4343
5. Under "Object Ownership", check "ACLs enabled" and set "Object Ownership" to "Object writer"
4444
6. Locate your AWS key and Secret Key. You can find this in the top AWS navigation under your name -> Security Credentials.
4545
7. Update the following lines to your .env file:
@@ -48,6 +48,7 @@ AWS_ACCESS_KEY={AWS_ACCESS_KEY}
4848
AWS_REGION={S3_BUCKET_REGION}
4949
AWS_SECRET_KEY={AWS_SECRET_KEY}
5050
S3_BUCKET={S3_BUCKET_NAME}
51+
S3_BUCKET_URL_BASE=https://{S3_BUCKET_NAME}.s3.{S3_BUCKET_REGION}.amazonaws.com/
5152
```
5253

5354
If your S3 bucket is in the US East (N Virginia) region (us-east-1), you'll

0 commit comments

Comments
 (0)