- Reverted PR #28 while we work on ironing out edge cases
- Fixed missing gitpython dependency in setup.py
- Support for git modules - thanks @melbit-jonathanb
- Property value can be list - thanks @atward
- Updated to latest version of PyHCL - thanks @proffalken
- Adding ability to filter resources by property value - thanks @No-Signal
- Messed up the 2.3.0 release so re-releasing
- Removed all methods that were marked as deprecated in v2.0.0
- Improved test coverage
- Added functions to validate list contents - thanks @eredi93
- Fix multiline regex - thanks @eredi93
- Better string <-> boolean comparison in
should_equal
andshould_not_equal
- No real changes, just a code coverage version bump
- Fix all error messages to ensure that they provide the correct information. All error messages are now tested.
- Fix the should_have_properties and should_not_have_properties to work properly when given a string thats not in a list
- Resource matching done via a string will now work as a regex. Lists passed into
.resource
will work as before. - Regex matching is more strict, will automatically enclose strings with ^ and $ characters.
- Updated validation function names
- Fixed boolean:string comparison in
.should_equal()
and.should_not_equal()
- Re-added
.disable_variable_expansion()
as this function was unintentionally deleted.
- Rewrite of assertion code to split into different classes with objects that can chain together. This should result in tests that are easier to understand.
- Variables in strings are not expanded by default anymore. Use `.enable_variable_expansion()`` to expand variables.
- assert_* functions are deprecated, but can still be used.
- New error_if_property_missing() function will cause the validator to raise an exception if no matching properties were found in a resource.
- Attempt to calculate a variable value if it is enclosed in
upper()
orlower()
interpolation functions
- Fixed bug that caused asserts to throw errors when there were no "resource" configurations present in a terraform project
- Addition of new Asserts that validate Variable default values
- assert_variable_default_value_exists
- assert_variable_default_value_equals
- assert_variable_default_value_matches_regex
- Initial Release