Infrastructure management CLI using OpenTofu
Project description
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
- Initialize a new project:
infra init
- Create an environment:
infra env create dev
- 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 projectinfra env create <name>- Create a new environmentinfra env list- List all environmentsinfra create <module>- Create infrastructure from a moduleinfra destroy [module]- Destroy infrastructure
Requirements
- Python >= 3.8
- OpenTofu binary (default path:
~/.launchflow/bin/tofu)
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
infra_sdk-0.1.0.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infra_sdk-0.1.0.tar.gz.
File metadata
- Download URL: infra_sdk-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c4dcab0b35ac85a3a7b69c6785eb387a097e10198517c74541b0df4eaff8814
|
|
| MD5 |
427aecb8f318216cb9b2410974fd3691
|
|
| BLAKE2b-256 |
cae46acae1bdfeb0afaf866b84ae90acae43fc87afcb94d4164d404ba54e24d1
|
File details
Details for the file infra_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: infra_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88ee044d6f6fe9bbd3a2f806e066a2a8fc7e3a91a5995cd15ad94a3a51d989ed
|
|
| MD5 |
2767a405f3fb560f166233f45291089e
|
|
| BLAKE2b-256 |
bf545f2bb52d1f67aeb35778f7373e3dc13021c9e9a6903ee40e102c52308968
|