Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hayorov/terraform-init-booster
A Pre-terraform routine that speedups terraform modules download for bulky blueprints.
https://github.com/hayorov/terraform-init-booster
Last synced: 7 days ago
JSON representation
A Pre-terraform routine that speedups terraform modules download for bulky blueprints.
- Host: GitHub
- URL: https://github.com/hayorov/terraform-init-booster
- Owner: hayorov
- Created: 2020-07-14T04:52:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T21:03:03.000Z (about 1 year ago)
- Last Synced: 2024-08-02T00:26:40.494Z (3 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-tf - tf-init-booster - A Pre-terraform routine that speedups terraform modules download for bulky blueprints. (Tools / Community providers)
README
# terraform-init-booster
![GitHub last commit](https://img.shields.io/github/last-commit/hayorov/terraform-init-booster)
![PyPI](https://img.shields.io/pypi/v/tf-init-booster)
![PyPI - Downloads](https://img.shields.io/pypi/dm/tf-init-booster)
![GitHub issues](https://img.shields.io/github/issues/hayorov/terraform-init-booster)_A Pre-terraform routine that speedups terraform modules download for bulky blueprints._
## Problem statement
- Terraform v0.12.x and older downloads module from git source for every usage (). For bulky blueprints with hundreds of similar modules that make the process of `terraform init` slow.
## Installation
pip install tf-init-booster
## Quickstart
(blueprint folder)>tf-init-booster
(blueprint folder)>terraform init## Settings with environment variables
- LOGLEVEL=INFO
- GIT_PATH=/usr/bin/git## Indications for use
- Git as module source
- Many modules with the same source## Performance
Based on a blueprint with 580 modules, 10 of them unique.
- Pure `terraform init` - 3m08s
- Boosted + `terraform init` - 39s (2.7s + 36.5s)## Compatibility
Designed for terraform v0.12 and v0.11
## Requrements
- Python 3.6+
- (optional) gitpython * module\* otherwise, system git will be used