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 initslow.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tf-init-booster-1.1.0.macosx-10.15-x86_64.tar.gz.
File metadata
- Download URL: tf-init-booster-1.1.0.macosx-10.15-x86_64.tar.gz
- Upload date:
- Size: 5.7 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.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14cc39804b4f7cb93dfadf6f2f7280fab1d6166ea4a52dab45e28b1b604b56ec
|
|
| MD5 |
6440185defa61ef8dbcfc68fbb843f44
|
|
| BLAKE2b-256 |
3b77eec874028560def206d5d29e9731f98d3b318aebfc8765686770f9c9e68b
|
File details
Details for the file tf_init_booster-1.1.0-py3-none-any.whl.
File metadata
- Download URL: tf_init_booster-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0437c88269753c14239b5c5e4dea9cd1d0cb46f0abee1bc0530d8446ae1edd0
|
|
| MD5 |
e871141f619ee6a02c49d85fc0dfad4d
|
|
| BLAKE2b-256 |
58e7fc5e1eb54f862233539bf11f4bff3e57e1c9cc04adb39ebf63a59f7bd27d
|