View Code? Open in Web Editor
NEW
This is a simple demonstration on how to write scripts in Terraform to automate hosting a simple web app in Amazon S3.
tf-scorekeeper-s3's Introduction
- bucket name
- aws region
- uncheck block all public access
- (DON'T) enable bucket versioning
- create bucket
- upload object - index.html
- edit bucket policy
- S3 bucket policy
- ALLOW
- principal: *
- bucket-name/*
- GetObject
- bucket $\to$ properties
- static website hosting
- edit
- enable
- specify index document
tf-scorekeeper-s3's People
Contributors
Watchers