Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Devops Exercises | 43,460 | 4 days ago | 14 | other | Python | |||||
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions | ||||||||||
Steampipe | 5,281 | 3 | 6 hours ago | 352 | September 20, 2022 | 245 | agpl-3.0 | Go | ||
Use SQL to instantly query your cloud services (AWS, Azure, GCP and more). Open source CLI. No DB required. | ||||||||||
Terraform Google Sql Db | 229 | 2 days ago | 33 | apache-2.0 | HCL | |||||
Creates a Cloud SQL database instance | ||||||||||
Terraform Google Sql | 86 | 2 months ago | apache-2.0 | Go | ||||||
Terraform modules for deploying Google Cloud SQL (e.g. MySQL, PostgreSQL) in GCP | ||||||||||
Citrix Vad Lab | 55 | 6 months ago | 1 | PowerShell | ||||||
Build a Citrix Virtual Apps and Desktop environment with Ansible and Terraform | ||||||||||
Devops Books | 25 | 15 days ago | mit | |||||||
Curated DevOps Books | ||||||||||
Terraform Provider Mssql | 24 | 6 months ago | 15 | mit | Go | |||||
Terraform provider for Microsoft SQL Server | ||||||||||
Steampipe Plugin Terraform | 21 | 2 months ago | 7 | February 14, 2022 | 1 | apache-2.0 | Go | |||
Use SQL to instantly query resources, data sources and more from Terraform code. Open source CLI. No DB required. | ||||||||||
Azure Vdc | 18 | 10 months ago | mit | JavaScript | ||||||
Automated VDC on Azure | ||||||||||
Steampipe Mod Terraform Aws Compliance | 16 | 6 months ago | 2 | apache-2.0 | HCL | |||||
Run compliance and security controls to detect Terraform AWS resources deviating from security best practices prior to deployment. |
Use SQL to query data from Terraform configuration files.
Install the plugin with Steampipe:
steampipe plugin install terraform
Configure your config file to include directories with Terraform configuration files. If no directory is specified, the current working directory will be used.
Run steampipe:
steampipe query
Query all resources in your Terraform files:
select
name,
type,
jsonb_pretty(arguments) as args
from
terraform_resource;
> select name, type, jsonb_pretty(arguments) as args from terraform_resource;
+------------+----------------+--------------------------------------------+
| name | type | args |
+------------+----------------+--------------------------------------------+
| app_server | aws_instance | { |
| | | "ami": "ami-830c94e3", |
| | | "tags": { |
| | | "Name": "ExampleAppServerInstance" |
| | | }, |
| | | "instance_type": "t2.micro" |
| | | } |
| app_volume | aws_ebs_volume | { |
| | | "size": 40, |
| | | "tags": { |
| | | "Name": "HelloWorld" |
| | | }, |
| | | "availability_zone": "us-west-2a" |
| | | } |
| app_bucket | aws_s3_bucket | { |
| | | "acl": "private", |
| | | "tags": { |
| | | "Name": "Test bucket", |
| | | "Environment": "Dev" |
| | | }, |
| | | "bucket": "my-app-bucket" |
| | | } |
+------------+----------------+--------------------------------------------+
Prerequisites:
Clone:
git clone https://github.com/turbot/steampipe-plugin-terraform.git
cd steampipe-plugin-terraform
Build, which automatically installs the new version to your ~/.steampipe/plugins
directory:
make
Configure the plugin:
cp config/* ~/.steampipe/config
vi ~/.steampipe/config/terraform.spc
Try it!
steampipe query
> .inspect terraform
Further reading:
Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.
help wanted
issues: