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.
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 details)
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.0.0.tar.gz.
File metadata
- Download URL: tf-init-booster-1.0.0.tar.gz
- Upload date:
- Size: 3.3 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 |
04c16eec3e114424642a559ad33ddb5344cc6062255fcb41087b87361d0a3443
|
|
| MD5 |
ee8cfe70e83371a0835544a1a9d6a508
|
|
| BLAKE2b-256 |
4d1899116e9cb39ff76e6e9aa61f6639ab1546c78ff55e604d4fbb15b05f7e51
|
File details
Details for the file tf_init_booster-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tf_init_booster-1.0.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.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fa893b87cab68dd4ae8260a9bdc82b02f021000d45d54dfa5b3c139f6ebcc4c
|
|
| MD5 |
485b69a6a9d6b2d520965d39d08148d9
|
|
| BLAKE2b-256 |
a09ce9a215fa8f968afd8650c801efc4f97fa83939729d5c66701f2b88b69919
|