Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ The bucket is not configured as a public S3 website endpoint. Static files shoul
- Basic error behavior: S3 `403` and `404` responses map to `/404.html`
- Custom domain, Route 53, ACM certificate, advanced cache policies, and deployment automation are out of scope.

## Bucket Policy

The S3 bucket policy grants read access only to the CloudFront service principal for this distribution. The policy allows `s3:GetObject` on objects in the static site bucket and restricts access with an `AWS:SourceArn` condition that matches the CloudFront distribution ARN.

Direct public S3 access should remain blocked. Website traffic should go through CloudFront.

## Usage

Create a local variables file:
Expand Down
Loading