$npx skillfedfor your agent

terraform-local

Thin wrapper script to run Terraform against LocalStack

Worth itPyPI TestingReleased Apr 2026103.1K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — terraform_local-0.26.0-py3-none-any.whl
v0.26.0 · released 2026-04-13 · 3 runtime deps: localstack-client, python-hcl2, packaging

Yes. This is a well-maintained, actively developed tool with no security vulnerabilities, low install friction, and a clear use case for local Terraform testing. The permissive Apache 2.0 license poses no restrictions. Install it if you use Terraform and LocalStack together for local development or testing; skip it if you don't use LocalStack or don't test Terraform locally.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Terraform to be installed separately on your system; Python 3.x and pipx or a virtual environment for installation.
  • Low friction installation via pipx or venv.
  • Package is actively maintained with recent release on 2026-04-13, 321 GitHub stars, and no known vulnerabilities.

License · maintenance · safety

Apache License 2.0 (permissive) — Released under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.

last release 2026-04-13 (123 days) · last repo commit 2026-04-13 · 321 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,136 downloads/mo, #12,829 on PyPI

Verify before relying

# Install via pipx (recommended)
pipx install terraform-local

# Use tflocal command identically to terraform
tflocal plan
tflocal apply
  • Whether the package works with Terraform versions beyond those tested in development
  • Performance characteristics when handling large Terraform configurations or many AWS services
Same gist for agents: .md · .json

What it is and what it does

terraform-local is a thin wrapper that bridges Terraform and LocalStack, a local AWS emulation platform. It intercepts Terraform runs and injects a temporary override file that redirects all AWS provider endpoints to LocalStack's local API (typically http://localhost:4566), allowing you to test infrastructure-as-code locally without touching real AWS resources.

The package works by leveraging Terraform's override mechanism to inject provider configuration. It handles multiple AWS services, supports provider aliases, S3 backends with state locking, multi-account setups, and custom endpoint configuration through environment variables. It's designed to be a drop-in replacement for the terraform command in local development workflows, with the same CLI interface and argument passing.

Use it for

  • Test Terraform configurations locally before deploying to real AWS, reducing costs and iteration time.
  • Develop and validate infrastructure code in CI/CD pipelines using LocalStack as a mock AWS environment.
  • Debug Terraform modules and provider configurations without risking production or staging environments.
  • Work offline or in isolated networks by running a complete local AWS mock stack.
  • Set up multi-account Terraform testing scenarios using LocalStack's account emulation features.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a well-maintained, actively developed tool with no security vulnerabilities, low install friction, and a clear use case for local Terraform testing. The permissive Apache 2.0 license poses no restrictions. Install it if you use Terraform and LocalStack together for local development or testing; skip it if you don't use LocalStack or don't test Terraform locally.

Install

terraform-local on PyPI

Before you install

Low friction installation via pipx or venv. Package is actively maintained with recent release on 2026-04-13, 321 GitHub stars, and no known vulnerabilities. Depends on three stable runtime packages: localstack-client, python-hcl2, and packaging.

Requires Terraform to be installed separately on your system; Python 3.x and pipx or a virtual environment for installation.

License in practice

Released under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.

Quickstart

# Install via pipx (recommended)
pipx install terraform-local

# Use tflocal command identically to terraform
tflocal plan
tflocal apply

Verify before relying

  • Whether the package works with Terraform versions beyond those tested in development
  • Performance characteristics when handling large Terraform configurations or many AWS services

Package facts

LicenseApache License 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
localstack-clientpython-hcl2packaging
MaintenanceActively maintained 123 days since the last release
Last repo commit
First released
Downloads103,136 / month, #12,829 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing

Evidence: terraform_local-0.26.0-py3-none-any.whl

Tags

Capabilities
terraform localstack local testingterraform local aws provider overridelocalstack terraform wrapperterraform mock aws endpointslocal terraform developmentterraform localstack integrationterraform local testing tool
Topics
terraformlocalstackaws-testing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “terraform localstack local testing”

  • terraform-localA wrapper script that runs Terraform against LocalStack by…
  • localstack-extProvides extensions and additional functionality for LocalStack, a…
  • localstack-clientA Python client that wraps boto3 to redirect AWS API calls to a local…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pulumi-local · awscli-local · localstack-client · localstack · localstack-ext · terraform-compliance · moto-ext · localstack-twisted · python-terraform · tftest