Skip to content

worldofprasanna/terraform-aws-staticwebsite

Repository files navigation

terraform-aws-staticwebsite

ci git-tag license standard-readme compliant PRs Welcome

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 !!

Table of Contents

Infrastructure

infrastructure

Install

brew install terraform

Make sure that you have added the proper permission to create resources in AWS.

Usage

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

Todo List

  • Skip the Route53 creation, if not needed
  • Add examples to host the subdomain
  • Add tests using Terratest
  • Add contribution guidelines & Issue templates

Maintainers

@worldofprasanna

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2020 Prasanna V