Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 terraform-local

查看 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 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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