Skip to content

ashraf-minhaj/static-s3-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create and Host a static website on AWS s3 with Terraform

Step by Step guidelines

Steps

  • clone this repository
  • add all website related files in the 'app' directory
  • run terraform init, terraform apply

How to apply

open the Terraform directory and run these commands -

  • Init first
terraform init
  • After that, plan to see all the changes
terraform plan
  • Finally, apply and make it happen on AWS
terraform apply

if you want to auto approve without manual approval, then -

terraform apply -auto-approve

make sure to destroy after playing around with 'terraform destroy

Reference(s)

License

General Public License

Free Software, Hell Yeah!

About

serve a webstie on aws s3 with Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published