GithubHelp home page GithubHelp logo

devopscorner / terraform-infra Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 5.0 37.68 MB

Production Grade Terraform for Provisioning Infrastructure

Home Page: https://devopscorner.id

License: Apache License 2.0

Dockerfile 0.21% Makefile 1.78% Shell 16.84% HCL 79.04% Python 2.13%
terraform airflow aws ec2 ecr eks infrastructure-as-code cloud9 emr mwaa rds redis devopscorner cicd container docker codebuild codecommit codepipeline

terraform-infra's Introduction

Terraform Infra

Production Grade Terraform for Provisioning Infrastructure

all contributors tags cicd pulls terraform-infra pulls download all download latest view clone issues pull requests forks stars license


Available Tags

Alpine

Image name Size
devopscorner/terraform-infra:alpine docker image size latest
devopscorner/terraform-infra:alpine-latest docker image size latest
devopscorner/terraform-infra:alpine-3.17 docker image size latest

Ubuntu

Image name Size
devopscorner/terraform-infra:ubuntu docker image size latest
devopscorner/terraform-infra:ubuntu-latest docker image size latest
devopscorner/terraform-infra:ubuntu-22.04 docker image size latest

AWS Linux (CodeBuild)

Image name Size
devopscorner/terraform-infra:latest docker image size default-latest latest
devopscorner/terraform-infra:codebuild docker image size latest
devopscorner/terraform-infra:codebuild-latest docker image size latest
devopscorner/terraform-infra:codebuild-4.0 docker image size latest

Previous Version - Alpine (Depreciated)

Image name Size
devopscorner/terraform-infra:1.0.5 docker image size
devopscorner/terraform-infra:1.0.5-alpine docker image size
devopscorner/terraform-infra:alpine-3.16 docker image size

Previous Version - Ubuntu (Depreciated)

Image name Size
devopscorner/terraform-infra:1.0.5-ubuntu docker image size

Previous Version - CodeBuild (Depreciated)

Image name Size
devopscorner/terraform-infra:codebuild-2.0 docker image size
devopscorner/terraform-infra:codebuild-3.0 docker image size

Prerequirements

  • Docker (docker)
  • Docker Compose (docker-compose)
  • AWS Cli version 2 (aws)
  • Terraform Cli (terraform)
  • Terraform Environment (tfenv)

Documentation

  • Index Documentation, go to this link
  • Reproduce DEMO, detail here

Terraform Features

Multi Environment Workspace:

  • Remote State Terraform (S3 & DynamoDB)

  • Core Infrastructure

    • VPC
    • Subnet EC2 & EKS
    • Security Group
    • NAT Gateway
    • Internet Gateway
    • VPC Peers Single CIDR
    • VPC Peers Multi CIDR
  • Resources Other Infra

    • Budget
    • Cloud9 IDE
    • AWS Elastic Computing (EC2)
      • Airflow
      • Jumphost
      • Nifi
      • PostgreSQL (PSQL)
    • Amazon Managed Kubernetes Service (EKS)
    • Amazon Elastic Map Reduce (EMR)
    • Amazon Managed Workflows for Apache Airflow (MWAA)
    • Amazon Relational Database Service (RDS)
      • RDS goappdb
      • RDS laraveldb
      • RDS nifidb
    • Amazon ElastiCache for Redis

Tested Environment

Versioning

  • Docker version

    docker -v
    ---
    Docker version 20.10.21-rd, build ac29474
    
    docker version
    ---
    Client:
      Version:           20.10.21-rd
      API version:       1.41
      Go version:        go1.18.7
      Git commit:        ac29474
      Built:             Tue Nov 22 22:21:43 2022
      OS/Arch:           darwin/arm64
      Context:           desktop-linux
      Experimental:      true
    
    Server: Docker Desktop 4.17.0 (99724)
      Engine:
        Version:          20.10.23
        API version:      1.41 (minimum version 1.12)
        Go version:       go1.18.10
        Git commit:       6051f14
        Built:            Thu Jan 19 17:31:28 2023
        OS/Arch:          linux/arm64
        Experimental:     false
      containerd:
        Version:          1.6.18
        GitCommit:        2456e983eb9e37e47538f59ea18f2043c9a73640
      runc:
        Version:          1.1.4
        GitCommit:        v1.1.4-0-g5fd4c4d
      docker-init:
        Version:          0.19.0
        GitCommit:        de40ad0
    
  • Docker-Compose version

    docker-compose -v
    ---
    Docker Compose version v2.14.0
    
  • AWS Cli

    aws --version
    ---
    aws-cli/2.9.16 Python/3.9.11 Darwin/22.3.0 exe/x86_64 prompt/off
    
  • Terraform Environment Cli

    tfenv -v
    ---
    tfenv 3.0.0
    
  • Terraform Cli

    terraform version
    ---
    Terraform v1.3.9
    on darwin_amd64
    - provider registry.terraform.io/hashicorp/aws v3.74.3
    - provider registry.terraform.io/hashicorp/local v2.1.0
    - provider registry.terraform.io/hashicorp/null v3.1.0
    - provider registry.terraform.io/hashicorp/random v3.1.0
    - provider registry.terraform.io/hashicorp/time v0.7.2
    

Security Check

Make sure that you didn't push sensitive information in this repository

  • AWS Credentials (AWS_ACCESS_KEY, AWS_SECRET_KEY)
  • AWS Account ID
  • AWS Resources ARN
  • Username & Password
  • Private (id_rsa) & Public Key (id_rsa.pub)
  • DNS Zone ID
  • APP & API Key

Copyright

  • Author: Dwi Fahni Denni (@zeroc0d3)
  • Vendor: DevOps Corner Indonesia (devopscorner.id)
  • License: Apache v2

terraform-infra's People

Contributors

actions-user avatar zeroc0d3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.