Skip to main content

tfquery: Run SQL queries on your Terraform infrastructure

·1 min

Have you ever tried analyzing a Terraform environment with thousands of cloud resources for security and DevOps? It used to be hard, until now!

I’m open-sourcing my newest project, tfquery: a framework that allows running SQL queries on Terraform code. It saved me dozens of hours in analysis.

tfquery helps answer questions that are hard to answer about your infrastructure-as-code. It allows querying resources and analyzing their configuration using a SQL-powered framework.

I built it from a real-world problem where I needed to understand an extremely large Terraform environment. It has been beneficial in making work easier.

This is a starting point for the project. Feel free to read more at the GitHub repository.

GitHub Repository: https://github.com/mazen160/tfquery #