Skip to main content

Infra SDK

A powerful CLI tool that simplifies infrastructure management using OpenTofu (a Terraform fork).

Features

  • Environment-based infrastructure management
  • Interactive module selection
  • State management with SQLite
  • Project configuration with infra.yaml
  • Support for multiple infrastructure modules

Installation

pip install infra-sdk

Quick Start

  1. Initialize a new project:
infra init
  1. Create an environment:
infra env create dev
  1. Create infrastructure from a module:
infra create path/to/module

Project Structure

After initialization, your project will have this structure:

your-project/
├── infra.yaml          # Project configuration
└── .infra/            # State directory (configurable)
    ├── state.db       # SQLite database
    ├── states/        # OpenTofu state files
    └── temp/          # Temporary module copies

Commands

  • infra init - Initialize a new project
  • infra env create <name> - Create a new environment
  • infra env list - List all environments
  • infra create <module> - Create infrastructure from a module
  • infra destroy [module] - Destroy infrastructure

Requirements

  • Python >= 3.8
  • OpenTofu binary (default path: ~/.launchflow/bin/tofu)

License

MIT License

Metadata

Release files for infra-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for infra-sdk 0.1.0
File Size Uploaded
infra_sdk-0.1.0.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for infra-sdk 0.1.0
File Interpreter ABI Platform
infra_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / infra_sdk-0.1.0.tar.gz

Download URL infra_sdk-0.1.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2c4dcab0b35ac85a3a7b69c6785eb387a097e10198517c74541b0df4eaff8814
BLAKE2b-256 checksum
How to use checksums
cae46acae1bdfeb0afaf866b84ae90acae43fc87afcb94d4164d404ba54e24d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release files / infra_sdk-0.1.0-py3-none-any.whl

Download URL infra_sdk-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88ee044d6f6fe9bbd3a2f806e066a2a8fc7e3a91a5995cd15ad94a3a51d989ed
BLAKE2b-256 checksum
How to use checksums
bf545f2bb52d1f67aeb35778f7373e3dc13021c9e9a6903ee40e102c52308968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page