Skip to content

Commit 76c1ab5

Browse files
authored
Update README.md
1 parent 6052d5c commit 76c1ab5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
# terraform-aws-s3-static-website
22
Used to publish static website files to an S3 bucket with proper MIME type
3+
4+
## Example
5+
6+
``` Terraform
7+
module "s3-static-website" {
8+
source = "Lupus-Metallum/s3-static-website/aws"
9+
version = "1.0.1"
10+
11+
bucket_id = aws_s3_bucket.example.id
12+
file_path = "${path.module}/src/my-website-files/" # Where your index.html and TLD web content lives
13+
acl = "public-read"
14+
storage_class = "STANDARD"
15+
}
16+
```

0 commit comments

Comments
 (0)