Coder Social home page Coder Social logo

blz-ea / iac Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 4.0 1.46 MB

Infrastructure as Code Starter Kit based on Terraform, Ansible, and Packer

HCL 82.71% Shell 4.83% Makefile 0.27% Smarty 7.46% HTML 4.73%
ansible packer terraform iac proxmox k8s aws

iac's Introduction

Infrastructure as Code Starter Kit

A boilerplate to create a full Infrastructure as Code for various cloud environments, from provisioning to deployment

Requirements

Name Version
nix OS or WSL
terraform >= 0.13
packer >= 1.6.5
ansible >= 2.9.6

Folder Structure

  • modules - Contains modular components
    • ansible-roles - Ansible roles
    • bash - Bash scripts
    • terraform - Terraform modules
    • helm - Helm charts
  • pve - Proxmox Virtual Environment
  • aws - Amazon Web Services environment
  • requirements.yml - Local requirements (Ansible playbook)

Quick start

Step 1: Clone repository

git clone [email protected]:blz-ea/iac.git

Step 2: Install requirements

make install

or manually install

Environments

Notes

On using in WSL

If Ansible throws an error related to ansible.cfg permissions. Add below to /etc/wsl.conf and restart WSL

[Automount]
enabled = true
mountFsTab = false
root = /mnt/
options = "metadata,umask=22,fmask=11"

[network]
generateHosts = true
generateResolvConf = true

TODO

  • Add tests
  • Add support for Hashicorp Vault
  • Refactor

iac's People

Contributors

blz-ea avatar

Stargazers

 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.