Terraform module to host SPA UI application in AWS S3
You can read about the blog post here. Note: If you find the blog/code useful, please add a clap in medium / star the github repo. Thanks in advance !!
brew install terraform
Make sure that you have added the proper permission to create resources in AWS.
This terraform module can be used with minimal configuration as follow,
module "staticwebsite" {
source = "worldofprasanna/staticwebsite/aws"
version = "1.0.0"
domain = "yourdomain.com"
}
Note: Please ensure that you have added the Route53 Nameservers to your Domain Registrar (say: Godaddy etc)
You can find the actual examples here
- Skip the Route53 creation, if not needed
- Add examples to host the subdomain
- Add tests using Terratest
- Add contribution guidelines & Issue templates
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2020 Prasanna V