GithubHelp home page GithubHelp logo

kshenk1 / terraform-lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlosrodlop/terraform-lib

0.0 0.0 0.0 4.23 MB

It contains terraform modules and roots deployments for Kubernetes cluster in different Cloud providers

License: MIT License

Makefile 9.45% HCL 90.55%

terraform-lib's Introduction

Terraform Library

terraform-icon

Welcome to my Terraform Library, a storage place for my assets related to my journey around Terraform and Iac for the Cloud.


GitHub Latest Release) GitHub Issues gitleaks badge gitsecrets terraform_checkov terraform docs mdLinkChecker

Documentation References
  • It contains deployments and configuration for Kubernetes Cluster and companion infrastructure for different Cloud providers.
  • Terraform operations use makefile inside every cloud provider (e.g. aws) to give you examples of the most common operation command set. There are targets for the most common scenarios: init (with backend), plan/apply and destroy but also a general action target to run any terraform command.
    • Copy .env.example to .env to customize the environment variables. Although, some variables can be passed as arguments to target in the make command (ROOT for example).
  • Values Customization:
    • Variables: Copy shared.tfvars.example to shared.tfvars inside the cloud/provider/env folder. Then, copy .auto.tfvars.example to .auto.tfvars inside the root folders. Customize files with your values. It relies on Variables inheritance. See Terraform - Variable Precedence - Learning-Ocean
    • Backend:
      1. Apply the Root state-bucket creates a remote backend
      2. Copy backend.tf.example to backend.tf in every Root to use the backend created in the previous step.
  • It has been developed using tools provided in asdf.ubuntu image for testing.
  • It uses submodules. For example, the Helm provider uses the values from the Kubernetes library. Helm provider is separated from the creation of the K8s cluster Stacking with managed Kubernetes cluster resources
    • โš ๏ธ IMPORTANT - It requires git submodule update --init --recursive
  • It uses Pre-commits for Validations and Documentation.

terraform-lib's People

Contributors

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