Repository navigation
Releases
Releases · binbashar/leverage
v3.2.0 🌈
Changes
⚠️ Upgrade notes
leverage tofu/leverage terraformcommands now exit with the code of the underlying binary (#336). In v3.1.0 they always exited0, even when the command failed.- Scripts and CI pipelines that run, e.g.,
leverage tofu applywill now fail when the apply fails, as they should. Review any pipeline that went green on v3.1.0. leverage tofu plan -detailed-exitcodereturns2again when there are changes.- With
--layers, the command stops at the first failing layer instead of running the remaining ones.
- Scripts and CI pipelines that run, e.g.,
🚀 Features
- feat: Drop remaining references to Docker and containers @angelofenoglio (#328)
🐛 Bug Fixes
- Fix | Propagate the tofu/terraform exit code to the CLI @diego-ojeda-binbash (#336)
- Regression from v3.1.0: every
leverage tofu|terraformcommand exited0, even when the binary failed. See the upgrade notes above.
- Regression from v3.1.0: every
- Fix | Credentials configure fails when run after project init @juanmatias (#327)
- Fix | Restore the unit test suite @diego-ojeda-binbash (#322)
- Fix | CI on Ubuntu 26.04: pin the Python 3.9 jobs, fix a bats typo @diego-ojeda-binbash (#340)
🔨 Maintenance
- Enhancement | Gate the PyPI release on the test suite and the built package @diego-ojeda-binbash (#332)
- A release only reaches PyPI if the unit tests pass, and the wheel built from the tag installs, reports its version and passes the integration tests.
- Enhancement | Modernize the ref-arch integration test @diego-ojeda-binbash (#338)
- The cli is tested end to end against the reference architecture on every PR that changes it and before every release: it creates a project, then applies and destroys a layer in AWS with OpenTofu.
📝 Version Compatibility
Since v3.1.0 the cli runs the tools installed on the host (no Docker toolbox image). Versions tested for this release:
- Python: 3.9, 3.10, 3.11, 3.12, 3.13
- Python 3.14 is not supported yet (#341).
- OpenTofu (recommended): 1.13.2, the version the reference architecture runs. Tested end to end: project create, plus init, plan, apply and destroy of a layer.
- Terraform: 1.9.8, through
leverage terraform(basic commands). - AWS CLI: v2, for
leverage aws. - Reference architecture: le-tf-infra-aws
masteras of 2026-11-14.
Optional: kubectl for leverage kubectl, tfautomv for leverage tfautomv.
v3.1.0 🌈
Changes
🚀 Features
- Feat | Add automatic credential refresh for AWS SSO @borland667 (#315)
- SSO Credentials can now be fetched using a new
leverage aws sso refreshcommand or at login time with the--refresh-allflag for theleverage aws sso logincommand.
- SSO Credentials can now be fetched using a new
v3.0.0 🌈
Changes
🚀 Features
- Feat | Remove docker dependency @angelofenoglio (#316)
- The CLI no longer depends on a Docker image to run the commands. This should allow faster and simpler usage, specifically for Mac users.
v2.1.1 🌈
🚀 Features
- Chore | Add support for python 3.13 @angelofenoglio (#310)
🐛 Bug Fixes
- Fix | Remove reference to Terraform in error message @angelofenoglio (#312)
- Chore | Update hcl parsing library @angelofenoglio (#309)
📝 Documentation
- Enhancement | Update release-drafter.yml @exequielrafaela (#311)
- Chore: Bump versions of twine and rich @angelofenoglio (#314)
⚙️ Upgrade notes from leverage v1.x to v2.x
📝 Version Compatibility
- Toolbox Docker Image
- Recommended: 1.6.2-tofu-0.3.0
- Other working versions:
- OpenTofu: 1.9.1-tofu-0.3.0
- Terraform: 1.6.0-0.2.4 1.5.0-0.2.3 1.3.5-0.2.3
🐛 Bug Fixes
v2.0.0 🌈
Changes
🚀 Features / Breaking change
- BL-255 | Add
tofucommand to cli @angelofenoglio (#305)- OpenTofu is now supported under the
leverage tofucommand, thetfshort version that previously was associated to Terraform now will also runtofuunderneath. To continue executing the terraform binary the user will have to use the full versionleverage terraform. You can find more information in the associated Github Issue: Feature | Starting with tf version 1.7 support and migrate from Terraform to OpenTofu #255 - OpenTofu Manifesto signature: 🛡 The goals laid out in the OpenTofu manifesto resonate with our core values at binbash. We believe that this initiative is a step in the right direction, safeguarding the principles that have made Terraform a trusted and valuable tool for many.
- OpenTofu is now supported under the
Upgrade notes from leverage v1.x to v2.x
📝 Version Compatibility
- Toolbox Docker Image
- Recommended: 1.6.2-tofu-0.3.0
- Other working versions:
- OpenTofu: 1.9.1-tofu-0.3.0
- Terraform: 1.6.0-0.2.4 1.5.0-0.2.3 1.3.5-0.2.3
v1.15.0 🌈
Changes
🚀 Features
- [BL-302] Updating url to prevent sso login url deprecation warning @Franr (#304)
- BL-143 | Version warning @Franr (#299)
🐛 Bug Fixes
- BUG-301 | Fix parsing error in
locals.tfand 'config.tf` files @angelofenoglio (#303)
REMINDER: please remember to add or update the Version Compatibility section before publishing a release draft.
📝 Version Compatibility
- Toolbox Docker Image
- Recommended: 1.6.6-0.2.3
- Other working versions: 1.5.0-0.2.3 1.3.5-0.2.3
v1.14.0 🌈
🚀 Features
- The flags for task listing and setting the task definitions file now live within the
runcommand and not the root of leverage. - Feature | [BV-267] Make sure .gitconfig is always present @Franr (#295)
- If leverage does not find the needed .gitconfig file it will create it for the user.
- Feature | [BV-599] Kubeconfig helper @Franr (#281)
- A new
discoversub-command has been added toleverage kubectlto simplify management of multiple EKS clusters.discoversub-command documentation.
- A new
🐛 Bug Fixes
- Bug | Catch and handle HCL parsing errors @Franr (#296)
- Leverage no longer crashes showing a long stack trace whenever a
config.tforlocals.tffile has malformed syntax. A more friendly message is shown.
- Leverage no longer crashes showing a long stack trace whenever a
- Bug | BL-276 | Copy symlinks for common-variables.tf @Franr (#297)
- When creating a new project, Leverage now respects symlinks in the template instead of just copying the original file.
- Bug | Catch error for not found/forbidden role @angelofenoglio (#288)
- If for some reason the AWS config files were created such that Leverage attempts to assume for which the user has no permission. It will now show an error message instead of just crashing.
Enhancements & Changes
- Enhancement | Move tasks load and list to
runcommand @angelofenoglio (#290) - chore: deprecate python 3.8 @angelofenoglio (#289)
- Python 3.8 is no longer supported.
- chore: support python 3.12 @angelofenoglio (#293)
- Python 3.12 is officially supported.
📝 Version Compatibility
- Toolbox Docker Image
- Recommended: 1.6.6-0.2.3
- Other working versions: 1.5.0-0.2.3 1.3.5-0.2.3
v1.13.0 🌈
🚀 Features
- Run toolbox with the host's user @Franr (#269)
- The operations within the container are now run using the host user instead of root. This simplifies permissions handling in Leverage Reference Architecture files.
- Increase account dir search depth @angelofenoglio (#285)
- Certain usecases require a more deeply nested folder structure in the Reference Architecture implementation. Leverage formerly only looked up to 5 levels deep, it now supports up to 8 levels deep.
- Increase compatibiliy with podman @angelofenoglio (#284)
- Some users prefer using Podman instead of Docker as a container manager. Container handling was modified to allow the use of Leverage with Podman.
🐛 Bug Fixes
- Fix issue with argument parsing logic for
tf apply@borland667 (#274)- Leverage has to provide Terraform with some extra parameters to work correctly on the Reference Architecture. The logic that decides which parameters to add was simplified fixing bugs and reducing the probability of new ones.
🔨 Maintenance
- Add python 3.12 to test workflows @angelofenoglio (#280)
- Now tests are also run on Python version 3.12
📝 Version Compatibility
- Toolbox Docker Image
- Recommended: 1.6.0-0.2.0
- Other working versions: 1.5.0-0.2.0 1.3.5-0.2.0
v1.12.4 🌈
Changes
🚀 Features
- Feature | adding python
3.12in pyproject.toml @exequielrafaela (#278)