[0.9.0] - 2020-11-23
This release requires Python 3.6 or later, and Terraform 0.12 or later.
Be aware of embedded variable bugfix, which could break workarounds.
Added
- Automatically push of built tags to pypi
- Created
terrascript.Terrascript.__iter__()
method for iterating over resources, data sources, etc. (issue #98). - Make target and code to fail builds unless python code format passes Black
- Provider
google-beta
- Release instruction for documentation
- RTD theme no longer bundled with Sphinx added as dev requirement
Fixed
- Documentation generation, tests and examples cleaned up
- Missing dev requirement Black added
- Re-introduced
terrascript.Terrascript.update()
method (issue #98). - String interpolation of variable should now properly result in a var.name reference (issue #109)
- terrascript module should now pass pep8 validation and have no lint errors
- Tool for generating providers now outputs code (almost) compliant with black
Changed
- All Python code is now automatically formatted using Black.
- Code for providers updated to conform with black
- Contributors are now sorted in alphabetical order
- Documentation for creating releases are now updated to reflect expected flow
- Documentation link from readme now points toward develop build on readthedocs.io to avoid 404
- Documentation on variable usage updated to reflect changes in issue #109
- Makefiles cleaned up, and help target contents now dynamically generated from comments
- Requirements files are now sorted alphabetically and duplicate entries are removed
- Terraform version supported updated from 0.12.15-19 to 0.12.29 + 0.13.4-5
- Updated code for providers generated
Deleted
- Python 3.5 no longer supported as the official support are dropped: https://devguide.python.org/#status-of-python-branches
Deprecated
- Individual modules for each provider (Example:
terrascript.aws.r
) are now deprecated in favour of
single modules as added in release 0.8.0.