Skip to content

This is a simple demonstration on how to write scripts in Terraform to automate hosting a simple web app in Amazon S3.

Notifications You must be signed in to change notification settings

abhishekpawl/tf-scorekeeper-s3

Repository files navigation

S3 automation

Task 1

  1. bucket name
  2. aws region
  3. uncheck block all public access
  4. (DON'T) enable bucket versioning
  5. create bucket

Task 2

  1. upload object - index.html

Task 3

  1. edit bucket policy
  2. S3 bucket policy
  3. ALLOW
  4. principal: *
  5. bucket-name/*
  6. GetObject

Task 4

  1. bucket $\to$ properties
  2. static website hosting
    1. edit
    2. enable
    3. specify index document

About

This is a simple demonstration on how to write scripts in Terraform to automate hosting a simple web app in Amazon S3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published