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.
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.0.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for tf_init_booster-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fa893b87cab68dd4ae8260a9bdc82b02f021000d45d54dfa5b3c139f6ebcc4c |
|
MD5 | 485b69a6a9d6b2d520965d39d08148d9 |
|
BLAKE2b-256 | a09ce9a215fa8f968afd8650c801efc4f97fa83939729d5c66701f2b88b69919 |