Skip to content

Releases: terraform-compliance/cli

0.5.5

01 Mar 18:49
9bf612a
Compare
Choose a tag to compare
Upgraded radish-bdd, added a new untaggable resource. (#81)

0.5.4

15 Feb 18:42
Compare
Choose a tag to compare
New Feature - Security Group Rule It must only have condition (#76)

* Security Group Rule It Must Only Have
* Implement and align test cases for modified function code
* Implemented new custom_type for 'only' and 'not'.
* Updated README with the new condition implemented.

0.5.3

06 Feb 10:43
55223a6
Compare
Choose a tag to compare
Fixed CIDR definition in the steps  (#75)

* Fixed CIDR definition in the steps where '0.0.0.0/0' was translated to '0' which was wrong.

* Added few more ANY definitions to the steps to fix future potential problems.

0.5.2

05 Feb 21:34
8de2fdd
Compare
Choose a tag to compare
New Feature: Port Ranges can be defined within SG Scenarios (#73)

* Changed steps.py for better PEP8 Compatibility

* Added another example feature for VPC Peering

* Added an example scenario where port ranges are used within Security Groups

* Refactored some of the methods where a port range (with '-') can be used instead of a singular port.

* Fixed few of left overs that was failing the tests for PEP8 Conversion

* Fixed unit tests due to PEP8 compatibility

* Bumped patch version by 1.

* Fixed some of the typos on both examples and step definitions

* Fixed a step definition decorator after PEP8 compatibility refactoring

* Updated README.md for usage of port ranges.

0.5.1

24 Jan 21:38
30c7b2a
Compare
Choose a tag to compare
Merge pull request #64 from eerkunt/Taggable-resources

Taggable Resources & New namings

0.5.0

19 Jan 20:18
156f391
Compare
Choose a tag to compare
Merge pull request #60 from eerkunt/feature/skipping

* Updated radish-bdd to 0.10.0 (from 0.8.6) and added colorful to the requirements.
* Added skip() to the mocks.
* Added skip_step() helper function that will skip a step.
* Updated steps a bit to be more compatible with skipping a step.

* Updated GIVEN, WHEN, THEN step definitions and make it have a better structure to understand.

* Updated all example features based on new Step definitions.

* Bumped MINOR version by 1.

* Fixed a problem where a variable in terraform might be set but without a default value ( or coming from somewhere else )

* Added a new function in radish_bdd extension to write stdout messages

* Optimised steps a bit more to give more informational mesages upon skipping or filtering out some resources. Also now whenever some of the resources doesnt have given property, steps will filter that out and continue with the ones that does have that property.

* Added an exception where IPNetwork might be get confused if you pass a string variable instead.

* Updated mocks and unit tests based on the changed refactoring

* Added few more conditions to the steps

* Fixed some of the formatting issues on write_stdout()

* Added few more icons for look'n feel on INFO and WARNING messages

* Fixed some of the mocks and steps about the propertylist

* Fixed some of the unit tests about the main tests

* Updated some of the ambiguous step conditions to WHEN and THEN.

* Updated README.md explaining how the steps are working and which ones are really useful.

* Added unittests for radish bdd extension.

* Modified few blank spaces for better PEP8 compatibility.

* Fixed a typo in one of the steps

0.4.13

12 Jan 21:35
be1455e
Compare
Choose a tag to compare
Bug/issue 53 (#56)

* parse_hcl_files will also expand variables if there are still in after the hcl parse.

* Bumped patch version by 1

* Modified the radish step to inject world config to parse_hcl_values()

* Modified parse_hcl_values unit tsest where we now push the world config

* Modified main steps test where we need to mock the world config with a MockedWorld

0.4.12

12 Jan 12:53
0510a6b
Compare
Choose a tag to compare
Bug/issue 53 (#55)

* Switched to ast.literal_eval() instead of using eval()
* Handled conditions in change_value_in_dict(). Reverted back to eval(). This will be fixed later.
* Bumped patch version by 1.

0.4.11

11 Dec 11:47
36036d5
Compare
Choose a tag to compare
parse_hcl_value() improvements on map values on HCL (#50)

* Added an additional cause in parse_hcl_value() where HCL value is actually a map/dictionary.
* Bumped patch version by 1

0.4.10

10 Dec 20:48
2dba177
Compare
Choose a tag to compare
Fixes a problem where tags are not working properly (#49)

* Added new function parse_hcl_value()
* Changed "`verb` `condition` contain `something`" step to parse hcl values more accurately.
* Bumped up patch version by 1.