Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →
Top 23 Python infrastructure-as-code Projects
-
SaltStack
Software to automate the management and configuration of infrastructure and applications at scale.
Of course, booting from a disk is not the only option. If you want to automate installs across servers - you have to boot from the network. That is something you could play around with, in GNS3 for example, using FAI or your own system based on SaltStack. You could skip the installation altogether, and use a Live Image, or a Thin Client.
-
Civic Auth
Simple auth for Python backends. Drop Civic Auth into your Python backend with just a few lines of code. Email login, SSO, and route protection built-in. Minimal config. Works with FastAPI, Flask, or Django.
-
checkov
Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
Project mention: Ditched Terraform for OpenTofu. Why Devs Everywhere Are Making the Same Move (cheatsheet included) | dev.to | 2025-06-19Checkov https://www.checkov.io A static analysis tool to scan infrastructure code for misconfigs, secrets, and best practice violations.
-
-
-
fixinventory
Fix Inventory helps you identify and remove the most critical risks in AWS, GCP, Azure and Kubernetes.
-
ggshield
Detect and validate 500+ types of hardcoded secrets with advanced checks. Use it as a pre-commit hook, GitHub Action, or CLI for proactive secret detection and security.
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Project mention: OpenWISP: Multi-device fleet management for OpenWrt routers | news.ycombinator.com | 2025-02-05
Maybe just go with ansible or similar: https://github.com/ansibleguy/collection_opnsense
-
modules.tf-lambda
Infrastructure as code generator - from visual diagrams created with Cloudcraft.co to Terraform
Project mention: OpenFLOW – Quickly make beautiful infrastructure diagrams local to your machine | news.ycombinator.com | 2025-06-30Cloudcraft[1][2] can do that with your cloud provider, AWS or Azure.
[1]: https://www.cloudcraft.co/
[2]: I’m part of the Cloudcraft team at DataDog, so obviously, I’m biased.
-
infrahub
Infrahub offers a central hub to manage the data, templates and playbooks that powers your infrastructure by combining the version control and branch management capabilities of Git with the flexible data model and UI of a graph database.
-
iambic
IAMbic is Version-Control for IAM. It centralizes and simplifies cloud access and permissions. It maintains an eventually consistent, human-readable, bi-directional representation of IAM in Git.
-
hongbomiao.com
A personal research and development (R&D) lab that facilitates the sharing of knowledge.
-
grafana-ansible-collection
grafana.grafana Ansible collection provides modules and roles for managing various resources on Grafana Cloud and roles to manage and deploy Grafana Agent and Grafana
-
-
-
-
-
-
-
-
Project mention: Show HN: I made a simple and sensible CloudFormation generator | news.ycombinator.com | 2025-01-31
-
cardano-node-role
Install Cardano Node as a systemd service and wrap it with Ansible to provide simplified Ops interface to mint tokens and assert certain state of the ledger.
-
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
Python infrastructure-as-code discussion
Python infrastructure-as-code related posts
-
What is an AWS CloudFormation Template?
-
Ask HN: How are you deploying your lambdas these days?
-
discussion forum for Grafana roles on Ansible Galaxy
-
Push the Green Button: Creating Event Gadgets with IoT and Serverless Architecture
-
Terraform and Microservices
-
Invoice granularity: Show different accounts/cost allocation tags on invoice
-
Resoto | Graph-based Cloud Asset Inventory
-
A note from our sponsor - Sevalla
sevalla.com | 31 Aug 2025
Index
What are some of the best open-source infrastructure-as-code projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | SaltStack | 14,745 |
2 | checkov | 7,817 |
3 | octoDNS | 3,427 |
4 | pytest-testinfra | 2,438 |
5 | fixinventory | 2,026 |
6 | ggshield | 1,827 |
7 | eNMS | 822 |
8 | ansible-opnsense | 374 |
9 | modules.tf-lambda | 353 |
10 | infrahub | 340 |
11 | iambic | 293 |
12 | hongbomiao.com | 245 |
13 | grafana-ansible-collection | 202 |
14 | runway | 173 |
15 | ansible-webui-v0 | 127 |
16 | transible | 35 |
17 | paco | 33 |
18 | sw_proxmox_mail_gw | 14 |
19 | ansible-collection-nftables | 13 |
20 | ansible-role-nftables | 9 |
21 | cfnlite | 4 |
22 | cardano-node-role | 3 |
23 | addons_nftables | 2 |