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
Built Distribution
Close
Hashes for tf-init-booster-1.1.0.macosx-10.15-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14cc39804b4f7cb93dfadf6f2f7280fab1d6166ea4a52dab45e28b1b604b56ec |
|
MD5 | 6440185defa61ef8dbcfc68fbb843f44 |
|
BLAKE2b-256 | 3b77eec874028560def206d5d29e9731f98d3b318aebfc8765686770f9c9e68b |
Close
Hashes for tf_init_booster-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0437c88269753c14239b5c5e4dea9cd1d0cb46f0abee1bc0530d8446ae1edd0 |
|
MD5 | e871141f619ee6a02c49d85fc0dfad4d |
|
BLAKE2b-256 | 58e7fc5e1eb54f862233539bf11f4bff3e57e1c9cc04adb39ebf63a59f7bd27d |