TerraformOps Reusable Modules

Ths is a collection of reusable Terraform modules.

View the Project on GitHub semusings/terraform-ops

Host static site using S3

This module creates an S3 bucket and configures it to host a static website.

Requirements

Usage

module "host-static-site-using-s3" {
  source      = "git::https://github.com/bhuwanupadhyay/terraform-ops.git//aws/host-static-site-using-s3"
  domain_name = "my-static-site.com"
  region      = var.region
  tags        = {
    Env = "Prod"
  }
}

For complete example, see example.