GithubHelp home page GithubHelp logo

tzu-lun / goexperts_tf_ref Goto Github PK

View Code? Open in Web Editor NEW

This project forked from australiaitgroup/goexperts_tf_ref

0.0 0.0 0.0 17 KB

GoExperts_TF with sample pipeline

Shell 0.66% JavaScript 0.02% HTML 0.50% Smarty 2.11% HCL 96.71%

goexperts_tf_ref's Introduction

Terraform module for creating all the infrastructures for the project GoExpert frontend.

The following resources will be created:

  • Dynamodb table: store the state lock for terraform
  • Frontend:
    • S3 bucket to save the staic website pages
    • CloudFront distribution with https support
    • Route53 record
    • An SSL certificate with DNS verification
    • Upload sample html file (optional)

Prerequisites:

  • AWS CLI environment configured
  • A S3 bucket is ready to save the terraform.tfstate (To be added to creation)
  • A hosted zone has been created, e.g. "willd.link", to which some CNAME records will be created for the SSL certificate

Usage example:

  • A Dynamodb is needed to lock the status, which MUST be created first by running terraform commands under deploy/backend-lock
  • The deploy/frontend is for deploying the frontend website
  • In each of the deploy directory, modify the variables to your own, and run terraform commands. e.g.
      module "cloudfront_s3_website_with_domain" {
      source                = "../"
      zone_id               = "Your_own_hosted_zone_id"
      domain_name           = "your.domain.name"
      bucket_name           = "your.domain.name"
      common_tags           = {	Project = "goexpert-test"  }
      backend_bucket        = "envfiles.goexpert"
      region                = "ap-southeast-2"
  }

goexperts_tf_ref's People

Contributors

williamdjr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.