Skip to content

Commit

Permalink
Fixed a problem where new modifications was failing tests for #127
Browse files Browse the repository at this point in the history
  • Loading branch information
eerkunt committed Apr 13, 2020
1 parent 3e71f02 commit fd36fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform_compliance/extensions/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _mount_resources(self, source, target, ref_type):
'''
for source_resource in source:

if 'values' not in self.resources[source_resource]:
if 'values' not in self.resources.get(source_resource, {}):
continue
for parameter, target_resources in target.items():
for target_resource in target_resources:
Expand Down

0 comments on commit fd36fc7

Please sign in to comment.