Closed thiagoalexandria closed 7 months ago
I'm also having this problem. Can anyone help?
@rodrigo-segui @thiagoalexandria Can you try to do a git pull with the latest code and see if this is fixed? If not please supply some sample source so I can try to reproduce the error. Thanks!
I'm facing the same error, @patrickchugh it generates the plan, reads it, but when it reaches the Conditional resource list stage, it fails with an error indicated in the issue:
Unhandled error: <class 'TypeError'>, unsupported operand type(s) for +: 'bool' and 'str', <traceback object at 0x108641880>
Here's the link to the repository with the code I'm testing.
@thiagoalexandria I fixed it and was able to get this to run when I tagged some subnets. Please download the latest code and try again.
Enriched graphviz dictionary:
{
"aws_instance.webserver": [
"aws_lb.elb"
],
"aws_lb.elb": [
"aws_alb.elb"
],
"aws_security_group.allow_http": [
"aws_instance.webserver",
"aws_lb.elb"
]
}
Output JSON Dictionary :
{
"aws_instance.webserver": [
"aws_lb.elb"
],
"aws_lb.elb": [
"aws_alb.elb"
],
"aws_security_group.allow_http": [
"aws_instance.webserver",
"aws_lb.elb"
]
}
Exporting graph object into file architecture.json
Completed!
Now it works, thanks a lot !
Problem Description
When running the terravision draw command in a local directory containing Terraform code, an unhandled error is triggered:
Unhandled error: <class 'TypeError'>, unsupported operand type(s) for +: 'bool' and 'str', <traceback object at 0x1065cab40>
Context
Command Executed: terravision draw Environment: Python 3.9.6 Terravision Version: 0.5 Terraform Version: v1.4.6
Steps to Reproduce
Access the directory with the Terraform code. Run the terravision draw command. Observe the mentioned error.
Expected Behavior
The terravision draw command was expected to execute correctly without generating errors related to unsupported operand types between data types.
Additional Notes