Skip to content

Commit

Permalink
Merge pull request #107 from alphagov/split-workspaces
Browse files Browse the repository at this point in the history
Fix diff generator not working with new separate workspaces
  • Loading branch information
samsimpson1 authored Sep 4, 2024
2 parents 650755f + 5c11b34 commit e0bf949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diff-generator/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

def find_vcls(plan):
vcls = {}
before = plan['prior_state']['values']['root_module']['child_modules']
after = plan['planned_values']['root_module']['child_modules']
before = plan['prior_state']['values']['root_module']
after = plan['planned_values']['root_module']

for module in before:
for resource in module['resources']:
Expand Down

0 comments on commit e0bf949

Please sign in to comment.