{"id":13582592,"url":"https://github.com/blz-ea/iac","last_synced_at":"2025-04-06T14:31:05.714Z","repository":{"id":179775997,"uuid":"251481294","full_name":"blz-ea/iac","owner":"blz-ea","description":"Infrastructure as Code Starter Kit based on Terraform, Ansible, and Packer","archived":false,"fork":false,"pushed_at":"2020-11-12T01:20:19.000Z","size":1493,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T22:41:53.819Z","etag":null,"topics":["ansible","aws","iac","k8s","packer","proxmox","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blz-ea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-31T02:34:02.000Z","updated_at":"2024-08-01T04:42:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6420525-173e-4c6a-aef8-51bf90fef61a","html_url":"https://github.com/blz-ea/iac","commit_stats":null,"previous_names":["blz-ea/iac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blz-ea%2Fiac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blz-ea%2Fiac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blz-ea%2Fiac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blz-ea%2Fiac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blz-ea","download_url":"https://codeload.github.com/blz-ea/iac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495801,"owners_count":20948110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","aws","iac","k8s","packer","proxmox","terraform"],"created_at":"2024-08-01T15:02:52.049Z","updated_at":"2025-04-06T14:31:05.706Z","avatar_url":"https://github.com/blz-ea.png","language":"HCL","funding_links":[],"categories":["HCL"],"sub_categories":[],"readme":"\u003ch1 align=center\u003eInfrastructure  as Code Starter Kit\u003c/h1\u003e\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"./.github/header.png\"\u003e\r\n\u003c/div\u003e\r\n\r\nA boilerplate to create a full Infrastructure as Code for various cloud environments, from provisioning to deployment\r\n\r\n## Requirements ##\r\n\r\n| Name          | Version |\r\n|---------------|---------|\r\n| nix OS or WSL |  |\r\n| terraform     | \\\u003e= 0.13 |\r\n| packer        | \\\u003e= 1.6.5 |\r\n| ansible       | \\\u003e= 2.9.6 |\r\n\r\n## Folder Structure ##\r\n\r\n- `modules` - Contains modular components\r\n  - `ansible-roles` - Ansible roles\r\n  - `bash` - Bash scripts\r\n  - `terraform` - Terraform modules\r\n  - `helm` - Helm charts\r\n- `pve` - Proxmox Virtual Environment\r\n- `aws` - Amazon Web Services environment\r\n- `requirements.yml` - Local requirements (Ansible playbook)\r\n\r\n## Quick start ##\r\n\r\n### Step 1: Clone repository ###\r\n\r\n```bash\r\ngit clone git@github.com:blz-ea/iac.git\r\n```\r\n\r\n### Step 2: Install requirements ###\r\n\r\n```bash\r\nmake install\r\n```\r\n\r\nor manually install\r\n\r\n- [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)\r\n- [Terraform](https://learn.hashicorp.com/terraform/getting-started/install.html)\r\n- [Packer](https://learn.hashicorp.com/packer/getting-started/install)\r\n\r\n### Environments ###\r\n\r\n- [Proxmox Virtual Environment](./pve/)\r\n- Amazon Web Services\r\n  - [Basic example](./aws/basic/)\r\n  - ...\r\n\r\n## Notes ##\r\n\r\n### On using in WSL ###\r\n\r\nIf Ansible throws an error related to  `ansible.cfg` permissions. Add below to `/etc/wsl.conf` and restart WSL\r\n\r\n```conf\r\n[Automount]\r\nenabled = true\r\nmountFsTab = false\r\nroot = /mnt/\r\noptions = \"metadata,umask=22,fmask=11\"\r\n\r\n[network]\r\ngenerateHosts = true\r\ngenerateResolvConf = true\r\n\r\n```\r\n## TODO ##\r\n\r\n- Add tests\r\n- Add support for Hashicorp Vault\r\n- Refactor","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblz-ea%2Fiac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblz-ea%2Fiac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblz-ea%2Fiac/lists"}