Skip to content

Commit

Permalink
Merged with master
Browse files Browse the repository at this point in the history
  • Loading branch information
eerkunt committed Oct 30, 2019
2 parents 53040e0 + 341de2b commit 51fe5a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* Fixed a problem where resource names were reported wrong in some failures. ([#171](https://github.com/eerkunt/terraform-compliance/issues/171))
* Fixed a problem where in some cases `teraform-compliance` where giving `AttributeError: 'NoneType' object has no attribute 'get'` exception. ([#172](https://github.com/eerkunt/terraform-compliance/issues/172))
* Supporting multiple provider or providers aliases. ([#173](https://github.com/eerkunt/terraform-compliance/issues/173))
* Filtering steps are now performing case insensitive matching.
* Improved error messaged on steps doing math operations.

## 1.0.52 (2019-10-29)
* Fixed a problem where resource mounting were causing a issues on `resources that support tags`. ([#168](https://github.com/eerkunt/terraform-compliance/issues/168))
Expand Down
9 changes: 8 additions & 1 deletion tests/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,11 @@ def __init__(self):
}
self.configuration = {
'providers' : {
'some_provider': 'some_provider_value'
'some_provider.some_provider_alias': {
'name': 'some_provider',
'alias': 'some_provider_alias',
'some_provider': 'some_provider_value'
}
}
}

Expand All @@ -315,6 +319,9 @@ def find_resources_by_type(self, resource_type):
return [value]

def get_providers_from_configuration(self, provider_type):
if provider_type == 'some_provider':
return ['some_provider']

return []


Expand Down

0 comments on commit 51fe5a8

Please sign in to comment.