Python infrastructure-as-code

Open-source Python projects categorized as infrastructure-as-code

Top 22 Python infrastructure-as-code Projects

infrastructure-as-code
  1. SaltStack

    Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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: Terraform Cookbook: Development Environment Recipe | dev.to | 2025-01-02

    Checkov: static analysis for IaC

  4. octoDNS

    Tools for managing DNS across multiple providers

  5. pytest-testinfra

    Testinfra test your infrastructures

  6. ggshield

    Find and fix 400+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.

    Project mention: Ask HN: How can we open-source a 7 year old SaaS codebase and build a community? | news.ycombinator.com | 2024-05-30

    You could just switch the existing repo(s?) to public. If secrets in the commits are a concern you can use stuff like GitGuardian (https://gitguardian.com)

  7. fixinventory

    Fix Inventory helps you identify and remove the most critical risks in AWS, GCP, Azure and Kubernetes.

    Project mention: Defenders think in lists. Attackers think in graphs. So attackers win | news.ycombinator.com | 2024-08-24

    There is also Fix Inventory, which is a graph-based security tool:

    https://github.com/someengineering/fixinventory

    I'm one of the people behind Fix Inventory. What scares a lot of developers away from graph-based tools is the graph query language. It has a steep learning curve, and unless you write queries every day, it's really cumbersome to learn.

    We simplified that with our own search syntax that has all the benefits of the graph, but simplified a few concepts like graph traversal.

  8. eNMS

    An enterprise-grade vendor-agnostic network automation platform.

  9. modules.tf-lambda

    Infrastructure as code generator - from visual diagrams created with Cloudcraft.co to Terraform

  10. collection_opnsense

    Ansible Collection to manage OPNSense firewalls using their API

  11. 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.

  12. hongbomiao.com

    A personal research and development (R&D) lab that facilitates the sharing of knowledge.

  13. 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

  14. webui

    Basic WebUI for using Ansible (by ansibleguy)

    Project mention: Basic WebUI for Using Ansible | news.ycombinator.com | 2025-01-08
  15. transible

    Convert existing cloud configuration to ansible playbooks

  16. paco

    Paco: Prescribed automation for cloud orchestration (by waterbear-cloud)

  17. sw_proxmox_mail_gw

    Role to install Proxmox Mail Gateway on a linux server

  18. collection_nftables

    Ansible modules to manage NFTables via libnftables

  19. infra_nftables

    Ansible Role to provision NFTables firewall

  20. 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.

  21. addons_nftables

    Ansible Role to provision Add-Ons for NFTables on Linux servers

  22. cdk-magento-webshop

    This is a CDK app to provision the required resources to run a flexible, scalable, and cost-effective Magento webshop on top of AWS.

  23. cdk-demo

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python infrastructure-as-code discussion

Log in or Post with

Python infrastructure-as-code related posts

  • Ask HN: How are you deploying your lambdas these days?

    2 projects | news.ycombinator.com | 6 Jun 2024
  • discussion forum for Grafana roles on Ansible Galaxy

    1 project | /r/grafana | 10 Dec 2023
  • Push the Green Button: Creating Event Gadgets with IoT and Serverless Architecture

    4 projects | dev.to | 22 Jun 2023
  • Terraform and Microservices

    3 projects | dev.to | 11 May 2023
  • Invoice granularity: Show different accounts/cost allocation tags on invoice

    1 project | /r/aws | 11 Apr 2023
  • Resoto | Graph-based Cloud Asset Inventory

    1 project | /r/u_Current_Doubt_8584 | 8 Apr 2023
  • Do we even need Infrastructure Visualization Tools?

    2 projects | /r/devops | 4 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 18 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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,281
2 checkov 7,277
3 octoDNS 3,232
4 pytest-testinfra 2,388
5 ggshield 1,702
6 fixinventory 1,626
7 eNMS 814
8 modules.tf-lambda 351
9 collection_opnsense 291
10 iambic 286
11 hongbomiao.com 223
12 grafana-ansible-collection 153
13 webui 108
14 transible 34
15 paco 33
16 sw_proxmox_mail_gw 12
17 collection_nftables 10
18 infra_nftables 7
19 cardano-node-role 3
20 addons_nftables 2
21 cdk-magento-webshop 1
22 cdk-demo 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?