Python infrastructure-as-code

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

Top 21 Python infrastructure-as-code Projects

  • SaltStack

    Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:

    Project mention: Salt issue on FreeBSD | | 2023-02-11
  • 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 Security Best Practices | | 2023-03-21

    We use for this, it's very simple to get started with and works really well as PR quality gate

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • octoDNS

    Tools for managing DNS across multiple providers

    Project mention: OctoDNS: Tools for managing DNS across multiple providers | | 2023-03-08
  • pytest-testinfra

    Testinfra test your infrastructures

    Project mention: Help creating a custom TestInfra module | | 2022-10-24

    GitHub: pytest-dev/pytest-testinfra - Issue #660

  • resoto

    Resoto creates an inventory of your cloud ☁️, provides deep visibility 👀, and reacts to changes in your infrastructure 🌐.

    Project mention: How much does Discovery really cost? | | 2023-02-17
  • ggshield

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

    Project mention: What do i tell him? | | 2023-03-25

    I believe you'll get all the information you need on their website

  • eNMS

    An enterprise-grade vendor-agnostic network automation platform.

    Project mention: Front-End GUI for Ansible Playbooks - Network Automation? | | 2022-11-30

    Other less common free options include and

  • SaaSHub

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


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

    Project mention: Auto architecture diagram of AWS | | 2023-03-14 my company uses this and it really works well

  • terraformize

    Apply\Destory Terraform modules via a simple REST API endpoint.

  • collection_opnsense

    Ansible Collection to manage OPNSense firewalls using their API

    Project mention: Ansible Management - IPSec available | | 2023-03-25

    Repository | Documentation

  • paco

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

  • transible

    Convert existing cloud configuration to ansible playbooks

    Project mention: The Bullhorn #72 (Ansible Newsletter) | | 2022-09-02

    Let me share with you "Transible" - the tool which converts your cloud to Ansible playbooks, with Openstack and Amazon AWS EC2 & VPC currently supported. Try it and generate Ansible playbooks from your cloud infrastructure. More details in this Medium article and the repository is:

  • grafana-ansible-collection

    grafana.grafana Ansible collection provides modules for managing various resources on Grafana Cloud

    Project mention: The Bullhorn #78 (Ansible Newsletter) | | 2022-10-13

    The Ansible Collection Grafana has started a discussion on Github around the possibility to merge with the recently created collection for Grafana Cloud (by Grafana Labs).

  • sw_proxmox_mail_gw

    Role to install Proxmox Mail Gateway on a linux server

    Project mention: Proxmox Mail Gateway Setup using Ansible | | 2022-08-15
  • 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.

  • djazure

    The Django on Azure Template automates the deployment of a Django application to Azure through custom management commands, Terraform, and GitHub Actions.

    Project mention: Using a dockerized App | | 2023-03-26
  • 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.

  • infra_nftables

    Ansible Role to provision NFTables firewall

    Project mention: NFTables Ansible Role & Collection | | 2023-01-21

    NFTables Base-Role:

  • collection_nftables

    Ansible modules to manage NFTables

    Project mention: NFTables Ansible Role & Collection | | 2023-01-21


  • cdk-demo

    Project mention: IaC management on AWS cloud environment with CDK (pt. 1) | | 2022-08-01

    Our goal is to create the infrastructure with CDK. You can clone the project related to this series from then or follow the following steps by hand:

  • addons_nftables

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

    Project mention: NFTables Ansible Role & Collection | | 2023-01-21

    Role to install Add-Ons: (DNS Resolution, IP-Lists)

  • SaaSHub

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

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). The latest post mention was on 2023-03-26.

Python infrastructure-as-code related posts


What are some of the best open-source infrastructure-as-code projects in Python? This list will help you:

Project Stars
1 SaltStack 13,125
2 checkov 5,413
3 octoDNS 2,631
4 pytest-testinfra 2,183
5 resoto 1,308
6 ggshield 1,266
7 eNMS 746
8 335
9 terraformize 140
10 collection_opnsense 97
11 paco 32
12 transible 25
13 grafana-ansible-collection 19
14 sw_proxmox_mail_gw 7
15 cardano-node-role 3
16 djazure 2
17 cdk-magento-webshop 1
18 infra_nftables 1
19 collection_nftables 1
20 cdk-demo 0
21 addons_nftables 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives