mirror of
https://github.com/patrickchugh/terravision.git
synced 2026-05-09 08:25:25 +02:00
[GH-ISSUE #93] Unhandled error: <class 'KeyError'>, 'cidr_block', <traceback object at 0x7f48ac46a540> #43
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#43
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 @kk-rishang on GitHub (Dec 9, 2023).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/93
I am getting this error for
terravision draw --source $PWD@patrickchugh commented on GitHub (Dec 10, 2023):
Can you paste your block of code relating to subnets and VPCs here so I can try to reproduce the error?
@kk-rishang commented on GitHub (Dec 11, 2023):
@patrickchugh here is the repo: you can try for https://github.com/Rishang/demo-tf-1
@Manickz commented on GitHub (Dec 16, 2023):
I face the same error as welll .
@l-gatillon commented on GitHub (Dec 20, 2023):
I get the same issue
@patrickchugh commented on GitHub (Dec 20, 2023):
@Manickz @l-gatillon @kk-rishang Can you do a git pull on main branch and try again with the latest code?
@rraffaello commented on GitHub (Dec 27, 2023):
Hi all! I cloned the last version from main branch and it still raise the "unhandled error" exception for 'cidr_block' fields.
My script defines an aws_vpc_endpoint resource used for the db Secret rotation. In tfwrapper.py file (row 247) terravision tries to parse the aws_vpc_endpoint resource searching for the cidr_block values, but it doesn't find them.
This raises exception.
@patrickchugh commented on GitHub (Dec 27, 2023):
@kk-rishang @rraffaello It seems the program was detecting VPC endpoints as VPCs, I added a fix and tested it works. Please git pull the latest code and try again.
@patrickchugh commented on GitHub (Apr 30, 2026):
Hi @kk-rishang @rraffaello @kk-rishang @l-gatillon @Manickz Can I close this issue? The code base is now quite different from when you last used terravision. It would be great if you could have a quick look now at the latest version and tell me if there are any more issues.