Automic VaultAutomic Vault

brew

terraform-local を Homebrew, Nix でインストール

terraform-local のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install terraform-local

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#terraform-local

nixpkgs package indexes · pkgs/by-name/te/terraform-local/package.nix · ソース: api.github.com

概要

パッケージ概要

CLI wrapper to deploy your Terraform applications directly to LocalStack

コマンドとエイリアス

  • tflocal
  • tflocal.bat

履歴

プロジェクトの歴史と使われ方

terraform-local provides `tflocal`, a wrapper that runs Terraform against LocalStack by temporarily configuring AWS provider endpoints to point at the local LocalStack API.

プロジェクトの歴史

The localstack/terraform-local repository was created on GitHub in March 2022. Its README describes a small wrapper script that uses Terraform's override mechanism to create a temporary `localstack_providers_override.tf` file, causing AWS provider endpoints to point to LocalStack, usually at `http://localhost:4566`.

The README's changelog starts at v0.1 and records a steady series of practical compatibility fixes: custom endpoints, `-chdir` support, provider aliases, local S3 backend handling, AWS provider version compatibility, multi-account support, semantic versioning, `AWS_ENDPOINT_URL`, dry-run behavior, additional override locations, and Terraform AWS provider 6 beta support.

採用の歴史

terraform-local's adoption is tied to LocalStack's broader use as a local AWS emulator. Developers install `tflocal` when they want Terraform plans and applies to provision local AWS-like resources without rewriting normal Terraform modules for a test environment.

The input package facts list Homebrew and Nix packaging, while the official README recommends pipx and also documents virtualenv installation. That split is typical for Python CLIs that are useful both to Python package users and to infrastructure engineers who prefer system package managers.

使われ方

The main usage model is intentionally simple: run `tflocal` with the same arguments one would pass to `terraform`. The wrapper writes temporary provider override files, sets LocalStack service endpoints, and then invokes the configured Terraform command.

The README exposes most behavior through environment variables such as `DRY_RUN`, `TF_CMD`, `AWS_ENDPOINT_URL`, `S3_HOSTNAME`, `USE_EXEC`, service-specific endpoint variables, `AWS_DEFAULT_REGION`, `AWS_ACCESS_KEY_ID`, `SKIP_ALIASES`, and `ADDITIONAL_TF_OVERRIDE_LOCATIONS`.

パッケージ好きにとっての重要性

terraform-local is package-nerd significant because it is deliberately a wrapper rather than a fork or provider. It preserves the user's Terraform CLI muscle memory while interposing just enough endpoint configuration to make LocalStack work as a local target.

For users curating developer machines, CI images, or reproducible test environments, `tflocal` is the installable bridge between Terraform's upstream binary and LocalStack's AWS emulation.

タイムライン

  • 2022: GitHub repository created.
  • 2022: README changelog records v0.1 as the initial release.
  • 2023: Changelog entries added provider aliases, S3 backend support, and multi-account support.
  • 2024: Changelog records semantic versioning and `AWS_ENDPOINT_URL` support in v0.16.0.
  • 2025: Changelog records Terraform AWS provider 6.0.0-beta2 compatibility in v0.23.1.
  • 2026: Repository remained active during research.

Related projects

  • The official documentation and README tie terraform-local to LocalStack, Terraform, the Terraform AWS provider, Terraform override files, and local S3 backend workflows.

セキュリティ状態

保護ツール対応はまだ見つかっていません

terraform-local に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
tflocalcliグローバル実行可能ファイル
tflocal.batcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.26.0
マネージャ更新日2026-05-15
ローカルデータOK
上流not checked
検出された最新未検出

https://localstack.cloud/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:terraform-local
バージョン0.26.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/terraform-local
ホームページhttps://localstack.cloud/
リポジトリhttps://github.com/localstack/terraform-local
上流ドキュメントhttps://docs.localstack.cloud/aws/integrations/infrastructure-as-code/terraform
ライセンスApache-2.0
ソースアーカイブhttps://files.pythonhosted.org/packages/b9/f7/7d128b483dfd03d178c37eedc8c9329d7ee0abc4781bcfe5a0069ee63d79/terraform_local-0.26.0.tar.gz
最終更新2026-05-15T11:14:19Z
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-local
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

terraform-local

nix profile install nixpkgs#terraform-local
  • normalized package name match
  • 一致条件: Terraform Local
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-local/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment