terraform init booster
Project description
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 (https://github.com/hashicorp/terraform/issues/11435). 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tf-init-booster-1.2.0.tar.gz
(3.5 kB
view details)
File details
Details for the file tf-init-booster-1.2.0.tar.gz
.
File metadata
- Download URL: tf-init-booster-1.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4529c21a9958be2058426ce0ab49ac2d7bec97eb75b4b16a7b2f5b558db9786 |
|
MD5 | 7cdaee27c64e87a5a48fbb77469f63ec |
|
BLAKE2b-256 | 450a627ad09ae7864d9d8dadad61aed8bc3e3ee9f44fb8dd1ff639fd31bf7f9d |