mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #140] failing with KeyError: 'module.rds.aws_security_group.rds_sg #80
Labels
No labels
bug
enhancement
enhancement
good first issue
good first issue
good first issue
pipeline
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/terravision#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VecnaLarry on GitHub (Apr 30, 2025).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/140
running using "terravision draw --source . --workspace staging --varfile s/env-variables.tfvars --debug"
Checking for additional links between 365 resources.. module.rds.aws_db_instance.db["bl-camunda-be-rds"][bl-camunda-be-rds] --> module.rds.aws_db_subnet_group.rds_subnet_group Traceback (most recent call last): File "/other/tools/terravision/terravision", line 289, in <module> cli( File "/home/lprikockis/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/lprikockis/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/lprikockis/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/lprikockis/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/lprikockis/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/other/tools/terravision/terravision", line 207, in draw tfdata = compile_tfdata(source, varfile, workspace, debug, annotate) File "/other/tools/terravision/terravision", line 72, in compile_tfdata tfdata = graphmaker.consolidate_nodes(tfdata) File "/other/tools/terravision/modules/graphmaker.py", line 208, in consolidate_nodes resdata = tfdata["meta_data"][resource] KeyError: 'module.rds.aws_security_group.rds_sg["bl-dynaview-rds"][bl-dynaview-rds]'Seems like the code it's having trouble with is this the last part of this: