Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 terracognita

查看 terracognita 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terracognita

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#terracognita

nixpkgs package indexes · pkgs/by-name/te/terracognita/package.nix · 来源: api.github.com

概览

软件包摘要

Reads from existing Cloud Providers and generates Terraform code

命令和别名

  • terracognita

历史

项目历史与用法

TerraCognita is Cycloid's reverse-Terraform tool: it reads existing cloud infrastructure and generates Terraform HCL and/or Terraform state. Its history tracks the practical DevOps problem of bringing already-existing AWS, Google Cloud, AzureRM, and vSphere resources under infrastructure-as-code management.

项目历史

The repository was created in February 2019. In the README, Cycloid explains that infrastructure as code was part of the company's practice and that TerraCognita was built to help customers convert existing cloud infrastructure into Terraform code automatically, relying on community Terraform providers.

Early releases expanded the importer beyond its initial AWS-oriented base. Release notes show v0.3.0 adding multiple Google resources, v0.4.0 adding AzureRM support and targeted import, and v0.6.0 adding AWS profile/config support, session-token authentication, interpolation controls, HCL2 work, and Homebrew support.

Later development focused on keeping pace with provider APIs and larger resource catalogs. The changelog documents broad Azure additions, Terraform 1.1.9 and provider updates in the 0.7.x line, vSphere support and many GCP/AWS resources in v0.8.0, and AzureRM fixes and additions through v0.8.4.

采用历史

The README documents binary releases, source builds, AUR packages, Homebrew installation, and Docker usage through the `cycloid/terracognita` image. It also describes InfraImport inside Cycloid as the visual representation of TerraCognita, making the CLI both a standalone package and part of Cycloid's platform workflow.

使用方式

The main CLI form is `terracognita [TERRAFORM_PROVIDER] [--flags]`, where users choose a provider such as `aws`, pass provider-specific flags, and emit Terraform HCL, modules, and/or state files. The README documents include/exclude filters by Terraform resource name, module generation, Docker execution with cloud credentials passed through the environment, and follow-up `terraform init` and `terraform plan` checks.

为什么软件包爱好者会关心

For infrastructure package nerds, TerraCognita is notable because it packages a moving target: it embeds assumptions about Terraform, provider versions, cloud SDK behavior, generated HCL, and state output. Package managers expose it as a single CLI, but maintainers care about the bundled provider matrix and how quickly it tracks Terraform ecosystem churn.

时间线

  • 2019: GitHub repository created.
  • 2019: v0.1.6 release added version reporting, CI/CD, prebuilt binaries, and automated GitHub/Docker releases.
  • 2019: v0.2.0 moved TFState output to Terraform 0.12 format.
  • 2020: v0.4.0 added AzureRM provider support.
  • 2020: v0.6.0 added AWS profile/config support, session-token authentication, HCL2-related fixes, and Homebrew support.
  • 2022: v0.8.0 added vSphere provider support and expanded AWS/GCP/Azure resource coverage.
  • 2023: v0.8.4 added AzureRM resources and fixes for generated HCL maps and cyclic dependencies.

Related projects

  • The README lists TerraCognita alongside Cycloid's InfraMap, which reads Terraform state or HCL to generate provider-specific graphs, and TerraCost, a Terraform-oriented cloud cost estimation CLI.
  • It is adjacent to Terraform import workflows and tools that inventory existing cloud accounts before migrating to infrastructure as code.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 12 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
terracognitacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.8.4
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.8.4

https://github.com/cycloidio/terracognita

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:terracognita
版本0.8.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terracognita
主页https://github.com/cycloidio/terracognita
仓库https://github.com/cycloidio/terracognita
上游文档https://github.com/cycloidio/terracognita#readme
许可证MIT
源码归档https://github.com/cycloidio/terracognita/archive/refs/tags/v0.8.4.tar.gz
构建依赖go
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterracognita
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

terracognita

nix profile install nixpkgs#terracognita
  • normalized package name match
  • 匹配方式:Terracognita
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terracognita/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