steampipe-plugin-terraform
steampipe-plugin-terraform copied to clipboard
Fixed the Error: tfstate: runtime error: index out of range [0] with length 0 Closes #105
Integration test logs
Logs
N/A
Example query results
Results
> select * from tf_bucket.terraform_resource
+---------------------+------------------------+---------+--------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| name | type | mode | address | arguments | attributes >
+---------------------+------------------------+---------+--------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
| alternate | aws_region | data | aws_region.alternate | {"type":"aws_region"} | {"description":"US East (Ohio)","endpoint":"ec2.us-east-2.amazonaws.com","id":"us-east-2","name":"us-east-2"} >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| | | | | | >
| named_test_resource | google_compute_network | managed | google_compute_network.named_test_resource | {"type":"google_compute_network"} | {"auto_create_subnetworks":false,"delete_default_routes_on_create":false,"description":"Test network to validate integration test.","enable_ula_internal_ipv6":false,"gateway_>
| | | | | | >
| | | | | | >
| | | | | |