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
Metadata
Release files for tf-init-booster 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tf-init-booster-1.2.0.tar.gz | 3.5 kB | Without provenance | Details for tf-init-booster-1.2.0.tar.gz |
Release files / tf-init-booster-1.2.0.tar.gz
| Download URL | tf-init-booster-1.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4529c21a9958be2058426ce0ab49ac2d7bec97eb75b4b16a7b2f5b558db9786
|
|
BLAKE2b-256 checksum How to use checksums |
450a627ad09ae7864d9d8dadad61aed8bc3e3ee9f44fb8dd1ff639fd31bf7f9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for tf-init-booster 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.